on 12-10-2008 9:34 AM
Hi there
I have an Idoc receiver in a scenario where I send a Idoc from a file to the R/3 system. My config is all fine but the Idoc status in we19 shows red. My Header data for the idoc is incorrect. The idoc is WALREQ01. In my Message Mapping Im setting the SDNPOR, SDNPRT, SDNPRN, RCVPOR, RCVPRN to the correct values and the I activate the scenario but in we19 it still shows the incorrect idoc header. It does however change the idoc segment data, just not the header. Is there maybe some other place I have to set the Idoc header data?
Thanx,
Jan
Hi Jan,
Run the end to end scenario, not from WE19, then you will get the correct result.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jan,
In your File to IDoc scenario, you must be having file at the source end either in your File system or Network File system, Just place the file in the source directory mentioned in File Sender communication channel and activate everything in Integration Directory.
End to end means just Run the scenario in XI once, you will get appropriate Control data in we02.
Thanks!
Oh ok cool thanx but I've tried several idocs, redone my message mapping a couple of times each time only the segment data gets updated If I view it in we02 or we19 it still shows the same header data. The very first time I created the scenario I used constants for the header data just to see if the idoc reaches the R/3 system. It got the but with an "error" status so now the header data stays on that constants I set the first time. Im looking for a way to reset it or update the idoc header. Could not find anything so far.
Thanx,
Jan
Edited by: Jan de Lange on Dec 10, 2008 11:22 AM
Thats what Im aiming for but if I change the constants it does not get changed when the idoc gets created, the header data was set the first time I ran the scenario but from there on it stayed on the constant values I set the first time even if I change the constant values. I definatly uses that message mapping because the segment data gets uodated in each attemp.
Hi Jan,
From help.sap:
Apply Control Record Values from Payload
If you set the indicator, the conversion of communication parties to the IDoc partner is only possible for systems that are not logical systems.
If you do not set the indicator, all combinations of communication parties and services are handled as services without party.
If the IDoc XML structure contains a control record during outbound processing on the Integration Server, it is rejected and created again by the IDoc adapter. If you want to include additional values in the control record, set the indicator and provide an appropriate mapping for the values. See also: Fields of the IDoc Control Record
http://help.sap.com/saphelp_nw04/helpdata/en/13/95244269625633e10000000a155106/content.htm
Carlos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In receiver Idoc CC, did you check the option adapter specific to take data from payload?
It is Apply Data from Payload exactly.
Thanks!
Edited by: Sudhir Tiwari on Dec 10, 2008 10:45 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.