11-25-2014 7:31 AM
hello all,
i am stuck with a problem that i wanted to display Total for a field in ALV Grid at the bottom of the display also the text 'TOTALS'
should be displayed....
11-25-2014 7:42 AM
Hi
Maintain for a perticular field with fieldcatlog-do_sum = X. This will give u total sum of a field.
To display text as 'TOTALS', for these pass 'TOTALS' to final internal table record and append it.
11-25-2014 7:45 AM
Helo Vinay,
You can achieve it by using IT_SORT... Try by passing 'X' to the parameter subtot for the field which you want subtotal.
Refer to the long text of the parameter IT_SORT in the function module.
Regards,
Thanga
11-30-2014 5:40 PM
12-02-2014 5:38 AM
hi prakash,
in the screen below
under column COAL i wanted to display KOB1 and in the total(instead of 5) i wanted to display TOTAL COAL,
i tried all the ways ,but i was not successful , hence i displayed a numeric value like above...