I am trying to do mapping of ASC945 -> DELVRY01(SHPCOND).
Here i get detail from ASC945 file as :
Lineitem Material Qty Entry Unit Batch1
Lineitem Material Qty Entry Unit Batch2
Lineitem Material Qty Entry Unit Batch3
By mapping i wish to transform same for EDIEDL24 segment for lineitem as
Lineitem Material Qty Entry Unit ------>Addition of header row
Lineitem Material Qty Entry Unit Batch1
Lineitem Material Qty Entry Unit Batch2
Lineitem Material Qty Entry Unit Batch3
Example ASC945 may give me
010 F00001 1 CS Batch1
010 F00001 1 CS Batch2
010 F00001 1 CS Batch3
020 F00002 2 CS Batch4
020 F00002 2 CS Batch5
020 F00002 1 CS Batch6
I need to actually pass to segment of mapping as:
010 F00001 3 <Inclusion of header row with total qty>
010 F00001 1 CS Batch1
010 F00001 1 CS Batch2
010 F00001 1 CS Batch3
020 F00002 5 <Inclusion of header row with total qty>
020 F00002 2 CS Batch1
020 F00002 2 CS Batch2
020 F00002 1 CS Batch3