Skip to Content
Former Member
Nov 21, 2012 at 05:50 PM

EXCEPTION_DURING_EXECUTE - Cannot create target element


Hi all,

I am working on file (EDI file) to IDOC scenario using SAP PI 7.11. I am getting the below error while posting the data.

I have taken the MONI data (payload) and executed in message mapping and Operational Mapping and it is working fine. But when i try in run time i am getting the below exception.

I am using the external definition for the target IDOC.

this is the messagge error in SXMB_MONI:

RuntimeException during appliction Java mapping com/sap/xi/tf/_MM_EntrateASYNC_OUT_to_Entrate_ASYNC_IN_ Thrown: Cannot create target element /MBGMCR02/IDOC. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD at at at at at at

The strange thing is that in the MM and OM the payload get right result, but in the runtime... no!!

I have to create many idoc as there are occurrences of tracciabilita

I don't have missing mandatory fields

Please help me in this problem.



pastedImage_2.png (20.5 kB)