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: 
Read only

subtotal text using CL_SALV_TABLE

Former Member
0 Likes
1,245

How do I add text for the subtotal row when creating ALV report using CL_SALV_TABLE. Essentially I would like to do something similar to gd_layout-subtotals_text = 'Subtotal' which is used in REUSE_ALV_GRID_DISPLAY. Although I must say I have not been able to make that work either.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,061

Yes I checked CL_SALV_SORTS and could not find any method or attribute that I could use to set subtotal_text.

5 REPLIES 5
Read only

Former Member
0 Likes
1,061

Have you checked in class CL_SALV_SORTS?

Greetings,

Blag.

Read only

Former Member
0 Likes
1,062

Yes I checked CL_SALV_SORTS and could not find any method or attribute that I could use to set subtotal_text.

Read only

0 Likes
1,061

I got 46C at the office...So can't help you more than that -:(

Greetings,

Blag.

Read only

0 Likes
1,061

Have you been able to do this using another technique to design ALV reports? I dont mind changing the report to use REUSE_ALV_GRID_DISPLAY if I can get subtotal_text using it. Thank you.

Read only

0 Likes
1,061

Nope...I had never the need to do that...

Greetings,

Blag.