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: 

Subtotal_text in CL_GUI_ALV_GRID

Former Member
0 Kudos

Hi,

I am doing subtotal depending on plant. I need to display plant description in the subtotal text. Is it possible?

Thanks and regards,

Madhu

1 REPLY 1

uwe_schieferstein
Active Contributor
0 Kudos

Hello Madhu

You can define the subtotals using IMPORTING parameter <b>IT_SORT</b> of method <b>SET_TABLE_FOR_FIRST_DISPLAY</b>.

This parameter has <b>LVC_S_SORT</b> as line type. I guess that field lvc_s_sort-<b>SELTEXT</b> represents the text displayed in the subtotal row.

Regards

Uwe