cancel
Showing results for 
Search instead for 
Did you mean: 

XI fundamentals

Former Member
0 Kudos

Hi techies,

This is ravichandra i am very much intrested in learning XI for we have to learn ABAP also na .If we have to learn ABAP also in ABAP what are all the concepts we have to learn can any guide me please

thanks in advance and i am waiting for reply reward is compulsary

plz guide me ...

Ravi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Xi is the middleware tool which is used to integrate non sap and sap systems.

Xi consists of following components.

a) SLD

b) Design

c) Configuration

d) Mapping

e) Adapters

f) BPM

g) Monitoring

Also for the starter refer the below link:

https://www.sdn.sap.com/irj/sdn/xi-elearning

Also refer the below help:

1) What is XI:

http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/frameset.htm

2) Design and Configuration:

http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/frameset.htm

3) Integration Processes (ccBPM)

http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/frameset.htm

4) Central Monitoring:

http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/frameset.htm

5) Adapters:

http://help.sap.com/saphelp_nw04/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm

Just go through the below link which has all the topics:

http://www.sap.com/services/education/certification/certificationtest.epx?context=FFC760B8923D16BB51...

If u ahve serach on SDN then u will able to get all the scenarios:

File 2 file:

File content conversion:

FCC

Ref:

Sender -

Key value:

-

TAB delimited

NAB the TAB (File Adapter)

Receiver FCC no need of Endseparator

RFC:

HTTP to RFC - A Starter Kit

Weblog to send Response from RFC to File in Asyn Mode Using Proxy:

IDOC:

ALE configuration for pushing idocs from SAP to XI

IDOC testing using WE19

IDOC configuration :

This is expalined both the scenarios:

Please follow the below process for configuration:

Pre-requisites for Inbound IDoc to R/3 from PI:

Configuration required at Xi side:

Go to IDX1: configure the port.

Go to IDX2: load the DOC metadata.

Go to SM59: Create RFC destination which points to R3 system this is require in the case where your IDOC is sent to R 3 system,

Configiration required at R3 side:

Maintain Logical System for PI (SALE transaction):

Maintain Partner Profile for XI system(WE20):

Pre-requisites for Outbound IDoc from R/3 to PI:

Configurations required in R/3:

Maintain Logical System (SALE)

Define RFC Destination (SM59) which points to PI system Maintain Port (WE21) Maintain partner profile. (WE20):

Maintain Distribution Model (BD64):

File To IDOC - Part1 (SLD and Design):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&

File To IDOC - Part2 (Configuration):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&

File To IDOC - Part3 (Steps required in XI and R3):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&

IDOC Collecting

ave a look at this Blog

Collection of Multiple type IDOCs in BPM By Pooja Pandey Collecting IDocs without using BPM By Stefan grube's

XI:Idoc Message Packages By Sravya Talanki Collecting from Multiple Interface and sending it to R3 By Prasad Babu Nemalikanti

Idoc to File:

Collection of IDoc to Single File

BPM:

- Walk through BPM BPM in XI https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/integrationProcess%28ccBPM%29inXI&

BPM-1

BPM-2

BPM-3

BPM-4

Schedule BPM

Use of Synch - Asynch bridge in ccBPM

Use of Synch - Asynch bridge in ccBPM https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]

without BPM

without BPM1

IDOC BPM

multimapping without BPM /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

PRoxy:

First start with configuration:

ABAP Proxy configuration:

http://help.sap.com/saphelp_nw04/helpdata/en/2b/f49b21674e8c44940bb3beafd83d5c/frameset.htm

for java proxies

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b20...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903...

ABAP proxy:

Client Proxy -

In this case you can define you scenario as a proxy to File. The blog explains the proxy part. Map the structure to a file and complete the scenario.

Please chekc this PDF :

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3dfac358-0d01-0010-5598-d49...

Server Proxy -

File to Inbound Proxy:

Debugging Inbound Proxy:

SAP XI INTRODUCTION

http://www.erpgenie.com/sap/netweaver/xi/namingconventions.htm

http://www.erpgenie.com/sap/netweaver/xi/howto.htm

http://www.erpgenie.com/sap/netweaver/xi/tips.htm

http://www.erpgenie.com/sap/netweaver/xi/xiauthorizations.htm

https://www.sdn.sap.com/irj/sdn/wiki

Message Mapping

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm

/people/jeyakumar.muthu2/blog/2005/12/19/data-mining-using-apriori-algorithm-in-xi-150-part-ii

/people/jeyakumar.muthu2/blog/2005/11/23/data-mining-using-apriori-algorithm-in-xi-150-part-i

/people/jeyakumar.muthu2/blog/2005/12/30/data-mining-using-apriori-algorithm-in-xi-150-part-iii

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

Runtime WorkBench Monitoring

http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm

BPM

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/integrationProcess%28ccBPM%29inXI&

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

File to File Scenario

IDOC Scenario

RFC Scenario

regards

kummari

Answers (8)

Answers (8)

Former Member
0 Kudos

HI,

Go through these links for XI

http://help.sap.com/saphelp_nw04/helpdata/en/53/fe48b44c5e4bcab5c71fdcf3ee9bc7/frameset.htm -->XI basics

TBIT40:https://websmp109.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT40

TBIT41:https://websmp201.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT41&LANGUAGE=

TBIT42:https://websmp206.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT42&LANGUAGE=

TBIT43:http://www50.sap.com/useducation/curriculum/course.asp?cid=60161651

TBIT44:https://websmp102.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT44

-->FILE 2 JDBC 2 FILE (JDBC SYNC) IR PART

Then you can try out the scenarios in XI

File2File-Design

File2File-configuration

________________________________________________________________________________________________________________

- Message Mapping Simplified - Part I

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii - Message Mapping Simplified u2013 Part II

- Introduction to Context Handling in Message Mapping

- ValueMapping using the Graphical Mapping Tool

http://help.sap.com/saphelp_erp2004/helpdata/en/3d/24e15bf9d79243b45d49b13b03de8f/content.htm

file to idoc

Sender -

- TAB delimited

Receiver-

-


- part2 - RFC -> WS

- trobleshooting guide

- WS -> RFC

-


about SOAP

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ada5ef-0201-0010-1f8b-c935e444... -XI 3.0 release

- File to ABAP Proxy

- File to JDBC

For any issues you can post ur queries in sdn

Thanks

Pradeep

Former Member
0 Kudos

Hi Ravi Chandra ,

XI is one of the middleware technology that recieves message from the sender converts into XML format, does processing & sends it to reciever.

There are many scenarios:

1) HTTP to FILE and vice-versa

2) FILE to IDOC and vice-versa

3) FILE to JDBC and vice-versa

4) PROXY to PROXYand vice-versa

5) HTTP to SOAP ...

and so on ..so forth...

for FILE to IDOC and vice-versa scenario, we should be familiar with

SM59 (RFC configuration)

WE21 (PORT configuration)

WE20 (PARTNER PROFILE)

WE02/05/09(to view IDocs)

for PROXY to PROXYand vice-versa u should be famliar with OO ABAP..

Go thru the following links which has huge info on XI:

SAPu2018s Exchange Infrastructure

http://www.omg.org/interop/presentations/2002/sinisa_zimek.pdf

SAP Exchange Infrastructure 3.0 Integrating Heterogeneous Systems with Ease

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1ebea490-0201-0010-faad-a32...

SAP NetWeaver Visual Composer

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sdn-meets-l...

SAP Exchange Infrastructure for Developers ( This is an excellent website for free pdf book for XI)

http://www.sap-press.de/download/dateien/1191/sappress_exchange_infrastructure.pdf

Exchange Infrastructure : XI Transaction Codes

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/xiTransactionCodes&

A Beginner's Guide to SAP XI Settings part I

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/73527b2c-0501-0010-5398-c4a...

A Beginner's Guide to SAP XI Settings part II

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6bd6f69a-0701-0010-a88b-adb...

SAP XI AND SLD

http://www.sappro.com/downloads/nov06/XIandSLD.pdf

Exchange Infrastructure Learning Map

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/learning+map&;

SAP Exchange Infrastructure eLearning Catalog(U wil get all downloads regarding XI starting from basics to end)

https://www.sdn.sap.com/irj/sdn/xi-elearning

All Articles on SAP NetWeaver Exchange Infrastructure(This website gives al articles on XI)

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/f04b44aa-fe06-2a10-859e-82ad4...

Mastering SAP Netweaver XI - Programming( PDF Book for XI)

http://www.sap-hefte.de/download/dateien/1241/140_leseprobe.pdf

SAP XI Learning Guide

http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci1008087,00.html

SAP Exchange Infrastructure 2.0

http://www.sun.com/third-party/global/sap/collateral/SunSAPWP_final.pdf

http://help.sap.com/bp_bpmv130/Documentation/Planning/TechnicalInfrasture.pdf

Process Integration with SAP Netweaver new features and functions

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4042611d-04e5-2910-bd9d-f97627b1...

SAP NetWeaver Process Integration 7.1 u2013Overview

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/706005a3-3bd6-2910-91ae-a2016239...

End To End Process Integration Features in SP15 and higher incl. SAP NetWeaver 2004s

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6a90d6aa-0b01-0010-8a83-cf0...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/54f20a2e-0801-0010-f787-876...

http://www.english.bcc.com.pl/index.php?s=504&p=2

https://www.sdn.sap.com/irj/sdn/xi

http://tsr.strain.at/space/SAP+XI

https://www.sdn.sap.com/irj/sdn/xi

http://www.sapag.co.in/How-To-Guides-on-Portal.htm(interview questions for XI , EP)

http://www.sap-hefte.de/download/dateien/964/074_lesesprobe.pdf

http://www.sap-press.com/downloads/h982_sample_chapter.pdf

(file 2 http)

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3d1ac590-0201-0010-4b90-f71... to netweaver)

http://www.english.bcc.com.pl/index.php?s=504&p=2#i2

(adapters)

http://nilkanthk.googlepages.com/XIQuestions.pdf

All Articles on Monitoring and Troubleshooting

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/0067dcfa-5f28-2a10-5094-cf72b...

Former Member
0 Kudos

Hi,

As an xi consultant, little bit abap knowledge is also required.

mainly for 3 scenarios abap knowledge is required.

1. Idoc screnario :

ALE settings(normally done by basis). writing a small abap code in se38 for generating the idoc.

monitoring of the processed idocs(WE02, WE05, WE19) and its status indication.

2. RFC scenario:

writing the function module(remotely enabled) in se37.

3. Proxy scenario:

writing a proxy program in se38 based on the interfaces created in xi(SPROXY).

Regards,

sriram.

Former Member
0 Kudos

HI

XI: XI is well suited for connecting SAP systems with each other and with non-SAP. SAP XI provides an integrated workflow engine that allows defining adapters to non-XML protocols and mappings to convert data content from source to target format.

XI comes handy particularly incase of SAP - Non SAP interfaces where you can import standard integration content. Also XI has got sophisticated open standard adapter framework which is very easy to implement and custom logic can be implemented using Adapter module programming.

Advantages

u2022Monitoring is better than any other middleware product. It offers exhaustive monitoring features like message, performance, component monitoring etc, all of which can be used to track and rectify the errors. It follows a hub and spoke model.

u2022Mappings and adapters are good as comparable with any other middleware product.

u2022Synchronous & Asynchronous communication is possible.

Dis-Advantages

u2022Web methods are particularly good if u have B2B kind of communication with their Trading Partners product.

u2022XI is lacking full-fledged Message Queue compared to other established Middleware products.

Components of XI:

Component Overview

The XI is not a single component, but rather a collection of components that work together flexibly to implement integration scenarios.

The architecture includes a) components to be used at design time b) components to be used at configuration time and c) components to be used at runtime.

XI components include:

System Landscape Directory: a central repository of information about software and systems in the data center.

The Integration Builder: A client-server framework for accessing and editing two stores of Shared collaboration knowledge.

The Integration Repository: For the design and development of Interface, Process, and Mapping objects that are used to implement IS. (For the products to be used at design and development time. IR is done at SAP, Partner and Customer site. Shipped along with content.)

The Integration Directory: For configuring scenarios from the IR in the concrete customer landscape.

Integration Server: This is the actual run time of XI. It is the central processing engine of the XI. All messages whether SAP or non-SAP, A2A or B2B, regardless of backend technology or vendor, are processed in a consistent way. It comprises of

u2022The Adapter Engine running on the JAVA stack and consisting of many JCA adapters.

u2022The Integration Engine running on the ABAP stack which process message in a consistent way using a series of pipeline steps.

u2022The Business Process Engine on the ABAP stack where the Integration process or BPM are executed.

Central Monitoring: To monitor all components comprehensively at run time.

Integration Engine: Runtime environment of the SAP XI that receives XML messages and after processing them in the pipeline transfers them to the receiver systems.

Adapter Engine: A Java Connector Architecture (JCA) compliant adapter engine for connecting backend systems to the XI.

Welcome to XI, but before posting queries please refer to the earlier blogs/ forms for materials,

refer these links and blog in it to gain knowledge of SAP XI.

What is XI?

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

What is IR and ID?

http://help.sap.com/saphelp_nw04/helpdata/en/61/fec608bc27654daadb20c1e6da7dd1/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/b9/64663c7a6c2545ae292fb26d8c33c4/content.htm

Runtime

http://help.sap.com/saphelp_nw04/helpdata/en/2e/278a8363b5ac4483dc1efc382e51df/content.htm

Good Blog for new to XI:

XI u2013Starter

http://help.sap.com/saphelp_nw04/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm

SAP XI - Where to Find Information

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/sap%20xi%20-%20...

All the information you need in XI :

http://help.sap.com/saphelp_nw04/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/frameset.htm

Understand the Architecture of XI

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

You can also go through the url for Elearning :

https://www.sdn.sap.com/sdn/elearning.sdn

https://www.sdn.sap.com/irj/sdn/sdnpilot/elearning

Following is the link for 'how to guides', A step by step guide to create scenarios:

https://websmp201.sap-ag.de/nw-howtoguides

Configuration of Adapters

http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm

One of the most powerful feature of XI, Business Process Management:

http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/frameset.htm

How the messages are delivered through XI:

http://help.sap.com/saphelp_nw04/helpdata/en/17/50d440e14f8431e10000000a1550b0/frameset.htm

Few blogs:

- IDoc to File

- ABAP Proxy to File

- File to JDBC

- File to ABAP Proxy

- File to File Part 1

- File to File Part 2

- Any flat file to any Idoc

- File to RFC

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] - File to Mail

- Dynamic File Name Part 1

- Dynamic File Name Part 2

- Dynamic Mail Address

- Message Flow in XI

- Walk through BPM

- Schedule BPM

- Use of Synch - Asynch bridge in ccBPM

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM

- Maintain RFC destination centrally

- Triggering Email from folder

- Handling different partners for IDoc

/people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi - Modeling Integration Scenario in XI

- Testing of integration process

- Authorization in XI

http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm - Authorization in XI

- Alert Configuration

- Trouble shoot alert config

- Call UNIX Shell Script

- Transport in XI

- Using ABAP XSLT Extensions for XI Mapping

/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options

- Collection of IDoc to Single File

- Controlling access to Sensitive Interfaces

- The same filename from a sender to a receiver file adapter - SP14

- Payload Based Message Search in XI30 using Trex Engine

- XI : Configuring CCMS Monitoring for XI- Part I

- XI: HTML e-mails from the receiver mail adapter

- XI : FAQ's Provided by SAP

ABAP: You shld have knowledge in ABAP . Bcoz it will be useful for Mapping(ABAP MAPPING). You shld also have knowledge on IDOCS,RFCS AND ALE SETTINGS.

cheers

aashish_sinha
Active Contributor
0 Kudos

Hi,

For scenarios refer this wiki.

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/step-by-step+guides

for guides try this link.

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/home

Regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

Hi,

IDOC Programming

There are two processes in IDOC processing one is INBOUND PROCESS( IDOC coming to the system and its handling at various stages) and the other is OUTBOUND PROCESS( IDOC is send to other system . Separate ABAP programs are written for these 2 processes and different configuration settings are required for each one .Depending upon the trigeering mechanism different programming approaches are used.OUTBOUND PROGRAMS handle the IDOC creation and INBOUND PROGRAMS handle the inbound IDOC and the data trasfer from the IDOC to the database tables.

NEED FOR ABAP PROGRAMMING arises if

1)New IDOC was created

Depending upon the triggering mechanism i.e change pointer,message control

etc the programming technique changes and the type of process.

2)Existing IDOC was extended

User Exits are used to populate data in new segments added and to read them

back.

3)To enhance an exsiting process.

User Exits are used .

Basic structure of an OUTBOUND PROGRAM

The basic structure of all outbound programs is same. The CONTROL

record which is of TYPE EDIDC has to be filled. It contains important fields like

IDOCTP IDOC type

MESTYP Message Type

RCVPRN Recieving Partner (Destination)

RCVPRT Partner Type (it is LS i.e Logical System)

The DATA RECORD internal table which is of TYPE EDIDD has to be filled

in the same order as there are segments in the IDOC definition.

It has 2 important fields which are to be filled ,these are

SEGNAM Name of the segment

SEGDATA Data in the segment and can be upto 1000 bytes.This field

is corresponds to each data segment in the IDOC.

e.g.

DATA INT_EDIDD LIKE EDIDD OCCURS 0 WITH HEADER LINE.

DATA W_SEGDATA LIKE zsegment "custom segment zsegment

INT_EDIDD-SEGNAM = 'ZSEGMENT'

W_SEGDATA-field1 = value "taken from some table

W_SEGDATA-field2 = value "taken from some table

INT_EDIDD-SEGDATA = W_SEGDATA

APPEND INT_EDIDD

This will fill the data record corresponding to the segment ZSEGMENT . For all

segments the sam steps will be repeated until all the data corresponding to all the

segments in the idoc is filled in the internal table of type EDIDD.

There is only one control record and can be multile data records in the idoc

structure.

Which data is to be extracted from the tables to be filled in EDIDD type internal table is determined in standalone programs from the objects which are specified in the selection screen and from the object key passed to the function module in case of message control and is taken from BDCP table in case of change pointers using function modules "CHANGE_POINTERS_READ"

In case of stand alone programs and function modules based on change pointers method the function module "MASTER_IDOC_DISTRIBUTE" is used to send the IDOC to ALE layer for distribution ,in case of message control it is handled automatically by the RSNASTED program invoked by the message control.

OUTBOUND PROCESS AND OUTBOUND PROGRAM

Outbound programs are used in outbound process to genearte IDOCs . There

purpose is to extract the data from the tables and to fill the IDOC data records

and the control record in the IDOC and pass ito the ALE layer for distribution to the recieving system .

Depending upon the triggering mechanism (how and when the outbound program will be started different techniques and interface is used for outbound program.

1)Message control

Application like PO(purchase order) creation use this technique , where the output type is linked to the application(Message control is a configurable cross application component which can be set in IMG .Such programs are created in the form of function modules and linked to the output type which is linked to the apllication.These have predefined interfaces.

In outbound programs(function module) that use message control the key of the

application document is passed to the function module whcig will read the data from the table depending upon the key passed(NAST structure) and fill the IDOC segemnts with the application data.The control record is also passed to the function module but is not fully filled, the rmaining fields are filled and the control is passed back to the calling program which is RSNASTED and is invoked by the

message control to process ALE and EDI output types and this program on recieving the IDOC data will create the physical IDOC in the system.

The parameteers passed to the function module are

IMPORTING PARAMETERS

OBJECT LIKE NAST

It contains documents key.

CONTROL_RECORD_IN LIKE EDIDC

It contains the partailly filled control record

EXPORETING PARAMETER

OBJECT_TYPE

CONTROL_RECORD_OUT LIKE EDIDC

TABLES

INT_EDID LIKE EDIDD

The internal table used to fill the data records in the same order as they exists in

the IDOC.

The important parameters that should be filled in the custom function module are

CONTROL_RECORD_OUT and INT_EDIDD .The OBJK field of the structue NAST contains the key of the apllication document.

2)Stand alone programs

Generally used for Master Data transfer and as such depending upon the requirement can have different interfaces.The programs have a selection screen which has select options to select the objects, and parameters for specifying the recipient Logical System and the Message Type.

Data is selected based on the specified objects from the tables . and control record of type EDIDC is created and filled with important values like DIRECTION ,IDOCTP,RCVPRT,RCVPRN and MESTYP .

Data is filled in an internal table of TYPE EDIDD according to segment definitions

and in same order and the function module MASTER_IDOC_DISTRIBUTE is called passing the control record and the internal table containg IDOC data and importing an internal table consisting of control records for each communication IDOCS created.

3)Change pointer

Change Pointer table is read and checked if changes were made to important fields , if so the outbound program will be triggered automatically , these have predefined interfaces

First of all do the ALE settings.

SAP XI

1) RFC Destination (SM59)

a) Choose create.

b) Specify the name of the RFC destination

c) Select connection type as 3 and save

d) In the technical settings tab enter the details SAP SID/URL and system number#.

e) Enter the Gateway host as same details above SID/URL.

f) Gateway service is 3300+system number#.

g) In the Logon /Security tab, enter the client user & Password details of Destination system.

h) Test the connection and remote logon.

2) Create Port (IDX1)

a) Select create new button

b) Enter the port name as SAP+SID (The starting char should be SAP)

c) Enter the destination client.

d) Enter the RFC Destination created in SAP R/3 towards other system.

e) Save

3) Load Meta Data for IDOC (IDX2)

a) Create new

b) IDOC Message Type

c) Enter port created in IDX1.

SAP R/3

1) RFC Destination (SM59)

a) Choose create.

b) Specify the name of the RFC destination

c) Select connection type as 3 and save

d) In the technical settings tab enter the details SAP SID/URL and system number#.

e) Enter the Gateway host as same details above SID/URL.

f) Gateway service is 3300+system number#.

g) In the Logon /Security tab, enter the client user & Password details of Destination system.

h) Test the connection and remote logon.

2) Create Port (We21)

a) First Select Transactional RFC and then click create button

b) Enter the destination port name as SAP+SID (The starting char should be SAP)

c) Enter the destination client.

d) Enter the RFC Destination created in SAP R/3 towards other system.

e) Save

3) Create Partner Profile (WE20)

a) Create New

b) Create the Partner no. name as same the logical system name of the destination system.

c) Select Partner type LS

d) Enter details for Type: US/USER, Agent, and Lang.

e) Click on the + button to select the message type.

f) Select Partner no. and LS which ever create above.

g) Select Message type

h) Select Process code related to the Message type.

I) save.

PS Reward me if usefull

reg,

suresh

Former Member
0 Kudos

Hi,

1. Getting through the introduction,XI acts as a middleware between source and destination.Goal of XI is to provide a single point of integration for the systems,SAP and NON-SAP.

2.XI supports A2A ,B2B,Synchronous and Asynchronous message exchange.It provides openness and transparency to the integration process.XI represents the process integration layer of the netweaver stack.

3.The components of XI are

Integration Builder which contains Repository and directory.

System Landscape Directory

Integration Server

Central Monitoring

Adapter Engine

Just go through these links:

https://www.sdn.sap.com/irj/sdn/collaboration

solves the thread

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9928db90-0201-0010-6894-ffa53bf7...

Thanks,

Madhu

Former Member
0 Kudos

Hi Ravi,

The below link would be helpful to you.

http://netweaverxi.blogspot.com/

Happy learning .

- Satish