cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping: EXCEPTION_DURING_EXECUTE

Former Member
0 Kudos

Hello experts,

I have a scenario where an Idoc - HTTp scenario.The message gets triggered from RWb, but in SXMB_MONI ir gives the following error:

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

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

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

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

<SAP:P3>Fatal Error: com.sap.engine.lib.xml.parser.ParserE</SAP:P3>

<SAP:P4>xception: XML Declaration not allowed here.(:main~</SAP:P4>

<SAP:AdditionalText />

<SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_ORDRSP_ORDERS05_to_ORDER_DATA_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main~</SAP:Stack>

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

I tested the Message mapping with the same payload, it works.

Pls advice as to what is going wrong.

Thanks in advance,

Elizabeth.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hI

Use a tool to check your XML message maybe have spaces in blanks or another characters.

Former Member
0 Kudos

Jacob,

Since you said you are triggering it from RWB hope you are sending to integration engine. Please check whether you have any unwanted spaces in the begining of the payload which may sometimes cause this kind of error. Also make sure you have correct binding like message interfaces and namespaces.

Regards,

---Satish