cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

MAPPING:EXCEPTION_DURING_EXECUTE

ravi_reddy1
Participant
0 Likes
2,795

Hi Experts,

My scenario is JDBC to proxy,

while testing i am getting following error in moni.

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

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

<SAP:P2>com.sap.aii.mappingtool.tf7.MessageMappingExceptio</SAP:P2>

<SAP:P3>n: Runtime exception when processing target-field</SAP:P3>

<SAP:P4>mapping /ns1:CDR_RefundData_ERP/row[65]/AOTR_STAT~</SAP:P4>

<SAP:AdditionalText />

<SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_CDR_RefundData_To_ERP_RefundData_; com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception when processing target-fieldmapping /ns1:CDR_RefundData_ERP/row[65]/AOTR_STAT~</SAP:Stack>

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

</SAP:Error>

please tell me the reason why this error occurs.

Regards,

Ravi

AP:





View Entire Topic
ravi_reddy1
Participant
0 Likes

Hi Praveen/Bhavesh

while testing in ID using Payload in testconfig I am getting error in Operation mapping.

see the screenshot for the same.

please do the needful.

Regards,

Ravi

Former Member
0 Likes

Hi Ravi,

You need to test the mapping in the repository.

Regards,

Praveen.

ravi_reddy1
Participant
0 Likes

Hi Praveen,

while testing in MM I am getting the following error.

Please do the needful.

Regards

Ravi

Former Member
0 Likes

Hello Ravi,

From SXMB_MONI,Select the payload option then right click->view source.

Use the XML obtained you wont get this error in mapping.

ravi_reddy1
Participant
0 Likes

Hi Raghuraman,

Same way I checked but no use , same error I am getting.

please see above I shared some screenshots in ID level and Mapping level .

please do the needful

Regards,
Ravi

Former Member
0 Likes

Hello Ravi,

Error is clearly because of the missing field in the target structure.

After which step you took the XML?

Take the inbound message payload(first step in Moni) and view source and test it.

If still getting the error, populate some dummy values in mapping and check. Then you can confirm the incoming data is not coming proper format.

Former Member
0 Likes

Hi Ravi,

You have not copy properly the XML. That exception is raised because you have not write right the XML declaration (<?xml version="1.0" encoding="UTF-8"?>), may be you have written a blank before the declaration.

Regards.

ravi_reddy1
Participant
0 Likes

Dear Raghuraman,

I taken payload from first step payload only.

see for your confirmation.

and also I checked in MM using dummy values its working fine. see the same .

ravi_reddy1
Participant
0 Likes

Hi Vila,

I taken the payload from the moni --> payload---> viewsource.

and also XML declaration is fine

Regards,

Ravi

Former Member
0 Likes

Did you right click on the payload window and click view source and copy the payload and test?

ravi_reddy1
Participant
0 Likes

Yes Praveen.

Regards,

Ravi

ravi_reddy1
Participant
0 Likes

Hi Praveen,

while testing in operation mapping using the payload I am getting following error:

Error: "white space is required before the encoding pseudo attribute in the xml declaration"

what is exactly this error?

Regards,

Ravi

Former Member
0 Likes

Hello Ravi,

Did you follow the steps I mentioned.

Give some dummy values and check. If its working then the input XML might be wrong.

ravi_reddy1
Participant
0 Likes

Hi Raghu,

I am getting same error in other interface also .

I think its payload error?

could you please suggest me compare with first error with now given error.

Regards

Ravi

Former Member
0 Likes

Hello Ravi,

Yes.

What is occurrence of AOTR_STAT, Guess it should be 1.

So this field is expected in target ,Since its not generated it is failing.

ravi_reddy1
Participant
0 Likes

Hi Raghu,

     actually that field AOTR_STAT is not present in structure.

     I checked in data type in sender and receiver but  I am not seen this field.

    

     is it really field (AOTR_STAT)??

why I am asking is same error I am getting in two different interfaces?

Please do the needful.

Regards

Ravi

Former Member
0 Likes

Ravi,

Are you using any java mapping as well also check for any parameters in the mapping.

ravi_reddy1
Participant
0 Likes

Hi Raghu,

its only one to one graphical mapping..

Regards,

Ravi

nitindeshpande
Active Contributor
0 Likes

Hi Ravi,

This error is due to the space is not provided in between the version and encoding of XML declaration.

It must be this way - <?xml version="1.0"  encoding="UTF-8"?>

But you might have removed the space by mistake and given it this way -

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


Can you also attach the complete XML?


Regards,

Nitin

Ask a Question