Skip to Content
0
Former Member
Oct 09, 2009 at 10:00 PM

Question in XI 3.0

18 Views

Hi

We have a question regarding mapping complex structure

Source :

MT_1

< Shipment > ( 1 to unbounded )

<Delivery > ( 1 to unbounded )

<Item > (1 to unbounded )

deliverynumber

Material

Qty

< Item >

Requirement is to create one target file per delivery ( I can have multiple deliveries within shipment ) and within that aggregate the quantity at the material level.

I am using multi-mapping to create instance of each new file based on change of delivery number within the item node, but unable to aggreate the quantity at the item level within the delivery in each file.

How do I aggregate the quantity associated with each item within each delivery and write it to the file ?