cancel
Showing results for 
Search instead for 
Did you mean: 

[Mapping] Entries appear twice in queue

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

I changed the context of the attribute id from field parameter to MT_Test and

it works.

Thanks. Points are given.

Answers (1)

Answers (1)

nisarkhan_n
Active Contributor
0 Kudos

check the context if you are mapping this to some other level......use remoe context and try