Skip to Content

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,

P1.JPG (65.6 kB)
PI E1.JPG (67.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 26, 2014 at 09:58 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 26, 2014 at 08:50 AM

    Hi Sudhir,

    Seems there is no Context being passed from Source to Target...

    Map either IDOC node from source to all the msg (or with Constant [])...map as follows:

    IDOC ---> MESSAGES

    IDOC ---> MESSAGES1

    IDOC ---> MESSAGES2   

    IDOC --> InboundDelivery_MT

    IDOC --> InboundDeliveryItem_MT


    Regards,

    Azhar

    Add comment
    10|10000 characters needed characters exceeded