on 05-05-2006 11:59 AM
Hi guys,
I have an IDOC to IDOC scenario and my IDOC is being posted to the R3 system succesfully.
My problem is ,in the R3 system , <b>I need to change the values populated for the CONTROL RECORD especially , for the SNDPRN , SNDPFC , RCVPRN , RCVPRT.</b>
While doing my mapping , I have mapped the constant values to these fields as I want them. When I check the payload in SXMB_MONI, it is showing the values I want. But, when the IDOC reaches R3 , the values seem to change.
In my IDOC adapter I have selected the option APPLY <b>CONTROL RECORD FROM THE PAYLOAD</b>
Any idea as to why the values are not coming as expected on the R3 side? Am i missing some configuration?
I also saw some info on using <b>HEADER MAPPING</b> while doing RECEIVER AGREEMENT, but could not make sense out of it.
looking forward to some useful tips,
regards,
Bhavesh
hi,
1. did you have a look at my weblog:
/people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified
2. you can change this with:
Take Sender from Payload
Take receiver from Payload
(fomr Sp14 as far as I remember)
3. you can also use the header mapping in the
receiver agreemtnt to change those values
but use option 2 if you can first
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi michal,
your blog was the starting point for what I am trying. I did take a look at it.
In your blog, you mention that all values are taken from the pay load.
<i>Now the control record will be filled with those parameters:
TABNAM, SNDPOR, MANDT, DOCNUM, DOCREL, RCVPOR, ARCKEY, SERIAL, MESTYP, IDOCTYP, CIMTYP
SNDPRN, SNDPRT, SNDPFC, RCVPRN, RCVPRT, RCVPRT, STATUS, DIRECT OUTMOD, CREDAT, CRETIM</i>
But, the online documentation states,
<i>The values for the following fields are filled by the configuration in the Integration Directory.
SNDPRN SNDPRT SNDPFC RCVPRN RCVPRT RCVPFC</i>
And then goes on to mention a table of fields which are populated if the option <i>Apply Control Record Values from Payload</i> is selected and none of the abobe fields are a part of that list.
Is there any thing that is being missed here?
Finally, can you elaborate more on your 2nd point. Am not able to understand what you are hinting at.
Thanks,
Bhavesh
HI Bhavesh,
Only fields you can change by 'Apply Control Record Values from Payload ' are
http://help.sap.com/saphelp_nw04/helpdata/en/13/95244269625633e10000000a155106/content.htm
Whe you are making your receiver agreement, you will see four checkbox at the bottom, the data is picked up from there if you update it. Sender Party, Receiver Party, Sender Agreement and Receiver agreement.
Regards
Vijaya
for:
take sender and receiver from payload have
a look at this:
http://help.sap.com/saphelp_nw04/helpdata/en/96/791c42375d5033e10000000a155106/content.htm
Regards,
michal
hi,
>>>>In your blog, you mention that all values are taken from the pay load.
I did not mention that....
>>>>TABNAM, SNDPOR, MANDT, DOCNUM, DOCREL, RCVPOR, ARCKEY, SERIAL, MESTYP, IDOCTYP, CIMTYP
SNDPRN, SNDPRT, SNDPFC, RCVPRN, RCVPRT, RCVPRT, STATUS, DIRECT OUTMOD, CREDAT, CRETIM
this is only when you diable edi_dc40 and there values
are not from the payload - scenario one - read it once more
Apply Control Record Values indicator is described in scenario 2
if you want to change the sender or receiver
use the <i><b>take sender/receiver from payload</b></i>
indicator in the receiver idoc adapter
BTW
please read weblogs more carefully
Regards,
michal
User | Count |
---|---|
86 | |
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.