SAP XI Tips and Tricks
SAP XI Tips and Tricks
SAP XI Tips and Tricks
Version 1.0
January, 2010
Notice This is a controlled document. Unauthorized access, copying, replication or usage for a purpose other than for which it is intended, are prohibited. All trademarks that appear in the document have been used for identification purposes only and belong to their respective companies.
TCS Confidential
ii
Document Details
Name SAP XI Tips and tricks Version No. Version 1.0 Description Quick training document on SAP XI.
Revision Details
Action Taken (Addition/Deletion/M odification) Previous Page No. New Page No. Revision Description
Change Register serial numbers covered: The documents or revised pages are subject to document control. Please keep them up-to-date using the release notices from the distributor of the document. These are confidential documents. Unauthorised access or copying is prohibited.
Approved by:
Authorised by:
Date:
Date:
TCS Confidential
iii
TCS Confidential
iv
Distribution List
Recipient Name Location Copy No.
TCS Confidential
Intended Audience
The following are the intended audience for this document: The following are the intended audience for this document: SAP Basis SAP XI Consultants
Chapter Chapter 1 Chapter 2 Chapter 3 SAP XI SAP Basis Tasks in XI Appendix- useful transactions
Description
TCS Confidential
vi
Contents
By: Asad Rizvi ( asad.rizvi@tcs.com)........................................................i Document Details..................................................................................iii Revision Details....................................................................................iii Release Notice Reference (for release)...................................................iv Distribution List.....................................................................................v Purpose................................................................................................vi Intended Audience................................................................................vi Organisation of the Document...............................................................vi 1 SAP XI................................................................................................12 1.1 Components of XI..............................................................................................................12 1.2 Integration Builder.............................................................................................................13 1.3 Integration Repository.......................................................................................................13 1.4 Integration Directory..........................................................................................................13 1.5 Integration Server..............................................................................................................14 1.6 Business Process Engine..................................................................................................14 1.7 Integration Engine.............................................................................................................14 1.8 Adapter Engine..................................................................................................................14 2 Basis Tasks........................................................................................15 2.1 Installation.........................................................................................................................15 2.2 Patching............................................................................................................................15 2.3 System Copies..................................................................................................................15 2.4 Connection to SLD............................................................................................................15 2.4.1 ABAP Stack Configuration.........................................................................................16 2.4.2 SLDAPICUST.............................................................................................................16 2.4.3 RZ70 .........................................................................................................................17 2.5 Java Stack Configuration .................................................................................................18 2.5.1 Configuration in J2EE visual Administrator:...............................................................18 2.6 Update XI Content.............................................................................................................21 2.7 XI Transports.....................................................................................................................24 3 Appendix- Useful Transactions............................................................27
TCS Confidential
vii
TCS Confidential
viii
List of Figures
TCS Confidential
ix
List of Tables
TCS Confidential
List of Abbreviations
Abbreviation/Acrony m Description
TCS Confidential
xi
1 SAP XI
SAP Exchange Infrastructure (SAP XI) enables you to implement cross-system processes. It enables you to connect systems from different vendors (non-SAP and SAP) in different versions and implemented in different programming languages (Java, ABAP, and so on) to each other. SAP Exchange Infrastructure is based on an open architecture, uses open standards (in particular those from the XML and Java environments) and offers those services that are essential in a heterogeneous and complex system landscape:
Modeling and design of messages, transformations, and cross-component integration processes Configuration options for managing collaborative processes and message flow Runtime for message and process management Adapter Engine for integrating heterogeneous system components Central monitoring for monitoring message flow and processes
1.1Components of XI
TCS Confidential
12
1.2Integration Builder
A client-server framework for accessing and editing two stores of Shared Collaboration knowledge. It has two parts, which are fat clients to SLD where we can import the objects and use them locally. The basic reason for separating Integration Repository from Integration Directory is because by separating design time activities from configuration time activities, SAP can ship content from the Integration Repository, which each customer can implement for their specific landscape in the Integration Directory.
1.3Integration Repository
It is used for the design and development of interface, Process and Mapping objects that are used to implement Integration Scenarios. Usually they contain static objects, which can be used for different landscapes by defining the routing rules in Integration Directory.
1.4Integration Directory
TCS Confidential
13
They contain dynamic objects where in we configure scenarios using the objects from Integration Repository and route the messages between systems.
1.5Integration Server
This component provides run time for XI. This is central processing engine of XI.
1.7Integration Engine
Integration engine enables processing of XML messages that are exchanged between applications in heterogeneous system landscapes. Using adapters such as IDoc, http, it can process IDocs(Intermediate documents), http requests and Remote Function Calls. It is runtime environment of SAP Exchange Infrastructure, which has the task of receiving, processing and forwarding XML messages. Processing is done with the evaluation of Collaboration agreements, by determination of receivers and execution of mapping programs.
1.8Adapter Engine
Adapter engine is used to connect Integration Engine to SAP systems and external systems. Various types of adapters are provided to convert XML and HTTP based messages to the specific message protocol and format required by the partner systems and vice-versa. It is based on adapter framework, in turn based on SAP J2EE Engine (as part of the SAP Web Application Server) and J2EE Connector Architecture (JCA).
TCS Confidential
14
2 Basis Tasks
Here are some of the common Basis related tasks to be performed in the SAP XI.
2.1Installation
Installation of the NW2004s XI/PI based system is done through SAP installation tool. Detailed steps are provided in the SAP installation Guide which can be accessed at:
https://websmp110.sap-ag.de/instguides
Installatio guide also has the details about the post installation steps which needs to be done in a standard SAP deliverd system to make it work.
2.2Patching
Patching is done via SPAM and JSPM. Patches can be downloaded from SAP Service marketplace as a stack and then applied like in ECC, GTS, SCM. Technical process is same as in any other NW2004s system.
2.3System Copies
System copy is performed using Migration Monitor/Mirror splitting technologies since it has a java stack.
2.4Connection to SLD
SLD connection is required for XI to get information about JCO connections, Business Systems, software components, product and their versions.
TCS Confidential
15
Steps are:
2.4.1
2.4.2
SLDAPICUST
A. Goto Transaction code SLDAPICUST and enter user id and password of the user which connects to SLD. It can be XILDUSER or PILDUSER depending on version of the system. At some place a custom user can be create like, SLDUSER<SID>.
TCS Confidential
16
2.4.3
RZ70
Enter the hostname and select the date collection programs and then activate button. Then click the data collection button to trigger the data collection programs which will actually send the data to SLD.
TCS Confidential
17
1. Go to the /usr/sap/<SID>/DVEBMGS00/j2ee/admin and start the j2ee Visual Admin by executing script go.
3. Click on tab HTTP Settings and make the necessary changes and save. use XILDUSER and its password depending upon the version and user naming convention
4. Then Click on CIM Client Generation Settings Tab Enter the correct parameters here and SAVE.
TCS Confidential
18
TCS Confidential
19
6. Check the status on the Information Tab. Send Result should be Success
TCS Confidential 20
2.6Update XI Content
XI content for different applications is available under SAP service marketplace. Please navigate to the section as shown in the figure:
TCS Confidential
21
This content is available in the form of tpz files. These files need to be moved to:
/sapmnt/<SID>/global/xi/repository_server/import/ And then login to the Integration server via web URL:
http://<hostname>:50000/rep
Click on Integration Builder and then enter user id and password Click on Tools and Import Design Objects
TCS Confidential
22
Select your file name from the dialog box and enter ok.
TCS Confidential
23
2.7XI Transports
Login to the Integration Builder:
This will create a tpz file in /sapmnt/SID/global/xi/repository_server/export folder. Copy the file manually to the target system like QA or PRD to the /sapmnt/SID/global/xi/repository_server/import folder.
TCS Confidential
24
Select your file name from the dialog box and enter ok.
TCS Confidential
25
TCS Confidential
26
SPAM -> apply ABAP support packages SPAU -> manage objects after apply support packages SE01 -> manage change requests SLDCHECK -> Test SLD Connection SLDAPICUST-> SLD API Customizing SXMB_ADM -> Integration Engine Administration SXMB_MONI_BPE -> Process Engine Monitoring SE38 -> ABAP Editor SE11 -> ABAP Dictionary ST22 -> ABAP dump analysis SPROXY-> ABAP Proxy Generation SE80 -> Object Navigator ABAPDOCU -> ABAP Documentation and Examples SE24-> Class Builder SM21-> Online System Log Analysis SMQ1-> qRFC Monitor (Outbound Queue) SMQ2-> qRFC Monitor (Inbound Queue) RZ70-> SLD Administration SM58-> Asynchronous RFC Error Log SM59-> RFC Destinations (Display/Maintain) SMICM-> ICM Monitor WE60-> Documentation for IDoc types BD87-> Status Monitor for ALE Messages IDX1-> Port Maintenance in IDoc Adapter IDX2-> Meta Data Overview in IDoc Adapter WE05-> IDoc Lists WE02-> Display IDoc WE19-> Test tool WE09-> Search for IDocs by Content WE20-> Partner Profiles WE21-> Port definition in XI
TCS Confidential 28
BD54 -Logical System Creation. SWXF_PBUILDER -> for Detail BPM Process SMQS > to register the destination in QOUT scheduler WEOUTQUEUE > to start the queue processing SMQR > to register the queue IDXPW > to activate the IDOC message package IDXP > to monitor the message packages. SWF_XI_CUSTOMIZING -> transaction to check prerequisites for integration processes.
TCS Confidential
29