2009 Dec 11 4:16 PM
Hi All,
Actually I am currently working with a OOPS ALV and caught into how to calculate subtotal in OOPS ALV .
How to use the Method GET_SUBTOTALS of Class CL_GUI_ALV_GRID, or any other solutions.If u have any sample code for this plz send it to me. Is ALV also have any funtionality like at new.
Thnks for help.
Regards.
Anmol.
2009 Dec 11 4:44 PM
Hi Anmol,
declare a sort internal table and within that, you pass the field for which you want sub total and set SUB_TOT = 'X'.
and pass this internal table to the method.
Thanks,
Srini.
Hi All,
Actually I am currently working with a OOPS ALV and caught into how to calculate subtotal in OOPS ALV .
How to use the Method GET_SUBTOTALS of Class CL_GUI_ALV_GRID, or any other solutions.If u have any sample code for this plz send it to me. Is ALV also have any funtionality like at new.
Thnks for help.
Regards.
Anmol.
2009 Dec 11 4:23 PM
Hi Anmol,
Kindly search on SCN, there are some nice example demonstrating this.
Regards
Abhii
2009 Dec 11 4:44 PM
Hi Anmol,
declare a sort internal table and within that, you pass the field for which you want sub total and set SUB_TOT = 'X'.
and pass this internal table to the method.
Thanks,
Srini.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |