2014 Sep 03 6:01 PM
Hello guys,
I want to add summation of fields to last row in my alv table.
Like this:
Thank you for everyone.
Regards,
2014 Sep 03 6:10 PM
Hi ,
You can populate the do_sum in the fieldcatalog as 'X' for the key figures for which you require the sum.
Regards,
Sonal
2014 Sep 03 6:05 PM
Hi
Do you mean you need to export the total from ALV into your internal table used for ALV output?
Max
2014 Sep 03 6:08 PM
Thank you Bianchi. Ok . I think it should be easiest way for this.
2014 Sep 03 6:11 PM
2014 Sep 03 6:10 PM
Hi ,
You can populate the do_sum in the fieldcatalog as 'X' for the key figures for which you require the sum.
Regards,
Sonal
2014 Sep 03 6:13 PM
Thank you Sign .how can i use 'do_sum '. can you give an example.
Regards,
BY
2014 Sep 03 6:18 PM
Hi
As Sign says you need to set the flag DO_SUM in the catalog table
I suppose you have to fill a catalog table in order to transfer the structure of your internal table to ALV, a field of catalog is DO_SUM
You should set it equal to X for all fields you need to calculate the total
Max
2014 Sep 03 6:18 PM