cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping error at Node level wrt Multiple Message Type

yarnagula_sudhir
Active Participant
0 Kudos


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,

Accepted Solutions (1)

Accepted Solutions (1)

praveen_sutra
Active Contributor
0 Kudos

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

yarnagula_sudhir
Active Participant
0 Kudos

Hi,

Find the below attachments:

Even though in PI, it shows the data been uploaded into the target system, the respective target system tables are not filled.

As we didn't map the Messages/Message 1/ Message 2, Is that a problem?

Kindly suggest me the solution.

Note: Find the below Payload in the attachment.

With Regards,

Sudhir.

azharshaikh
Active Contributor
0 Kudos

Hi Sudhir,

With the  payload that you gave, are you able to test it in MM - Test Tab successfully?

Ur IDOC seems to be empty without any data?

In your moni, did you Click on Open Message button and check the Input / Output Payloads if they are correct?

And when you are trying to post data through RWB, you don't need to add the Extra Tags Message and Message1 (these get added at runtime)...can you try to post the attached file from RWB and check.

Regards,

Azhar

yarnagula_sudhir
Active Participant
0 Kudos

Hi,

Kindly find the attachment below.

Idoc is not empty. I'm passing the values. Kindly check Segment 20 and 24 and its corresponding ZSegments also.

In ESR, mapping was successfully, target message type received the values.

In RWB, message been sent and in MM received that message as delivered.

Still the receiver tables are not filled. what may be the reason. Kindly let me know.

With Regards,

Sudhir.

azharshaikh
Active Contributor
0 Kudos

Hi Sudhir,

Please check in Message Monitor (Open Message), if your able to see the Output Payload.

Give screenshot

Regards,
Azhar

yarnagula_sudhir
Active Participant
0 Kudos

Hi,

Thank you for your reply.

Yes i can see output payload.

Find the screen shot and output payload file.

Answers (1)

Answers (1)

azharshaikh
Active Contributor
0 Kudos

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

yarnagula_sudhir
Active Participant
0 Kudos

Hi,

Thank you for your reply. But it didnt work.

Following is the error:

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

Note: I'm passing all the mandatory fields. May be problem with NODE LEVEL.

Kindly let me know.

With Regards,

Sudhir.

azharshaikh
Active Contributor
0 Kudos

Hi Sudhir,

What is the error you are getting now? Can you give screenshot of your MM and Test payload that you are using? Check display Q for the error target field

I hope in your Test payload tab, you are passing the Message & Message1 nodes?

Regards,

Azhar

yarnagula_sudhir
Active Participant
0 Kudos

Hi,

Find the below attachments:

Even though in PI, it shows the data been uploaded into the target system, the respective target system tables are not filled.

As I didn't map the Messages/Message 1/ Message 2, Is that a problem?

Kindly suggest me the solution.

Note: Find the below Payload in the attachment.

With Regards,

Sudhir.