Dears
I created an ALV GRID report with columns Material number,discount %,Discount amount.
Not i sorted itab based on Matnr, in the result i want to show the average at the end of each material (Sorted)
Please let me know how can i do this. (Please refer below image describing my requirement)
![abap_req.png]()