Skip to Content
avatar image
Former Member

MAPPING.EXCEPTION_DURING_EXECUTE

Hi Gurus,

I am working on SOAP to Proxy Scenario in PI7.3,

Following is the error messge I am getting while testing with SAOP UI

<SOAP:Body>

      <SOAP:Fault>

         <faultcode>SOAP:Server</faultcode>

         <faultstring>System Error</faultstring>

         <detail>

            <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

               <context/>

               <code>MAPPING.EXCEPTION_DURING_EXECUTE</code>

               <text>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_Autopurchaseorder_IB_; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns0:MT_AutoPurchaseOrder_IB/PurchaseOrderNumber. Values missi~</text>

            </s:SystemError>

         </detail>

      </SOAP:Fault>

   </SOAP:Body>

</SOAP:Envelope>

Does anyone knows where is the problem?

Thanks In advence,

Amar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Apr 02, 2013 at 05:51 PM

    Hi Amarendra,

    The error is clearly saying that there is issue to populate the Target Field <MT_AutoPurchaseOrder_IB/PurchaseOrderNumber>. Open Message Mapping, copy paste the Payload from SXMB_MONI to your Mapping Test Tab and try Display Queue for 'PurchaseOrderNumber' field. It will show the queue and missing values. You can also try with 'mapWithDefault' function.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 02, 2013 at 06:24 PM

    Problem with test data, as per your mapping logic /data type for mandatory field data not available in source data.

    Debug mapping.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 03, 2013 at 12:05 AM

    The error clearly shows that mandatory values for the target element is missing at the mapping or sender source side. Copy the data from SXMB_ MONI and paste it in the ESR mapping tool and diagnose the error.

    Use this good link for understanding queue context and finding out  missing  values in the mapping

    http://scn.sap.com/people/riyaz.sayyad/blog/2006/04/23/introduction-to-context-handling-in-message-mapping

    Add comment
    10|10000 characters needed characters exceeded