‎2007 Apr 10 6:46 AM
Hi Gurus,
What is the difference between the 2 following statements for idoc.
data: control_record like edidc.
data: int_edidd type table of edidd with header line.
and
data: int_edi_dc type edi_dc.
data: int_edi_dd type table of edi_dd with header line.
what is the difference between
1) edidc and edi_dc
2) eidd and edi_dd
Points will be awarded
Regards
Ravi
‎2007 Apr 10 6:49 AM
Hi,
<b>edidc for IDOC control Record and edidd for IDOC Data record </b> are database tables
where as <b>edi_dc and edi_dd</b> are interface structures .
reward if useful
regards,
Anji
Message was edited by:
Anji Reddy Vangala
Message was edited by:
Anji Reddy Vangala
‎2007 Apr 10 6:49 AM
Hi,
<b>edidc for IDOC control Record and edidd for IDOC Data record </b> are database tables
where as <b>edi_dc and edi_dd</b> are interface structures .
reward if useful
regards,
Anji
Message was edited by:
Anji Reddy Vangala
Message was edited by:
Anji Reddy Vangala
‎2007 Apr 10 7:04 AM
Hi Ravi,
EDI_DC and EDI_DD are structures.
EDIDC and EDIDD are transparenttables.
Hope this helps you, reply for queries, Shall post you the updates.
Regards.
Kumar. .
‎2007 Apr 10 7:06 AM
Hi Ravi,
I think you want to know the difference between Control Records and Data Records , Every IDOC has three types of records ,
1, Control Records - Which will have the IDOC number , from where the IDOC has come , Port details Etc.....
2, Data Records - Which is nothing but the Header and Item level datas as like as in the SAP Documents (Eg Sales Order)
3, Status Records - Which holds the Current and all the previous status of the IDOCs.
Generally in programs while creating the IDOC through codes we will populate the Control and Data records , and according to the status the status records will be generated by the system after an IDOC has written to database & Posted.
Hope this helps !!!!!!!!!!!!!!!!!
Regards,
Senthil N S
‎2007 Apr 10 7:10 AM
Hi,
The difference between is
1) edidc and edi_dc
-
EDIDC- It is a transparent table which holds the control record information.
EDI_DC-It is a structure.
2) edidd and edi_dd
-
EDIDD ->It is a structure for Data record (IDoc)
EDI_DD->it is a structure for Data record for the interface to the EDI subsystem
Regards,
Nagaraj
‎2007 Apr 10 7:31 AM
Hi Ravi,
When an IDOC is created either Inbound or Outbound the
Control record data of the IDOC is stored in the table <b>EDIDC</b> and
Data records of the IDOC are stored in the table <b>EDIDD,EDID4</b> etc..
but <b>EDI_DC and EDI_DD</b> are interface structures for Control and Data records of IDOC repectively.These structures are basically used in standard sap programs.
Hope the solution clarifies your query.
Thanks and Regards,
Sivasubramanian R.K