Skip to Content
avatar image
Former Member

Mapping error

Hi experts,

I am getting message mapping error. Here I am testing with two xml files both are same structure. For one message I am getting successful message and another one I am getting error message.

Here I am using java mapping to add the xml version tag and

*1st one is I took from XI mapping. If use this message I am not getting error.*

<MESSAGE><TABLENAME>ZMPSXMSGDET</TABLENAME><ACTION>I</ACTION><RECORD><XMTYPE>UD</XMTYPE><XMID>4</XMID><ACCOUNTNUMBER/><CONSUMERNAME/><POSTCODE/><ACTIONDATE/><ACTIONTYPE/><USERID/><SENDINGPARTYTYPE/><DELIVERYMETHOD/><INTENDRECIPIENT/><SUBMITDATE/><BILLINGOPTION/><CONTENTFORMAT>CSV</CONTENTFORMAT><NEWSUPPLIERID/><COMPRESSED>Y</COMPRESSED><NEXTINVOICEDATE/><UPDATEDON/><UPDATEDBY>SonicMQ</UPDATEDBY><RAWMSG_LEN>74135</RAWMSG_LEN><DATA>UEsDBBQ</DATA></RECORD></MESSAGE>

*2nd one is my client is given. If I use this message I am getting error.*

<MESSAGE><TABLENAME>ZMPSXMSGDET</TABLENAME><ACTION>I</ACTION><RECORD><XMTYPE>UD</XMTYPE><XMID>4</XMID><ACCOUNTNUMBER/><CONSUMERNAME/><POSTCODE/><ACTIONDATE/><ACTIONTYPE/><USERID/><SENDINGPARTYTYPE/><DELIVERYMETHOD/><INTENDRECIPIENT/><SUBMITDATE/><BILLINGOPTION/><CONTENTFORMAT>CSV</CONTENTFORMAT><NEWSUPPLIERID/><COMPRESSED>Y</COMPRESSED><NEXTINVOICEDATE/><UPDATEDON/><UPDATEDBY>SonicMQ</UPDATEDBY><RAWMSG_LEN>74135</RAWMSG_LEN><DATA>UEsDBBQ</DATA></RECORD></MESSAGE>

*I am getting below error message*

<?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>

what is the porble. pleae let me know.

Thanks

Srinivas

Edited by: srinivasreddy p on Jun 17, 2009 12:58 PM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jun 17, 2009 at 11:06 AM

    1st one is I took from XI mapping

    Have you taken this from Interface Mapping? The structure in test tab of mapping is a proper xml message while the structure your client is sending is not.

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Could you paste that content of the client given XML in message mapping and try executing it. Check whether you are getting any error or not.

      I hope this error is due to some validation you have built in the mapping. Please check if the data provided is correct and the file same specified in the Sender CC and file placed in source directory are having the same name.

      Regards,

      Nithiyanandam

  • avatar image
    Former Member
    Jun 18, 2009 at 04:05 AM

    Hi

    Check the namespcae given to u r Sender File Adapter configuration is same as u r Mapping Outbound Interface namesapce.

    If not make it same.

    rgds

    srini

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 25, 2009 at 04:18 AM

    tank you Amit

    Add comment
    10|10000 characters needed characters exceeded