Hi Gurus,
I have final internal table gt_final like below
Material Batch Reason Quantity
503 Batch1 A 100
503 Batch1 A 200
503 Batch1 Q 85
503 Batch1 Q 75
503 Batch1 B 75
503 Batch1 B 75
Here reasons, A = Unrestricted Stock, Q = Quality Stock, B = Blocked Stock.
Here I need to sum the quantites based on the batch and reason, that means I need to display in output like below
gt_final is the final internal table.
Material Batch Reason Quantity
503 Batch1 A 300
503 Batch1 Q 160
503 Batch1 B 150
Please guide me on this.
Thanks and Regards,
Muralikrishna Peravali