on 03-11-2008 1:58 PM
Hi Experts
what is the gap between EDIDC and EDI_DC40. All outbound idocs from my sap system contains the control records in EDIDC rather i want to have it in the format EDI_DC40 because based on EDI_DC40 mapping is performed. How to find the gap between EDIDC and EDI_DC40 and fix it up by populating appropriate data in EDI_DC40 from the outbound side (r3) ?
thkx
Edited by: Prabhu S on Mar 11, 2008 2:58 PM
Prabhu,
>populating appropriate data in EDI_DC40 from the outbound side (r3) ?
To do the above you would need to fill EDIDC to modify the control records.
>what is the gap between EDIDC and EDI_DC40
I believe the following happens.though not sure 100%...
First the EDIDC is filled up.
Subsequently somewhere before the Idoc is generated call is made to IDOC_CTRL_INBOUND_CONVERT or could be some other code where data inside EDIDC is transferred to EDI_DC40 based on the release.
Regards,
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi vijaya and swarup
thkx for your response. Yeah i got the point that it is based on the SAP release. I'm working on ECC but in the IDOC test toll WE19 the strucutre EDIDC is seen and why not EDI_DC40? But when the idoc is imported into IR or when i check the IDOC XML is can view the data in EDI_DC40 format.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prabhu,
you are right it is just because of R/3 versions. In XI both structres are compatible...
I think you can import the IDOC as it is in IR and can map it with the structre on receiver end.
You are already aware with The mapping fields so I don't think you will get any probs.
It will work as normal way...
Thanks
Swarup
Hi,
All the idoc header information is stored in the dictionary table EDIDC that is controle information for idoc it contains all the information like
1>who is sender.
2>who is receiver
3>which is the message type
4>between which logcal system
5>in which port idoc to be send to receiving ligical system
6>what is idocid
all information are stored in this table
that port what you created by the transaction WE21 that port you have to assign here
Probably this kind of mapping will help you
WA_EDIDC-MANDT = SY-MANDT.
WA_EDIDC-MESTYP = 'ZMSG_TYP'.
WA_EDIDC-IDOCTP = 'ZIDOC_TYP'.
wa_edidc-cimtyp = c_temp.
WA_EDIDC-RCVPRN = '<Port>'.
WA_EDIDC-RCVPRT = 'LS'.
WA_EDIDC-CREDAT = SY-DATUM.
WA_EDIDC-CRETIM = SY-UZEIT.
append wa_edidc to it_edidc.
This information you could compare with teh structure of EDI_DC40
Following links may help you-
/people/sravya.talanki2/blog/2005/12/02/manipulating-idoc-control-records-from-payload
/people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified
/people/ravikumar.allampallam/blog/2005/02/28/creating-sales-order-through-idoc
Thanks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi swarup
thkx for the reply but i'm aware of how the edidc table is appended. my query is the deff between edidc and edi_dc40. as i read the sap help it was mentioning abt some release version that edi_dc40 is for release verion 4. what does this imply and need to more info on my question regarding edidc and edi_dc40.
Hi,
You are absolutly right.
edidc is the table where all control record information is maintained for the IDOC and the edi_dc40 is the structure to carry individual IDOC sepcific the information.
While processing the IDOC you need to fill-up this table and that will make the information available in the control record as per the structure edi_dc40.
The difference is the way of representation.
Thanks
Swarup
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.