on 04-27-2005 4:11 PM
Hi,
I have a source XML from which I wish to create IDOC-XML and forward to the IDOC adapter to post to an R/3 system. I wish to create IDOCS with a sender partner type of 'KU' and a sender partner number which I wish to copy from the source XML document. I have read the How to sample IDOC-XI scenarios but I still cannot get this to work. Whenever the IDOC is created in the R/3 system is still has a sender partner type of 'LS' and a partner number taken from the sender business system.
To summarise - how do I map the customer number from the source XML-payload and use this to set the sender partner number and type for use by the IDOC adapter.
Many thanks
Ian
HI Ian,
You have to set the header mapping (sender and receiver) in the receiver agreement for the idoc. U have to set the schema as 'ALE#KU' and select the SNDPRN value from the idoc.
Thanks,
Sasi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check this out.They will help u.
/people/sravya.talanki2/blog/2005/12/02/manipulating-idoc-control-records-from-payload
/people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sravya,
Thanks for your blog & reply:
I have changed my receiver agreement to map the sender party to /ORDERS05/IDOC/EDI_DC40/SNDPRN and set the schema to ALE#KU
& for Receiver party to /ORDERS05/IDOC/EDI_DC40/RCVPRN.
I'm receiving the following error message , can you please look into it :
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_INV_SND_PARTY</SAP:Code>
<SAP:P1>http://sap.com/xi/XI</SAP:P1>
<SAP:P2>ALE#KU</SAP:P2>
<SAP:P3>5229</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Unable to convert sender XI party http://sap.com/xi/XI/ALE#KU/5229 to an IDoc partner</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Hi Sasi,
I have now solved the problem. Many thanks for your help. Points awarded
Regards
Ian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sasi,
Thanks for your response.
I have changed my receiver agreement to map the sender party to /WPUFIB01/IDOC/EDI_DC40/SNDPRN and set the schema to ALE#KU but now I get the following error :-
<SAP:Code ATTRIBUTE_INV_SND_PARTY</SAP:Code>
<SAP:P1>http://sap.com/xi/XI</SAP:P1>
<SAP:P2>ALE#KU</SAP:P2>
<SAP:P3>998A</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Unable to convert sender XI party http://sap.com/xi/XI/ALE#KU/998A to an IDoc partner</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Does this mean I have to create a party for every possible entry in the sender party? Won't I have a problem as the party cannot contain numerics as a first character?
Regards
Ian
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 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.