10-08-2008 9:27 AM
Hi
I am using class CL_GUI_ALV_GRID to display ALV control. I need to display "totals" line in the last line of the grid. Can you please help me, how display this without using saved variant?
Thanks.
10-08-2008 9:32 AM
In the fieldcat pass do_sum = 'X' for the field u want to see total
10-08-2008 9:32 AM
In the fieldcat pass do_sum = 'X' for the field u want to see total
10-08-2008 2:26 PM
OK, thanks, tah works ... and now I would like to add some subtotals ... how can I do it?
thank you in advance.
10-13-2008 5:41 AM
Pass table IT_SORT in ur method SET_TABLE_FOR_FIRST_DISPLAY with FIELDNAME = 'your field name' UP = 'X' SUBTOT = 'X'. This field name should have DO_SUM = 'X' in ur fieldcat.
Sorry for a late reply as i have not noticed this post.
Regards
Sathar
10-08-2008 2:26 PM
marked as unanswered
Edited by: Rastislav Mojzis on Oct 8, 2008 3:26 PM
10-13-2008 8:52 AM