You are on page 1of 29

SAP XI Tips and Tricks

By: Asad Rizvi ( asad.rizvi@tcs.com)

Version 1.0

January, 2010

SAP XI Tips and Tricks

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

SAP XI Tips and Tricks

Document Release Note


Notice No.: Customer:

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

SAP XI Tips and Tricks

Document Revision List


Customer: Project: Document Name:

Release Notice Reference (for release)


Revision No. Revision Date Revision Description Page No. Previous Page No. Action Taken Addenda/ New page Release Notice Reference

TCS Confidential

iv

SAP XI Tips and Tricks

Document Distribution List


Customer: Project: Document Name: Document Version Number: Version 1.0

Distribution List
Recipient Name Location Copy No.

TCS Confidential

SAP XI Tips and Tricks

About this Manual


Purpose
This document has been written to help to understand the basic tasks to be performed by Basis administrators in XI environment.

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

Organisation of the Document


Information in this document has been organised as follows:

Chapter Chapter 1 Chapter 2 Chapter 3 SAP XI SAP Basis Tasks in XI Appendix- useful transactions

Description

TCS Confidential

vi

SAP XI Tips and Tricks

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

SAP XI Tips and Tricks

TCS Confidential

viii

SAP XI Tips and Tricks

List of Figures

TCS Confidential

ix

SAP XI Tips and Tricks

List of Tables

TCS Confidential

SAP XI Tips and Tricks

List of Abbreviations
Abbreviation/Acrony m Description

TCS Confidential

xi

SAP XI Tips and Tricks

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

SAP XI Tips and Tricks

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

SAP XI Tips and Tricks

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.6Business Process Engine


Business Process Engine enables SAP Netweaver with BPM capability by processing integration processes at runtime. BPE uses functions of the workflow engine and generates workflow from integration process at runtime.

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

SAP XI Tips and Tricks

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

SAP XI Tips and Tricks

Steps are:

2.4.1

ABAP Stack Configuration

In the ABAP stack we need to perform these steps to register:

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

SAP XI Tips and Tricks

2.4.3

RZ70

B. Goto Transaction code RZ70 and enter the hostname information

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

SAP XI Tips and Tricks

2.5Java Stack Configuration


2.5.1 Configuration in J2EE visual Administrator:

1. Go to the /usr/sap/<SID>/DVEBMGS00/j2ee/admin and start the j2ee Visual Admin by executing script go.

2. Goto the Server->Services->SLD DATA SUPPLIER Services

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

SAP XI Tips and Tricks

5. Start and Stop the service.

TCS Confidential

19

SAP XI Tips and Tricks

6. Check the status on the Information Tab. Send Result should be Success
TCS Confidential 20

SAP XI Tips and Tricks

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

SAP XI Tips and Tricks

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

SAP XI Tips and Tricks

Select your file name from the dialog box and enter ok.

TCS Confidential

23

SAP XI Tips and Tricks

2.7XI Transports
Login to the Integration Builder:

Select the component you want to export:

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.

Click on Tools and Import Design Objects

TCS Confidential

24

SAP XI Tips and Tricks

Select your file name from the dialog box and enter ok.

TCS Confidential

25

SAP XI Tips and Tricks

TCS Confidential

26

SAP XI Tips and Tricks

3 Appendix- Useful Transactions


ALRTCATDEF- Alerts Configuration. ALRTDISP - Display of Alerts Created SXMB_IFR -> Start Integration Builder SXMB_MONI -> Integration Engine Monitoring SXI_MONITOR -> XI: Message Monitoring SXI_CACHE -> To Access IS runtime cache SXI_SUPPORT -> Test all the Repository and Directory Objects SXI_CACHE -> XI data directory cacheidx1 -> idoc adapter IDX2 -> idoc metadata IDX5 -> monitocr idoc adapter SMICM -> J2EE administration ST03 -> workload. WE20 -> partner profiles sale - ale settings RZ10 - edit system profile SM59 ->mantain rfc destinations SU01 -> users AL08 -> list all logged users(user login logon) SE10 -> Change Request SE09 -> Change Request WE05 -> All idocs WE19 -> IDoc Test Tool WE21 -> port definition SE11 -> Data dictionary se37 -> mantain funcion modules SICF -> http server configuration PFCG -> Roles STMS -> transports management
TCS Confidential 27

SAP XI Tips and Tricks

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

SAP XI Tips and Tricks

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

You might also like