Skip to Content
1
Former Member
Jun 29, 2007 at 05:05 PM

Mapping question.

10 Views

Hello,

We have a source message like this, (there can be many order inside orders)

<Orders>

<Order>

<OrderNumber>VI433345</OrderNumber>

<Internal>

<MaterialCode>I2234</MaterialCode>

<Quantity>100</Quantity>

</Internal>

<External>

<MaterialCode>E9987</MaterialCode>

<Quantity>50</Quantity>

</External>

</Order>

<Orders>

The target message structure expected is like this, (we need to remove the internal/external definition and create lines with ordernumber , materialcode and quantity) In this example one order, will result in 2 record in the target structure.

<Records>

<Record>

<OrderNumber>VI433345</OrderNumber>

<MaterialCode>I2234</MaterialCode>

<Quantity>100</Quantity>

</Record>

<Record>

<OrderNumber>VI433345</OrderNumber>

<MaterialCode>E9987</MaterialCode>

<Quantity>50</Quantity>

</Record>

</Records>

Can anyone please help?

Thanks.