cancel
Showing results for 
Search instead for 
Did you mean: 

MAPPING.EXCEPTION_DURING_EXECUTE

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

nabendu_sen
Active Contributor
0 Kudos

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.

Answers (2)

Answers (2)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

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-m...

rajasekhar_reddy14
Active Contributor
0 Kudos

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

Debug mapping.