Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10498

Mapping: Values are populating in wrong order into the target structure

$
0
0

Hello Guru's

 

I am doing the scenario IDOC to XML. During the mapping values are not populating in the same order in which I have defined the target structure. I am mapping different fields from different segments to different hierarchical structure fields in target. Pls see the below screens shot for more explanation.

 

 

But the output is in different order. Here is result XML.

 

 

<ShptCtryFinalDest>MO</ShptCtryFinalDest>

 

 

-<Invoice>

 

 

-<InvoiceFreightAndOtherCharges>

 

 

<ChargeCode>INV</ChargeCode>

 

 

<FromCurrCode>USD</FromCurrCode>

 

</InvoiceFreightAndOtherCharges>

</Invoice>

 

-<Invoice>

 

 

<InvoiceNo>1000019790</InvoiceNo>

 

 

<InvoiceDate>20130215</InvoiceDate>

 

</Invoice>

 

+<Item
As per the definition InvoiceNo and InvoiceDate should come first under <Invoice> Node and then <InvoiceFreightAndOtherCharges>. Can you pls suggest how to do it.
Thanks
Arun

 


Viewing all articles
Browse latest Browse all 10498

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>