12-03-2008 7:02 AM
Hi,
how to display subtotals of netvalues currency wise at bottom of alv grid display ?
Thanks & Regards ,
PRadeep
12-03-2008 7:05 AM
Hi ,
at sort section use this..it sort lifnr wise and do sum..
FORM sort_alv .
wa_sort-spos = 1.
wa_sort-fieldname = 'LIFNR'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
APPEND wa_sort TO it_sort.
ENDFORM. "sort_alv
Hope Helpfull
Raghunath.S
12-03-2008 7:05 AM
Hi ,
at sort section use this..it sort lifnr wise and do sum..
FORM sort_alv .
wa_sort-spos = 1.
wa_sort-fieldname = 'LIFNR'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
APPEND wa_sort TO it_sort.
ENDFORM. "sort_alv
Hope Helpfull
Raghunath.S
12-03-2008 7:08 AM
thanks for ur reply.but, i want to display totals currency wise only at the bottom of list
12-03-2008 7:10 AM
hi,
use this.
fieldcatalog-fieldname = 'WRBTR'.
fieldcatalog-REF_TABNAME = 'BSEG'.
fieldcatalog-seltext_l = 'TRANSACTION CURRRENCY'.
fieldcatalog-col_pos = 17.
fieldcatalog-cfieldname = 'WAERS'. < ----- you should give this
fieldcatalog-do_sum = 'X'.
fieldcatalog-emphasize = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
12-03-2008 7:10 AM
12-03-2008 7:14 AM
For above replies , the totals will be displayed only at the middle of list i;e; before currency changes .but i want to display them at the bottom of list
12-03-2008 7:18 AM
For example if u want to display at end of particulat item,
then use at end of ebeln (ex).
....
endat.
12-03-2008 7:20 AM
Hi Jansi Dorai ,
i am displaying in alv grid and i want at bottom of list.
Regards,
Pradeep
12-03-2008 7:36 AM
Hi Gautam,
my problem solved by following ur code .
Thanks a lot and i am closing this thread.
With Regards,
Pradeep
12-03-2008 7:37 AM
12-03-2008 7:08 AM