cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping trasformation error.

Former Member
0 Kudos

My scenario is File Content Sender File ---> XI -


> RFC

File adapter is picking from FTP file server and getting data into XI, what may be the reasons:

I am getting below error:

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

<SAP:P1>com/sap/xi/tf/_MP_HSA_IDnumberReq_</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>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MP_HSA_IDnumberReq_: RuntimeException in Message-Mapping transformatio~</SAP:Stack>

-


my pay load is :

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

- <ns:MT_HSA_IDNumber xmlns:ns="urn:passhe.com/UpdateIdNumberISA32">

- <Recordset>

- <IDENTIFICATION>

<STUDENT>006500001192</STUDENT>

<ID_TYPE>FS0025</ID_TYPE>

<ID_NUMBER>Temporary SSN number</ID_NUMBER>

<VALID_FROM>20070421</VALID_FROM>

<VALID_TO>20091231</VALID_TO>

</IDENTIFICATION>

</Recordset>

</ns:MT_HSA_IDNumber>

-


thanks

dhanush

Accepted Solutions (0)

Answers (6)

Answers (6)

samiullah_qureshi
Active Contributor
0 Kudos

Hi

Can you please check trace of pipeline step regarding message mapping i.e. Request Message Mapping in transaction SXMB_MONI. There you will get for which field of your structure your mapping getting failed.

Thanks and Regards,

Sami

Reward points if useful.

Former Member
0 Kudos

Hi Dhanush,

Check the message mapping and also check the file which is being picked up,if it has got values for all the required fields which are mapped.Checking the payload at the different pipeline steps will also help you in finding the exact location of the error.

Thanks and Regards,

Induja

Former Member
0 Kudos

Hi,

It is mapping error only, U can put your runtime data in Message Mapping here u can detect the error.

Regards,

Rohit.

Reward points if helpful.

Former Member
0 Kudos

Check the payload with source structure.

can u paste the source structure??

Former Member
0 Kudos

Hi Sekhar,

My source Structure:

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

<ns0:MT_HSA_IDNumber xmlns:ns0="urn:passhe.com/UpdateIdNumberISA32">

<IDENTIFICATION>

<STUDENT/>

<ID_TYPE/>

<ID_NUMBER/>

<VALID_FROM/>

<VALID_TO/>

</IDENTIFICATION>

</ns0:MT_HSA_IDNumber>

Thanks,

dhanush

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Check whether you are passing values to all the Mandatory Input Structure.

Regards

Agasthuri Doss

Former Member
0 Kudos

hi

Test your Mapping in the Repository. For this take the data from SXMB_MONI.

And check it. go to Mapping ->Test tab,

and check the weblog

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

reward points if found helpfull

regards

chandra.k

former_member181985
Active Contributor
0 Kudos

Hi,

Its clearly saying a mapping error.

Check the mapping using the same payload in IR either in message mapping or in interface mapping under TEST TAB.

Thanks,

Gujjeti