2023 May 23 3:31 AM
Hi experts!
Can someone teach me on how to get SUM of totals with different currency and display it on the bottom of the ALV display, im using cl_salv_table
its like
1.000.000.000 IDR ->total in IDR
921.678,65->total in USD
grand total = 1.092.167.865->in IDR
2023 May 23 9:13 AM
Have you tried to modify the created object property refered to cl_salv_table, such as adding aggregation?
2023 May 23 9:30 AM
Lots of questions and answers exist in the forum. No doubt that you can find example code.
You may also search get_sorts and get_aggregations.
cl_salv_table sum site:sap.com
2023 May 23 10:08 AM
To find your answer, I'll just add to sandra.rossi 's comment (answer) this:
your_grid->get_columns( )->get_column( )->set_currency_column( ).