Hi all,
Iam doing the subtotal based on id on alv output
Iam doing subtotal programtically
wa_sort-spos = 1.
wa_sort-fieldname = 'ID'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
wa_sort-comp = 'X'.
append wa_sort to it_sortcat.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = v_repid
i_callback_top_of_page = 'TOP-OF-PAGE'
it_fieldcat = fieldcatalog[]
it_sort = it_sortcat[]----
i_save = 'X'
it_events = it_events
say i see like
id amount
1 1
1 2
1 3
1 4
10 --subtotal
2 1
2 4
2 6
11 -
subtotal
21 -
total. i don't need this .Right now iam seeing this
can any one tell how to achieve this
Thanks