Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

IDOC

Former Member
0 Likes
348

hi,

what is the difference between master idoc and communication idoc .how many communication idoc are generated for one master idoc .

2 REPLIES 2
Read only

Former Member
0 Likes
320

Hi,

IDOC architecture can be categoried in to three records.

1) CONTROL RECORD.

2) DATA RECORD.

3) STATUS RECORD.

1) CONTROL RECORD: Control record controls the transfer of data, it holds the

IP Address of sender system

IP Address of receaver system

Application details( MESSAGE TYPE).

2) DATA RECORD: data record holds the data in the form of Segments.

segment is nothing but group of fields which are belongs to one functional module.

3) STATUS RECORD.

it describes the status of the genarated IDOC.

we can create IDOC by using EXECUTABLE PROGRAM, CHANGE POINTERS and MESSAGE TYPES.

Idocs are generated at run time.

We r having one master idoc and many communication Idocs (for each recipient one communication idoc is generated)

Master Idocs are deleted after communication Idocs are generated. communication Idocs are stored in database,master Idocs are not.

Communication idocs are generated by ALE service layer.

Transactions for Idocs are

WE 30 -


Idoc creation

WE31----


Segment Creation

follow this for more information on IDOC's.

http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/IDOC_tutorial.html

http://sap.niraj.tripod.com/id51.html

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

ALE/ IDOC

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://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.allsaplinks.com/idoc_sample.html

ALE/ IDOC/ XML

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

Regards,

Priyanka.

Read only

Former Member
0 Likes
320

HI.

As the Idoc contains mainly three parts in it. They are the

1. Control Record

2.Data Record

3.Status Record.

The Master Idoc contains only the information regarding to the data which we are sending to the partnet system or the reciever, like the PO data or the Sales Order Data.

But the Communication Idoc also contains the aboive details along with the Parnter system name and the port name and the status record of the paricular idoc.

The no.of cmmunications Idocs for a given master idoc depends on the no.of receivers to which the idoc should be sent.

For example for the same Master idoc if 2 recievrs exsits then two cmmunication idocs would be generated.

Regards

Rajesh.