Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Mapping error at Node level wrt Multiple Message Type


Hi,

Kindly find the below picture, its regarding mapping screenshot of multiple message type(Message 1 and Message 2).

The following is the error i'm getting:

Cannot create target element /ns0:Messages/ns0:Message1/ns1:InboundDelivery_MT. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one.

The following is the way that I mapped:

   (LEFT)                     (RIGHT)

MESSAGES --------> MESSAGES

MESSAGE1 ---------> MESSAGE1

MESSAGE1 ---------> MESSAGE2

Kindly let me know what is that error is all about, is it regarding mapping error at node level of MESSAGES.

Let me know the solution ASAP.

With Regards,

Former Member replied

hi Sudhir,

you could try this.

1) don't need to map

MESSAGES, MESSAGE1, MESSAGE2.

2) map InboundDelivery_MT,InboundDeliveryItem_MT,Statement,REV_ASN_HEADER with a constant blank value.

---> as that is what ur data type suggests. Everytime it must have atleast 1 occurence. so if you map it with IDOC and u dont pass IDOC data then definitely it will give error.


so my suggestion would be for all the 1..1 nodes map with constant value rather than any source node and for 1...N u can check with IDOC.


hope this helps,


thanks and regards,

Praveen T

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question