cancel
Showing results for 
Search instead for 
Did you mean: 

RuntimeException in Message-Mapping transformation

Former Member
0 Kudos

Hello Experts,

After i send a message using SMTP protocol through RWB i get the following error in SXMB_MONI

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

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

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

<SAP:P3>RuntimeException in Message-Mapping transformation</SAP:P3>

<SAP:P4>: Cannot produce target element /ns0:AGIISEntityN~</SAP:P4>

<SAP:AdditionalText />

<SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_Master_data_Email_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:AGIISEntityN~</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

I have alrteady tested mapping object MM_Master_data_Email in IR.

Also I have checked the source and destination structures and their mapping.

Kindly advice, how to resolve the error.

Thanks,

Elizabeth.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

check whether you have assaigned correct message mapping to the Interface mapping and also test the Interface mapping .

Tested with the SAME payload?

Did you Activate Interface mapping?

Former Member
0 Kudos

Hello Experts,

Thnks for all your inputs.

Resolved this error.

It was due to a wrong date input, payload was of an old date, whereas current date was required.

Regards,

Elizabeth.

former_member200962
Active Contributor
0 Kudos

Check the node/ field validations imposed in this mapping program: MM_Master_data_Email

Confirm that the runtime payload is satisfying them.

Regards,

Abhishek.

Former Member
0 Kudos

Are you able to test the mapping with th e same payload what you are trying to sent ?

If yes go to SXMB_MONI and take the Inbound payload and try to compare the same and check is there any differences in the structure ....

if you are using multi mapping then need to take care of message1 node.. (i.e no need to pass the same in payload...)

Rajesh

prateek
Active Contributor
0 Kudos

Test the same payload in Interface Mapping and check if it is working.

Regards,

Prateek

Former Member
0 Kudos

Hi Prateek,

Thanks for your reply.

I checked it for Interface Mapping also. It is working successfully.

Anything else i am missing out?

Regards,

Elizabeth.