on 04-12-2016 2:50 AM
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi
Please check SXMB_MONI for proxy monitorting apart from this u need to check smq1 and smq2 for queue monitoring.
Regards
Nagur
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ravi,
This is definitely an issue with target field "AOTR_STAT" because it clearly shows that under the 65th row your field "AOTR_STAT" is not getting created.
Please follow below steps.
1. Open the Inbound Payload in SXMB_MONI, right click on the payload and choose "View
Source".
2. Copy the Payload from the displayed Notepad.
3. Take the mapping name from Trace, in this case your mapping name is
"CDR_RefundData_To_ERP_RefundData".
4. Go to ESR and click on the option "Find" which is present just below to the Environment Menu
bar.
Put your mapping name in the "Attributes" and click on "Search".
(The above procedure is to go to the correct mapping and to avoid the conflicts).
5. Once your mapping is opened, go to Test Tab and paste your payload in "Source Text View".
6. Then go to "Definition" tab and then go to target structure and search for your field name
"AOTR_STAT".
7. Once you are able to see the target field then double click on it to see the mapping in Mapping
Editor.
8. Then right click on the target field(in Mapping Editor area) and see the queues. Then you should be able to see the "null" output in 65th position, except that all the other positions(Ex: 1 to 64
positions) will have some value i.e. the corresponding source filed is not populated the source
structure in 65th position.
Thanks,
Venkat.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
Hi Ravi,
Can you show the mapping for the field AOTR_STAT.
Please include the test payload as well, so that exact error can be pointed out.
Regards
Anupam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your source for the error is pretty clear.
/ns1:CDR_RefundData_ERP/row[65]/AOTR_STAT
The issue is with the 66th occurrence of ROW field AOTR_STAT. You would need to take the Input Payload and then further process the same through your design time ( ESR ) to understand why the mapping for this field fails.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.