2018 Aug 13 9:01 AM
Hi experts. I just want to ask your logic behind this problem on how to do it in ABAP. I am just new in ABAP and i need this as a requirement for my report.
For example I have an internal table consisting the ff structure.
SO - Customer - Materialno - Materialgroup2 - Liters
001 - James - 1 - GroupA - 5
001 - James - 2 - GroupA - 10
001 - James - 3 - GroupB - 20
002 - John - 2 - GroupA - 10
002 - John - 3 - GroupA - 10
002 - John - 4 - GroupB - 20
002 - John - 5 - GroupB - 5.
I need to add it by customer, billing doc, and by their material group2. Now the final output of the internal table should be like this.
SO - Customer - MaterialGroup2 - Liters
001 - James - GroupA - 15
001 - James - GroupB - 20
002 - John - GroupA - 20.
002 - John - GroupB - 25.
2018 Aug 13 11:24 AM
2018 Aug 13 11:24 AM