Application Development and Automation 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: 

how to bring the subtotal and grand total text when using cl_salv_table class

former_member617564
Participant
0 Kudos
544

Hi everyone,

can any one tell me how to bring

the subtotal and grand total text when we are using cl_salv_table class.

Regards,

Chitme

3 REPLIES 3

DoanManhQuynh
Active Contributor
0 Kudos
367

CL_SALV_TABLE don't have the handle for subtotal text. you have 1 option to create a hidden text column contain the subtotal text and hide it, then add that text column to a sort object with option subtotal = true, that make it visible in subtotal line only. you may do the same with total text.

UweFetzer_se38
Active Contributor
0 Kudos
367

Can you please user tag ABAP Development and delete the other tags? Thank you.
(and by the way: I don't understand your question. If you want to add totals and subtotals -> there are lots of answers already here on SCN)

Sandra_Rossi
Active Contributor
0 Kudos
367

I didn't how I was a tag ! 😄

Use @ before someone's name to inform him/her.