Skip to Content
0
Former Member
Jun 12, 2009 at 08:27 AM

Xml file error in file adapter

19 Views

Hi Experts.

In my sceanrio i am Using File dapter. this adapter pick the Xml file.

here my client provieded sample Xml file (this Xml file don't have the Url and Xml version).

I am getting mapping error. nothing is wrong with mapping.

Client proveded.

- <MESSAGE>

<TABLENAME>ZMPSXMSGDET</TABLENAME>

<ACTION>I</ACTION>

- <RECORD>

<XMTYPE>ID</XMTYPE>

<XMID>2</XMID>

<ACCOUNTNUMBER />

<CONSUMERNAME />

<POSTCODE />

<ACTIONDATE />

<ACTIONTYPE />

<USERID />

<SENDINGPARTYTYPE />

<DELIVERYMETHOD />

<INTENDRECIPIENT />

<SUBMITDATE />

<BILLINGOPTION />

<CONTENTFORMAT>XML</CONTENTFORMAT>

<NEWSUPPLIERID />

<COMPRESSED>Y</COMPRESSED>

<NEXTINVOICEDATE />

<UPDATEDON />

<UPDATEDBY>SonicMQ</UPDATEDBY>

<RAWMSG_LEN>33366</RAWMSG_LEN>

<DATA>UEsDBBQACAAIAC6kKDoAAAAAAAAAAAAAAAArAAAAS</DATA>

</RECORD>

</MESSAGE>

I am getteting blow error message: in SXMB_MONI

*<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>*

*- <!-- Request Message Mapping*

-->

- http://sap.com/xi/XI/Message/30" xmlns:SOAP=" http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>Application</SAP:Category>

<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>

<SAP:P1>com/sap/xi/tf/_MM_ZMPSXMSGDET_</SAP:P1>

<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>

<SAP:P3>Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:P3>

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_ZMPSXMSGDET_: Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Edited by: srinivasreddy p on Jun 12, 2009 10:28 AM