cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC

Former Member
0 Kudos

What all i need to know in IDOC for using in XI?.

Want to know A to Z of IDOC.

Accepted Solutions (0)

Answers (8)

Answers (8)

Former Member
0 Kudos

Summary of the Steps to be carried out to enable a SAP R/3 System send Idocs to SAP Exchange Infrastructure.

-


First - Maintain the Sender R/3 System:

SM59 : Create a RFC destination to XI

WE21 : Create a TRFC Port ->Specify the RFC Destination Created

BD54 : Create a Logical System for the Idoc Receiver

WE20 : Create Partner Profile ->Maintain Outbound and the Inbound Parameters

Second - Log on to XI System:

SM59 : RFC Destination for Sender System

IDX1 : Create the port to get Idoc Metadata from Sender System ( The Port Name must match the port name in the idoc header - Usually in format SAP<System ID>. eg. SAPID1 [Optional Step. Not mandatory]

IDX2 : Maintain the Idoc Metadata. This is needed only by XI, and not by other SAP systems. IDX2 is needed because XI needs to construct IDoc-XML from the IDoc. No other SAP system needs to do that.

To Enable Acknowledgement:

SXMB_ADM ->Integration Engine Configuration ->Specific Configuration ->Add New entry -> Select parameters as:

Category: RUNTIME

Parameters: ACK_SYSTEM_FAILURE

Current Value: 1

GO TO SLD:

Create Technical System: Choose WEB AS ABAP if the system is R/3 -> Define SAP SID, Installation Number and Database Host Name a Maintain message Server Details according to Sender System -> Maintain Client Details of Sender System ->Select a Installed Product for Sender System

Create Business System: Choose WEB AS ABAP if the system is R/3 -> Choose the Technical System and the client Created Before -> Choose the Installed Product -> Set:

Business System Role: Application System

Related Integration Server: Integration Server

Integration Builder

Integration Directory:

Add Business System: Adapter Specific Identifiers -> 'Logical System' identical to the 'Logical System Name' in the SLD Business System

IDoc Receiver Communication Channel: port the same as XI System IDX1

Additional References

Ale Configuration for pushing Idocs form SAP to XI

IDOC Statuses

Former Member
0 Kudos
prabhu_s2
Active Contributor
0 Kudos

<b><u>IDoc - intermdeiate document</u></b>

IDoc is proprietry concept of SAP which is used to transfer the master/transactional data.

IDocs are text encoded documents with a rigid structure that are used to exchange data between R/3 and a foreign system. Instead of calling a program in the destination system directly, the data is first packed into an IDoc and then sent to the receiving system, where it is analyzed and properly processed. Therefore an IDoc data exchange is always an asynchronous process. The significant difference between simple RFC-calls and IDoc data exchange is the fact, that every action performed on IDocs are protocolled by R/3 and IDocs can be reprocessed if an error occurred in one of the message steps.

While IDocs have to be understood as a data exchange protocol, EDI and ALE are typical use cases for IDocs. R/3 uses IDocs for both EDI and ALE to deliver data to the receiving system. ALE is basically the scheduling mechanism that defines when and between which partners and what kind of data will be exchanged on a regular or event triggered basis. Such a set-up is called an ALE-scenario.

http://www.allsaplinks.com/idoc_sample.html

check the below link for further help.

and another useful link

click on this link to download the help document

http://myweb.dal.ca/hchinni/sap/idocs/IDoc%20Cookbook%20for%20EDI%20and%20Interfaces.doc

former_member529475
Active Contributor
0 Kudos

Hi

You will import the IDOC into into XI. Map the fields what ever you want. You will Map the fields coloured with Red those are mandatory fields otherwise you will enable the control record.WE02 is used to see the IDOC Status and WE60 is used to see the IDOC Documentation.

This Links Will Help You.

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

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters

Please Award some Points if it is help ful....

Cheers

Vasu

Former Member
0 Kudos

HI,

First you need to know what are all the Idocs available. which IDoc is for what.and how to import the Idoc interface into XI

Mapping,Configuration,IDoc Adapter

R3 Connectivity either sender side and receiver side

Port,Partner profile,partner type, Distribution model,communication Idoc,master idoc etc details.

See the below links

ALE/ IDOC

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

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm

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

http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419

http://www.netweaverguru.com/EDI/HTML/IDocBook.htm

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

http://www.sappoint.com/abap/ale.pdf

http://www.sappoint.com/abap/ale2.pdf

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

http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm

http://www.allsaplinks.com/idoc_sample.html

http://www.sappoint.com/abap.html

http://www.allsaplinks.com/idoc_sample.html

ALE/ IDOC/ XML

Troubleshooting of ALE Process - /people/raja.thangamani/blog/2007/07/19/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

/people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment

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

Also check this links for additional information.

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm

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

http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419

http://www.netweaverguru.com/EDI/HTML/IDocBook.htm

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

serialization /people/alessandro.guarneri/blog/2006/11/26/content-based-serialization-dynamic-queue-name-in-xi

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File

IDOc testing - /people/suraj.sr/blog/2005/12/29/generate-test-case-for-an-idoc-scenario

/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc

/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File

/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm - collecting IDocs without BPM

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File

Regards

Chilla

<i>reward points if it is helpful..</i>

Former Member
0 Kudos

Hi

Check these links also

Check these links for idoc

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

I hope this will answer your question

regards

--- prasad

Former Member
0 Kudos

Oh Chilla...

Got some questions...

what are all the Idocs available?.

Where i can find all IDOC?.

Can i create custome IDOCS?.

which IDoc is for what?. How will i know this?. Can i see description?.

Former Member
0 Kudos

Hi,

what are all the Idocs available - go to WE 30 click on f4 you can find the list of idoc's (by defult you can find the standard idoc's and if you need custom idoc's you can select the radio button Extension IDOC in WE30 )

Where i can find all IDOC - tcode : WE30

Can i create custome IDOCS - You cancreate , first create the segment in WE31 and create the Custom IDOC in WE30 link the segments to IDOC.

which IDoc is for what - go to WE60 or WE61

you can find the reagarding IDOC documentaion.

How will i know this, Can i see description - you need to read some good documentaion regarding all the steps IDOC..so that you will familiar what IDOC what it does.

Regards,

Venu.

Former Member
0 Kudos

let me add to it.

IDOC is a container(text file) used by SAP to transfer data from one system to other system.

Remember,data transfer is between SAP to SAP only.

it can be understood by SAP only.

and sap has given N number of IDOCS .

<b>ALE,EDI,IDOCS by ARVIND NAGAPAL is the best book to learn IDOCS.</b>

Cheers,

Raghavesh

Former Member
0 Kudos

Ash,

You need to know the Idoc name and import into into XI. Do map all the fields in which are in red. If you want to know the documentation of a particular idoc use WE60 tcode in R3. Also do the settings which needed to be done from R3 to XI if you are sending idocs. Check this document for settings:

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

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters

Also if you have any specific question let us know?

---Satish

Former Member
0 Kudos

Hi ,

Can you please tell me which software component should be imported to IR for IDOC scenario .

Like product ECC 6.0 contains no of software components ,to import IDOC in XI , which software component should be imported in XI

Former Member
0 Kudos

Hi Satish ,

Can you tell me which software component should be imported to XI to work on IDoc , since the ECC 6.0 product contains no of software components which software component can be used to import with IDOC in XI

Thanks

agasthuri_doss
Active Contributor
0 Kudos