‎2006 Jan 18 10:19 AM
Hi All!
In a IDoc the control record data in EDIDC table will be updated by the system automatically or else we have to give mapping details to it.Since in the Data section EDIDD we are giving the mapping details.
I would like to know if anyway r we supposed to make any partner profile entries into the control record or this is a system controlled record.
Please clarify.
Points will be awarded.
Thanks in advance
Kumar
‎2006 Jan 18 10:22 AM
‎2006 Jan 18 10:22 AM
‎2006 Jan 18 10:23 AM
WE NEED TO fill details like
rcvprn,
rcvprt,
docnum
etc......
we need to fill edidd details in a loop for every docnum
‎2006 Jan 18 10:23 AM
The control info in the EDIDC table is actually picked up from the partner profiles.
You can maintain partner profiles for your Idocs in we20 transaction.
‎2006 Jan 18 10:25 AM
After generating the partner profiles the system will automatically fills the control record of the IDOC and stores it in EDIDC table
‎2006 Jan 18 10:28 AM
‎2006 Jan 18 10:28 AM
Hi Praneeth,
Yes, you have to give the all the Partner and Port information in EDIDC too. See the sample code .....
select control information from edp13
select * from edp13 into edp13
up to 1 rows
where mestyp eq c_message_type
and rcvprn = c_rcvprn
and idoctyp = c_idoc_type.
endselect.
i_edidc-direct = C_1. "Outbound
i_edidc-outmod = edp13-outmod. "Collective processing
i_edidc-rcvprn = edp13-rcvprn. "Partner number of receiver
i_edidc-rcvpor = edp13-rcvpor. "Receiver port
i_edidc-rcvprt = edp13-rcvprt. "Partner type of receiver
i_edidc-rcvpfc = edp13-rcvpfc. "Partner function of recipient
i_edidc-mestyp = edp13-mestyp. "Message type
i_edidc-mescod = edp13-mescod. "Message code
i_edidc-mesfct = edp13-mesfct. "Message function
i_edidc-test = edp13-test. "Test flag
i_edidc-idoctp = edp13-idoctyp. "Idoc Type
i_edidc-cimtyp = edp13-cimtyp. "Extension to Basic type
i_edidc-std = edp13-std. "EDI standard
i_edidc-stdvrs = edp13-stdvrs. "Version of EDI standard
i_edidc-stdmes = edp13-stdmes. "EDI message type
Hope it helps. Reward points if it is helpful.
Thanks
Suresh