Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ALV GRID Do_Sum

Hi Guru's

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.

Please help.

Regards

Archana

Tags:
Former Member
replied

hi,

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.

clear fieldcatalog.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question