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: 

column selected in a ALV

Former Member
0 Kudos
72

As I can capture or recognize a column selected in a ALV ?

1 ACCEPTED SOLUTION

marcelo_ramos
Active Contributor
0 Kudos
52

Hi,

You can use the method "GET_SELECTED_COLUMNS" from class "CL_GUI_ALV_GRID".

Regards.

Marcelo Ramos

2 REPLIES 2

Former Member
0 Kudos
52

I'm not sure if you can recognize more selected colums, but you can definitely read the column name which is selected as the first in the field catalog.

If it runs to user_command form, you'll find it in the rs_selfield-fieldname. The rs_selfield structure itself will provide you with more information what might be useful, check it yourself.

Filip

marcelo_ramos
Active Contributor
0 Kudos
53

Hi,

You can use the method "GET_SELECTED_COLUMNS" from class "CL_GUI_ALV_GRID".

Regards.

Marcelo Ramos