02 Exchange Profile
02 Exchange Profile
The Exchange Profile is an XML document, stored in the main database of the Exchange Infrastructure,
that contains the parameters that define some basic technical settings of the XI. Most of these parameters
are initialized automatically during the installation phase, but in some cases the administrator may need to
maintain them.
For instance, business systems need to retrieve the location of the Integration Builder for Proxy
Generation. This information is stored in the Exchange Profile, and accessed via an RFC call.
The Exchange Profile is accessed by pointing a browser to the URL:
http://<host>:<port>/exchangeProfile
Where <host> and <port> refers to the Integration Server host and its java port. You must supply a valid
user name and password (A user in J2EE security role administer is required. By default this J2EE role
is mapped to SAP role SAP_XI_ADMINISTRATOR_J2EE on SAP Web AS 6.40). This URL
provides a web-based interface for editing the exchange profile.
Exchange Profile Actions
Export Reset
Exchange Locked
Profile Exchange
Settings To Profile
File Entries
After logging on to the Exchange Profile URL, the administrator can perform the following actions in the
Exchange Profile maintenance interface:
y XI Profile: Maintain configuration settings in the Exchange Profile.
y Export: Export the Exchange Profile to a local file.
y Import: Perform the (initial) import of the file to the database.
y Reset Lock: Reset locked Exchange Profile entries.
y Connection: Maintain the connection parameters (host, system number, client, user, password,
language) for the Integration Server for connection to the System Landscape Directory.
Importing the Exchange Profile
The Exchange Profile settings are initially stored in an xml file (created during installation); these must be
loaded into the database after installation.
On your SAP Integration server host, open the following URL:
http://<J2EE_host>:<J2EE_Port>/exchangeProfile
Logon as XISUPER with the appropriate password.
Choose Connection; The Server Settings page appears
Enter the required information for the SAP Exchange Infrastructure host (Use the logon information of
user XILDUSER).
Choose Set. You are returned to the Exchange Profile page.
Choose Import. You are taken to the Import Profile page.
Choose Browse and select the following file:
/usr/sap/<SID>/SYS/global/exchange_profile.xml
Choose Import Data, and the profile will be loaded into the database.
Note: As the file exchange_profile.xml contains secure information like passwords, it is highly
recommend to delete the file after importing or to save it by using high security standards, such as
encryption.
Exporting the Exchange Profile
An Administrator can save a local XML copy of the Exchange Profile. This gives you a backup of the file
in case it ever needs to be reloaded. For this reason, export the file every time you change settings. From
the Exchange Profile screen, choose Export.
In the Export screen, click the Export Data button; you will be prompted to save or open the (zipped)
copy of the file. This can now be opened and viewed at the local computer.
After the export, click on Exchange Infrastructure Profile to return to the Exchange Profile maintenance
screen.
Note: As the file exchange_profile.xml contains secure information like passwords, it is highly
recommend to delete the file after exporting or save it by using high security standards, such as
encryption.
Maintaining Exchange Profile Settings
Use the link Connection to connect to the main database of the Exchange Infrastructure. Enter the RFC
connect parameters to the Integration Server (as explained earlier). After the connection parameters are
set, the profile main page is displayed again, now showing the database content as a tree structure.
Individual parameters can now be selected from the left-hand pane, and edited on the right.
After any modification, the integration server will have to be restarted in order for the changes to take
effect.
Most of the parameters are in fact for SAP internal use only, and therefore should not be changed during a
customer installation. Some of the relevant settings for customer installations are discussed on the
following slides.
Exchange Profile Settings (I)
Connections (I)
com.sap.aii.connect.repository.name Connection parameters of the repository server:
1. Host name
com.sap.aii.connect.repository.httpport 2. HTTP port number
3. HTTPS port number (optional)
com.sap.aii.connect.repository.httpsport 4. RMI port number (used for communication with
the WebStart Client)
com.sap.aii.connect.repository.rmiport
com.sap.aii.connect.directory.name
com.sap.aii.connect.directory.httpport
Connection parameters of the directory server
com.sap.aii.connect.directory.httpsport
com.sap.aii.connect.directory.rmiport
com.sap.aii.connect.landscape.name
Connection parameters of the System Landscape
Directory server (listening for WBEM requests).
com.sap.aii.connect landscape.httpport WBEM is the communication standard under CIM.
They are both defined by the Distributed
com.sap.aii.connect landscape.httpsport Management Task Force (see www.dmtf.org).
After any modification, the integration server will have to be restarted in order for the changes to take
effect.
For full details, see the SAP Exchange Infrastructure 3.0 Configuration Guide, available at
http://service.sap.com/instguides.
Exchange Profile Settings (II)
Connections (II)
com.sap.aii.connect.rwb.name
Connection parameters of the
com.sap.aii.connect.rwb.httpport Runtime Workbench.
com.sap.aii.connect.rwb.httpsport
com.sap.aii.connect.rwb.r3.sysnr Connection parameters for the ABAP
com.sap.aii.connect.rwb.r3.client part of the Runtime Workbench.
com.sap.aii.connect.integrationserver.name
Connection parameters of the
com.sap.aii.connect.integrationserver.httpport
Integration Server.
com.sap.aii.connect.integrationserver.httpsport
com.sap.aii.connect.integrationserver.r3.httpport
com.sap.aii.connect.integrationserver.r3.httpsport
Connection parameters for the ABAP
com.sap.aii.connect.integrationserver.r3.sysnr part of the Integration Server.
com.sap.aii.connect.integrationserver.r3.client
After any modification, the integration server will have to be restarted in order for the changes to take
effect.
For full details, see the SAP Exchange Infrastructure 3.0 Configuration Guide, available at
http://service.sap.com/instguides.
com.sap.aii.connect.secure_connections
Basically the parameter is a comma-separated list of use cases. Currently there are only two use cases:
y Messaging: Internal transport of payload messages between XI components (for example, between the Integration Server and
adapters).
y All: Includes all communications.
If only the use case is given, the setting applies to all components in the XI landscape. It is also possible to restrict the selection to
specific XI components by adding a list of SLD instance names in parentheses after the use case. In this case, the setting only
applies for communications which involve one of the listed instances.
Example 1: com.sap.aii.connect.secure_connections = messaging
All components use secure communication for messaging.
Example 2: com.sap.aii.connect.secure_connections =
No secure communication is used (only standard HTTP); this is the default setting.
Example 3: com.sap.aii.connect.secure_connections = messaging, all(af.BXI.pwdf0591, af.Y6D.ld0050)
Secure communication is used for messaging (on all systems) and for all connections from or to the adapters on system
BXI/pwdf0591 and Y6D/ld0050.
The SLD instance name of the Integration Server uses the system number instead of the system ID as <SID>. In addition to
setting the parameter secure_connections, you also have to configure the HTTPS ports of the involved components in the
Connections section of the exchange profile (see preceding slides).
After any modification, the integration server will have to be restarted in order for the changes to take effect.
Integration Builder Settings (I)
JCo connection from the J2EE engine to "its" R3 instance (used by the locking service):
com.sap.aii.ib.server.connect.webas.r3.client SAP client Filled with "000" during
installation.
For parameters relating to the JCo connection from the J2EE engine to its R/3 instance, see the associated JCo
documentation of the related proeperties (i.e., jco.client.client, jco.client.ashost, and jco.client.sysnr).
After any modification, the integration server will have to be restarted in order for the changes to take
effect.
Integration Builder Settings (II)
IntegrationBuilder.Repository
com.sap.aii.repository.serviceuser.name
com.sap.aii.repository.serviceuser.certificate
com.sap.aii.repository.mapping.additionaltypes See notes below
IntegrationBuilder.Directory
com.sap.aii.directory.serviceuser.name
com.sap.aii.directory.serviceuser.certificate
After the installation, the service users already exist together with a password in the exchange profile
(properties of the Exchange Infrastructure). From there they are retrieved by the J2EE components of the
Exchange Infrastructure when the system is started.
If you make changes to user names and passwords, you have to make them in transaction SU01 first and
then again in the exchange profile. See SAP note 721584 for further details.
For parameter com.sap.aii.repository.mapping.additionaltypes:
Besides the standard mapping types like "class" for Java mapping programs or "xsl" for XSLT programs,
you can register additional mapping types of SAP Partners. These additional mapping types enable you
to call mapping programs of SAP partners, by calling a BAdI registered under the same mapping type.
In the Integration Builder, the additional mapping types can be selected in the Interface Mapping Editor
when you create an interface mapping. You can enter a link to a mapping program of a SAP Partner in
the Interface Mapping, which is passed to the BAdI during the execution.
You have to specify a key and a caption for an additional mapping type. The key field is restricted to 20
characters and should only contain the characters a,...,z and A,...,Z, the numbers 0,...,9, and the
underscore "_". The caption should not exceed 25 characters. The caption is separated from the key by
"|". Different additional mapping types are separated by ";".
Example: PA_TYPE|Partner Mapping;pa_trafo|Partner Transformation
Note: Use the value "none", if no additional mapping types are used.
Further Customer Settings (I)
IntegrationServer
com.sap.aii.integrationserver.serviceuser.name This is the service user used by the
Integration Server (XIISUSER).
com.sap.aii. integrationserver.serviceuser.pwd
com.sap.aii. integrationserver.serviceuser.language
com.sap.aii. integrationserver.serviceuser.certificate
IntegrationServer.MappingRuntime
After the installation, the service users already exist together with a password in the exchange profile
(properties of the Exchange Infrastructure). From there they are retrieved by the J2EE components of the
Exchange Infrastructure when the system is started.
If you make changes to user names and passwords, you have to make them in transaction SU01 first and
then again in the exchange profile. See SAP note 721584 for further details.
For full details, see the SAP Exchange Infrastructure 3.0 Configuration Guide, available at
http://service.sap.com/instguides.
Further Customer Settings (II)
RuntimeWorkbench
com.sap.aii.rwb.serviceuser.name
com.sap.aii.rwb.serviceuser.pwd This is the service user used by the
com.sap.aii.rwb.serviceuser.language Runtime Workbench (XIRWBUSER)
com.sap.aii.rwb.serviceuser.certificate
com.sap.aii.rwb.server.centralmonitoring.r3.ashost Application server of the SAP Web
AS on which the central PMI, central
com.sap.aii.rwb.server.centralmonitoring.r3.client CCMS and central Alert Server run.
Required for JCO connections and
com.sap.aii.rwb.server.centralmonitoring.r3.sysnr
HTTP connections to the monitoring
com.sap.aii.rwb.server.centralmonitoring.httpport server.
AdapterFramework
com.sap.aii.adapterframework.serviceuser.name
com.sap.aii.adapterframework.serviceuser.pwd This user is used by the Adapter
Framework when connecting to other
com.sap.aii.adapterframework.serviceuser.language servers (XIAFUSER).
com.sap.aii.adapterframework.serviceuser.certificate
Settings relating to the Runtime Workbench must be completed in order to configure Central Monitoring.
After the installation, the service users already exist together with a password in the exchange profile
(properties of the Exchange Infrastructure). From there they are retrieved by the J2EE components of the
Exchange Infrastructure when the system is started.
If you make changes to user names and passwords, you have to make them in transaction SU01 first and
then again in the exchange profile. See SAP note 721584 for further details.
For full details, see the SAP Exchange Infrastructure 3.0 Configuration Guide, available at
http://service.sap.com/instguides.
Summary