cancel
Showing results for 
Search instead for 
Did you mean: 

What is iDoc Adapter for XI?

Former Member
0 Kudos

I am working on XI and came to know that I have to use iDoc Adapter for the same. I want to know

1. What is an iDoc Adapter

2. How it is used for XI

3. How to configure the same

Thanks,

Nishant

Accepted Solutions (1)

Accepted Solutions (1)

former_member537867
Active Contributor
0 Kudos

Hi Nishant,

Follow these steps................Here You can find the detailed decription...

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.

In SLD – System Landscape Directory

TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.

Ts for Third Party (Logical system):-

BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.

BS for Third Party (Logical system):-Enter the XI logical system name.

In Transaction SALE

Define and Assign the logical system name.

See the below links

- IDoc to File

IDOc testing -

- Any flat file to any Idoc

- Collection of IDoc to Single File

- IDoc to File

- File to Idoc

idoc settings

idoc erros - http://help.sap.com/saphelp_nw04s/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm

idocs - /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi

idoc mapping -

IDoc erros troubleshooting -

see the below links to get more details about IDocs

ALE/ IDOC/ XML

Troubleshooting of ALE Process -

http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc

http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp

http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm

IDOC Convertion

Please check this online document for ALE and IDoc.

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf

serialization

http://www.sapgenie.com/sapedi/idoc_abap.htm

http://www.henrikfrank.dk/abapexamples/IDOC/gl_postings2.htm

http://searchsap.techtarget.com/ sDefinition/0,,sid21_gci852485,00.html - 45k - Cached - Similar pages

Process codes in IDOC

http://help.sap.com/saphelp_erp2005/helpdata/en/dc/6b806743d711d1893e0000e8323c4f/frameset.htm

http://edi.stylusstudio.com/msg04418.htm

Check this link to find out the difference b/w ALE,IDOC and BAPI

http://www.sap-img.com/abap/ale-bapi.htm

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&

---Split messages :

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

Have a look at this document, which explains the settings in IDOC-File scenario,

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

Regards,

Vinod.

Answers (4)

Answers (4)

former_member182455
Active Contributor
0 Kudos

Hi nishant,

1. IDOC #

Idoc Adapter: The most commonly used adapter is Idoc adapter for sending and receiving Idocs from SAP XI.

The foremost step before configuring the idoc adapter is the system settings that have to be done

Details:

In the case where we encounter a standard IDOC provided by SAP or Situation where a mapping is available or

an IDOC as well as a BAPI exits, the approach will be dependent on the specific integration scenarioo......

for For example, options might be

1) sending one IDOC at a time

2) combing multiple IDOCS and sending as a single IDOC.

3) making one single RFC call, for each business transation.

4) avoiding multiple calls to the same BAPI / RFC by deploying a wrapper BAPI and sending all records in one call.

5) Using the proxy and sending all data in one shot and making single calls to the BAPI from the proxy.

- IDoc to File

- File to Idoc

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

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

regards

srinivas

Former Member
0 Kudos

Hi,

First of all we dont use Idoc Adapter in case of the Idoc is the Sender,

Why because Idoc Adapter sits on ABAP Stack, this can directly can communicate with the XI' Integration Server to process the message

We use Idoc Adapter in case of the Receiver only, why because we have to convert the XI's XML format into Idoc Format.

Idoc Adapter is used while posting the data from XI to SAP R/3, From Xi Format(XML) to SAP R/3 Format(Idoc)

Check this on how to configure the Idoc Adapter

http://help.sap.com/saphelp_nw04s/helpdata/en/ab/bdb13b00ae793be10000000a11402f/frameset.htm

REgards

Seshagiri

Former Member
0 Kudos

Hi Nishant,

http://saptechnical.com/Tutorials/XI/IDocToIDoc/page1.htm

I think it would help u.

Regards,

Vijaya Lakshmi.T

sunilchandra007
Active Contributor
0 Kudos

Hi,

U can refer to following links:-

1. IDoc Adapter (SAP Library - SAP Exchange Infrastructure)

http://help.sap.com/saphelp_nw04/helpdata/EN/ab/bdb13b00ae793be10000000a11402f/content.htm

2. SAP Library - Configuring the IDoc Adapter

http://help.sap.com/saphelp_nwpi71/helpdata/en/ab/bdb13b00ae793be10000000a11402f/frameset.htm

Regards,

Chandra