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
899

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

1 ACCEPTED SOLUTION
Read only

hymavathi_oruganti
Active Contributor
0 Likes
816

we need to update the details in EDIDC.

6 REPLIES 6
Read only

hymavathi_oruganti
Active Contributor
0 Likes
817

we need to update the details in EDIDC.

Read only

0 Likes
816

WE NEED TO fill details like

rcvprn,

rcvprt,

docnum

etc......

we need to fill edidd details in a loop for every docnum

Read only

Former Member
0 Likes
816

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.

Read only

Former Member
0 Likes
816

After generating the partner profiles the system will automatically fills the control record of the IDOC and stores it in EDIDC table

Read only

0 Likes
816

hi eswar

yes, u r right

Read only

Former Member
0 Likes
816

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