on 07-10-2007 8:14 AM
i have a file to IDOC scenario,
in which there is a mapping between file and the IDOC structure,
can u guide me if i disable the EDI_DC40 segment of IDOC in the mapping, how exactly, the IDOC gets the value of
1. sndprn(sender partner number)
2. sdnpor(sender port)
3. rcvprn(receiver partner number)
4. rcvpor(receiver port)
and can i map this value explictly in mapping from the file..or so
Hi
If u disable EDI_DC40 and uncheck Apply Control Record Values from Payload in the IDoc receiver communication channel, then the control record fields are filled from SLD.
If you have set the Apply Control Record Values from Payload indicator in the receiver IDoc adapter, the following fields are filled from the IDoc-XML payload.
Refer this link.
http://help.sap.com/saphelp_nw04/helpdata/en/13/95244269625633e10000000a155106/content.htm
Regards,
Dava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you disable EDI_DC40, the Logical System name of the sender bsuiness system and receiver Bsuiness System is taken as the value for SNDPRN and RCVPRN respectively.
If you want to set these values in Mapping, then do it and then select option Take Sender From Payload and Take Receiver From payload in the Idoc adapter
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Bhavesh,
<<the Logical System name of the sender bsuiness system and receiver Bsuiness System is taken as the value for SNDPRN and RCVPRN respectively>>
but what about senderport and receiverport? how is it taken by the IDOC,
and if i do "Apply control record values from the payload".........do i need to fill all the values in the payload.....or there are some optionals and some mandatory
Sender Port and Receiver Port will always have values SAP+SYSID of your XI server and R3 respectively.
Read through the link pointed by the rest. It explains what fields havbe to contain values when you select ApplyControlRecord From Payload.
It has the list of fields. Also read through the note pointed above.
The SNDPRN and RCVPRN and SNDPRT and RCVPRT can be manipulated only by selecting Take Sender From Pyaload and Receiver from Payload.
Regards
Bhavesh
<i>and can i map this value explictly in mapping from the file..or so </i>
>>
yes you can. Do it in your mapping and in the IDoc recv. adapter, use the option Apply Control Record Values from Payload
http://help.sap.com/saphelp_nw04/helpdata/en/96/791c42375d5033e10000000a155106/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The idoc will fail
This is a mandatory segment.
Note 728792 - IDoc adapter: Fields of the IDoc control record
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
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.