Exchange Infrastructure (XI) Post Installation Steps, Part 2
Applies to: SAP XI 3.0 and SAP PI 7.0
For more information, visit the SOA Management homepage.
Summary This document is prepared to give the beginners a brief idea about SAP XI Post Installation. The document contains basics of SAP XI Post Installation and also shows necessary steps screenshots.
Author: Sunil Ojha
Company: IBM
Created on: 24 February 2008
Author Bio Sunil Ojha is a PI certified workflow consultant. His current engagement is with IBM Global Business Services. He is post graduate in information technology and having 4+ years of experience in SAP including ABAP, Workflow and PI.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 1
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Table of Contents Prerequisite.........................................................................................................................................................3
Post Installation Steps.....................................................................................................................................3 Creating RFC Destinations in the ABAP Environment .................................................................................................4 Creating RFC Destinations in the ABAP and Java Environment..................................................................................7 SAP J2EE Configuration for the Destinations:- ..........................................................................................................10 Activating the Services...............................................................................................................................................13 Creating HTTP Destination PMISTORE in the Java Environment .............................................................................19 Performing Basic Configuration Steps .......................................................................................................................20 Registering Queues Used by the Integration Server..................................................................................................23 Checking the Installation – Part 1 ..............................................................................................................................24 Installing the Integration Builder Client.......................................................................................................................26 Checking the Installation - Part 2 ...............................................................................................................................27 Importing the XI Content for Software Component Version SAP WebAS 6.40 SR1 ..................................................33 Performing Initial Adapter Engine Cache Refresh......................................................................................................37 Testing the Cache Refresh (INTEGRATION_DIRECTORY_HMI) .............................................................................39
Related Content................................................................................................................................................40 Disclaimer and Liability Notice..........................................................................................................................41
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 2
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Prerequisite Prerequisites are done as per SAP Exchange Infrastructure Post Installation guide. You can download this guide from SAP Service Marketplace or it is also freely available at SDN.
Please refer Post installation part-1.
Please refer XI installation guide for more detail.
Post Installation Steps
1. Checking sap.com Services
2. Generating Roles: SAP_XI and SAP_SLD
3. Creating User XISUPER
4. Performing SAP XI Customizing Settings
5. Importing the SAP Exchange Profile
6. Performing System Landscape Directory (SLD) Configuration
7. Creating RFC Destinations in the ABAP Environment
8. Creating RFC Destinations in the ABAP and Java Environment
9. Activating Services
10. Creating HTTP Destination PMISTORE in the Java Environment
11. Performing Basic Configuration Steps
12. Checking the Installation – Part 1
13. Installing the Integration Builder Client
14. Checking the Installation - Part 2
15. Importing the XI Content for Software Component Version SAP WebAS 6.40 SR1
16. Performing Initial Adapter Engine Cache Refresh [
17. Testing the Cache Refresh (INTEGRATION_DIRECTORY_HMI)
In Post installation part – 1, we completed initial 6 steps, for rest steps I will explain in this 2ed part (Exchange infrastructure (XI) Post installation part – 2).
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 3
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Creating RFC Destinations in the ABAP Environment
We need to create RFC destination in ABAP for INTEGRATION_DIRECTORY_HMI.
Log to the SAP XI server and run SM59 transaction
Click on create button:
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 4
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Give destination as INTEGRATION_DIRECTORY_HMI
And choose connection type as H (HTTP connection).
Give the description,
Host name of J2EE engine,
Service no as 53100(5<Java_instance_number>00, 53100, if your Java instance is 31),
And path prefix as /dir/CacheRefresh.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 5
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Go to logon and security page and give the XIISUSER user id and password.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 6
Exchange Infrastructure (XI) Post Installation Steps, Part 2
In special option tab fill timeout as 900,
HTTP Compression: inactive and Compressed Response: No
Set HTTP Cookies: Accept Cookies: Yes (All).
After this save the connection setting and test your connection. If the test goes with success the response message will come with 500 codes.
Creating RFC Destinations in the ABAP and Java Environment
We need to create some RFC destination in ABAP and as well as in the visual admin for Java part.
These RFC destinations are: • AI_RUNTIME_JCOSERVER • AI_DIRECTORY_JCOSERVER • LCRSAPRFC • SAPSLDAPI
For this first log to ABAP stack and go to transaction SM59.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 7
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Fill the Program ID field, enter: AI_RUNTIME_<SID> where <SID> is the SAP system ID of your Integration Server host.
Fill the Gateway host and Gateway service of your Integration Server host.
In the Special Options tab select the flag Unicode in the box Character Width in Target System. Then save the setting.
Repeated Steps for others connections as :
T-code =sm59
Choose Create.
RFC destination: 1.AI_DIRECTORY_JCOSERVER
2. LCRSAPRFC
3. SAP SLDAPI
Connection type: T
Destination Values AI_DIRECTORY_JCOSERVER Program ID: AI_DIRECTORY_<SID>,
where <SID> is the SAP system ID of your SAP XI host
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 8
Exchange Infrastructure (XI) Post Installation Steps, Part 2
LCRSAPRFC Program ID: LCRSAPRFC_<SID>, where <SID> is the SAP system ID of your SAP XI host.
SAPSLDAPI Program ID: SAPSLDAPI_<SID>, where <SID> is the SAP system ID of your SAP XI host
LCRSAPRFC :-
SAPSLDAPI:-
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 9
Exchange Infrastructure (XI) Post Installation Steps, Part 2
AI_DIRECTORY_JCOSERVER
SAP J2EE Configuration for the Destinations:-
Once the all connections have done in SM59 of the ABAP part we need to create same connection in visual admin for JAVA part.
Log to the Visual admin.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 10
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Go to
Cluster → Server → Services → JCo RFC Provider
In the program ID set the exactly same name which we have given in the ABAP part SM59.
Give the same host name and service which we given in the ABAP part.
Give number of process you want it can be any from 1 to 20.
Give the user SAPJSF user id and password.
Select the Unicode and set the setting.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 11
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Maintain connection setting in similar manner for the others as well.
Once you have done the entire connection log to the ABAP stack again test the connection form the SM59.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 12
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Activating the Services
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 13
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Now this is time to activate all the service of XI server.
For it please go to SICF transaction.
Open the XI services
Update the cache details
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 14
Exchange Infrastructure (XI) Post Installation Steps, Part 2
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 15
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Give one request
Default_ host-> SAP->bc->spi_gate
Below screens shows in detail.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 16
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Go to the se38 and execute program RSXMB_ACTIVATE_ICF_SERVICES ,this program will activate all the serives.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 17
Exchange Infrastructure (XI) Post Installation Steps, Part 2
All should be green.
And the service now should be in activate status.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 18
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Creating HTTP Destination PMISTORE in the Java Environment
For creating connection for pmistore log to the visual admin.
Go to
Cluster → Server → Services → Destinations
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 19
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Create one connection under the HTTP node give the name as destination pmistore.
The URL will be
http://<xi_host>:<ABAP_Port>/sap/bc/spi_gate
The ABAP_Port will be 80<XX>.Where XX will the port number of ABAP, (Check by running transaction SMICM and choosing Goto → Services.)
Select BASIC as Authentication.
Give the Username: XIRWBUSER and password.
Save this and test this. It will return success message.
Performing Basic Configuration Steps
Go to the ABAP stack.
Now we need to configure the role of the integration serer. For it run SXMB_ADM transaction.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 20
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Run the integration engine configuration.
Choose edit->change global configuration data.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 21
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Select the integration server and save it.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 22
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Registering Queues Used by the Integration Server
Run manage queues on SXMB_ADM transaction.
Execute it.
Make selection of the register queues under action and all queues should be selected then execute it.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 23
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Checking the Installation – Part 1
Now its time to check installation and configuration by some basic XI transaction.
For it log to the ABAP stack.
Run SLDCHECK transaction
And run SLDCHECK transaction, it should goes without any error.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 24
Exchange Infrastructure (XI) Post Installation Steps, Part 2
After this call transaction SXMB_IFR :
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 25
Exchange Infrastructure (XI) Post Installation Steps, Part 2
SAP Exchange Infrastructure page will be appearing.
Or we can also start the page by entering the following URL in a Web browser:
http://<XI_host>:<Java_Port>/rep/start/index.jsp
Installing the Integration Builder Client
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 26
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Next we need to Install Java(TM) Web Start for the Integration Builder Client.
Install it, as described under the link Client Installation Instructions on the SAP Exchange Infrastructure page
Checking the Installation - Part 2
Call the SAP Exchange Infrastructure page and check the above link.
Link Screen must appear Repository (Design) Log on Data: XISUPER
Integration Builder: Design Exit the tool.
Directory (Configuration) Log on Data: XISUPER
Integration Builder: Configuration Exit the tool.
Administration Log on Data: XISUPER
Java WebStart(TM) – Initialization Status Exit the tool.
First run the repository design link from the SAP Exchange Infrastructure index page
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 27
Exchange Infrastructure (XI) Post Installation Steps, Part 2
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 28
Exchange Infrastructure (XI) Post Installation Steps, Part 2
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 29
Exchange Infrastructure (XI) Post Installation Steps, Part 2
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 30
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Check the integration directory:
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 31
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Check the admin part:
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 32
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Importing the XI Content for Software Component Version SAP WebAS 6.40 SR1
For it
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 33
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Copy XI7_0_SAP_BASIS_6.40_09_00.tpz from <Components DVD>/XI /XI_CONTENT to directory /usr/sap/<SAPSID>/SYS/global/xi/repository_server/import/.
After this call the SXMB_IFR transaction again.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 34
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Run the integration repository.
In integration repository
Choose → Tools → Import Design Objects
Select the component
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 35
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Import it.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 36
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Performing Initial Adapter Engine Cache Refresh
After this please perform the initial cache refresh of the Adapter Engine by executing the following URL:
http://<host>:<Java-Port>/CPACache/refresh?mode=full
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 37
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Cache refresh successfully in blue format.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 38
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Testing the Cache Refresh (INTEGRATION_DIRECTORY_HMI)
For this activity you need to logon to Integration directory and need to make any service or any test scenario and then you need to Run SXI_CACHE transaction in ABAP stack.
Check the runtime cache and notification it should be error free.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 39
Exchange Infrastructure (XI) Post Installation Steps, Part 2
Related Content SAP Help Portal
SAP Developer Network
SAP Installation steps
For more information, visit the SOA Management homepage.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 40
Exchange Infrastructure (XI) Post Installation Steps, Part 2
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 41
Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.
Top Related