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