Skip to Content

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

[Mapping] Entries appear twice in queue

Hi,

got this source structure:

<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Req xmlns:ns0="http://test">
   <MessageID>13123</MessageID>
   <CommunicationStyle>Synchronous</CommunicationStyle>
   <Parameter id="AIRLINEID">AZ</Parameter>
   <Parameter id="CONNECTIONID">0789</Parameter>
   <Parameter id="FLIGHTDATE">20071017</Parameter>
</ns0:MT_Req>

All fields (even the message) are 1:1. Only parameter is 0..unbounded.

I will map this to BAPI_Flight_CheckAvailability where message and fields are 1..1.

I would like to check the value of attribute id and map the value of parameter to

one of the target fields.

In my mapping the queue looks like this:

SUPPRESS

AIRLINEID

AIRLINEID

CONNECTIONID

CONNECTIONID

FLIGHTDATE

FLIGHTDATE

Because the target structure got condition 1..1 the mapping failed.

Why does the entries appear twice?

thanks

chris

Former Member
Former Member replied

Hi,

The queue showing the details are perfect. You are able to view the structure like below

SUPPRESS

AIRLINEID -


Value of the field

AIRLINEID -


This Context Change ( Not appear twice)

CONNECTIONID --- Value of the field

CONNECTIONID --- This Context Change ( Not appear twice)

FLIGHTDATE -- Value of the field

FLIGHTDATE --- This Context Change ( Not appear twice)

To get the idea on this just use removecontext which is available in Nodefunctions it will remove all context changes and would shown to you like

SUPPRESS

AIRLINEID

CONNECTIONID

FLIGHTDATE

FLIGHTDATE -- Context change.

Hope it will give the clear idea to u

Cheers

Veera

>>> Reward Points,If it is needful

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