Hi SDNites,
I have a mapping scenario in which values has to be summed up after sorting the records. Can you please guide how can this be done i.e. can it be achieved using message mapping without UDF or do I need to use UDF mandatorily?
Input,
VBELN POSNR MATNR QTY
123 10 MAT1 2
234 10 MAT1 4
123 20 MAT2 5
123 30 MAT1 3
123 10 MAT1 8
234 10 MAT1 3
234 20 MAT2 4
Output,
VBELN POSNR MATNR QTY
123 10 MAT1 10 (Value summed up)
123 20 MAT2 5
123 30 MAT1 3 (Same material but not summed as different position)
234 10 MAT1 7
234 20 MAT2 4
I have to produce the right vbeln, posnr, matnr against the summed up quantity. Can you please advise how can this be achieved.
Regards,
Abhi