-
What is the function module in ALV'S to get subtotals
What is the function module in ALV'S to get subtotals
Question asked by visitor Charath
-
Junior Member
Re: What is the function module in ALV'S to get subtotals
In order to get the suotal of the particular filed we need to handle the sorting for the report. Declare a structure like SLIS_T_SORTINFO_ALV.
and here
do the coding as follows
it_SORT-SPOS = '1'.
it_SORT-FIELDNAME = 'fld1'.
it_SORT-UP = 'X'.
it_SORT-SUBTOT = 'X'.
APPEND I_SORT.
Pass this in the display function module and
IT_SORT = I_SORT
and you would get the subtotals
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules