cancel
Showing results for 
Search instead for 
Did you mean: 

RuntimeException in Message-Mapping transformation

deviprasad_pothireddy
Active Participant
0 Kudos

Hi all,

I am doing a soap2rfc scenario in that i have 2 message mappings are there

there are SUM1_MM and SUM2_MM

Message mapping test(SUM1_MM)

Source test

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

<ns0:SUMOUT_MT xmlns:ns0="urn://web2rfcsum">

<NUM1>12</NUM1>

<NUM2>13</NUM2>

</ns0:SUMOUT_MT>

target result

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

<ns1:ZSUM2NUMBERS xmlns:ns1="urn:sap-com:document:sap:rfc:functions"><NUM1>12</NUM1><NUM2>13</NUM2></ns1:ZSUM2NUMBERS>

But i have seen an error in sxmb_moni

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

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

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

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

<SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>During the application mapping com/sap/xi/tf/_SUM1_MM_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</SAP:Stack>

Please solve the problem your help is memorable

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

You are getting mapping exception in message mapping(SUM1_MM)...

Check your message mapping is correctly mapped with all the required fields...

try to test the mapping with the test tab...

/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios

sekhar

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Deviprasad,

It looks like a mapping error, test your mapping in IR with the payload from SXMB_MONI. You can refer michal's weblog on <a href="/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios to test your mapping (in real life scenarios)</a>

In other words you copy the XML message from monitoring and exectute the mapping in Integration Builder with maximal trace to get the reason.

Regards,

Abhy