ALV GRID Do_Sum
I have written a zreport where i have used ALV Grid.
In ALV grid we can display the sum of the columns. Now in a column we are displaying amount in document currency and the document currency can be different for every transaction for a single customer.
Now I want to dispaly the sum for different currencies separately at the bottom.
How can i do it.
Gautham Vangaveti replied
use cfieldname option in fieldcatelog structure.
fieldcatalog-fieldname = 'WRBTR'.
fieldcatalog-REF_TABNAME = 'BSEG'.
fieldcatalog-seltext_l = 'TRANSACTION CURRRENCY'.
fieldcatalog-col_pos = 17.
fieldcatalog-cfieldname = 'WAERS'.
fieldcatalog-do_sum = 'X'.
append fieldcatalog to fieldcatalog.