Skip to Content
Dec 18, 2006 at 07:25 AM

Grouping in ALV Grid



I am using ALV in OOP to display the output. I have a couple of fields in which the values are repeated. i have to group the data based on these fields and display the subtotal for each group.

the scenario is something like this.

I have to display the invoice numbers and totals for all vendors in the grid including the vendor number and name. I want the vendor name and number to be displayed only once and the various invoice numbers and totals for each vendor and the subtotal for each vendor and finally the grand total.

how should i do it? Pls help.