on 03-27-2007 2:18 AM
Hi I am doing a simple File to IDOC :
here is my source file in the interface mapping while testing
<?xml version="1.0" encoding="UTF-8"?>
<ns:VENDOR xmlns:ns="http://www.GMS_TRAINING/File2IDOC">
<VendorNumber>13000</VendorNumber>
<LastName>Joseph</LastName>
<SearchName>mathew</SearchName>
<Currency>USD</Currency>
<Address>
<Street>4001</Street>
<City>texas</City>
<Zip>75634</Zip>
<Country>US</Country>
</Address>
</ns:VENDOR>
and the result:
<?xml version="1.0" encoding="UTF-8"?>
<CREMAS03>
<IDOC BEGIN="1">
<E1LFA1M SEGMENT="1">
<MSGFN>009</MSGFN>
<LIFNR>13000</LIFNR>
<ANRED>COMPANY</ANRED>
<KTOKK>LIEF</KTOKK>
<LAND1>US</LAND1>
<NAME1>Joseph</NAME1>
<ORT01>texas</ORT01>
<PSTLZ>75634</PSTLZ>
<SORTL>mathew</SORTL>
<STRAS>4001</STRAS>
</E1LFA1M>
</IDOC>
</CREMAS03>
I copied the source file to the server(the first xml file) and received the following error in the moni :
<?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_IDOC_RUNTIME</SAP:Code>
<SAP:P1>MSGGUID 0756CEE0DBFD11DBBDFA000FEA9FDF4E: Tag #TEXT found instead of tag IDOC BEGIN=</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error: MSGGUID 0756CEE0DBFD11DBBDFA000FEA9FDF4E: Tag #TEXT found instead of tag IDOC BEGIN=</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Any help is highly appreciated
Thanks Bhavesh and chilla .
It got resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Look at the final payload / response payload in MONI. Does it confirm to what you have shown above?
I think in the output of the mapping in runtime the IDOC tag does not contain the BEGIN = 1 attribute. And this is the problem.
regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the mapping with source payload xml in SXMB_MONI. so that you can understand the runtime error.
See the mapping standards
idoc mapping - /people/james.guanzon/blog/2006/03/23/how-to-support-industry-standards-in-xi-part-ii-of-iii--mapping
Chilla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.