Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Grandtotal by currencies in ALV

Former Member
0 Kudos

hi experts,

i want to get grandtotal by all currency display in last record in ALV... how do i do like that?

thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

Check the program in below thread.

http://www.saptechnical.com/Tutorials/ALV/Total/text.htm

Thanks,

Dasari

3 REPLIES 3

former_member188685
Active Contributor
0 Kudos

Need to do 2 steps.

1. Specify do_sum = 'X' in the fieldcatalog of the currency field

2. Populate the sort table based on currency key

sort-fieldname = 'WAERS'.

sort-up = 'X'.

sort-subtot = 'X'.

append sort to it_sort.

use this it_sort in the Function/Method call

0 Kudos

let say i have 3 currency in my int table.

so

grand total INR 100.00

USD 290.00

SGD 123.00

i want my grand total display like that...how?

Former Member
0 Kudos

Hi

Check the program in below thread.

http://www.saptechnical.com/Tutorials/ALV/Total/text.htm

Thanks,

Dasari