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: 

ALV

Former Member
0 Kudos

I'm using REUSE_ALV_GRID_DISPLAY to display a list. In this list the first column is a check box ( reference to my first field of my internal table).

I use the user command callback to catch the changes

FORM alv_user_command USING ucomm LIKE sy-ucomm

selfield TYPE slis_selfield.

DATA : ref1 TYPE REF TO cl_gui_alv_grid.

CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'

IMPORTING

e_grid = ref1.

CALL METHOD ref1->check_changed_data.

CASE sy-ucomm.

WHEN '&ROL'.

PERFORM choix_roles.

ENDCASE.

ENDFORM. "alv_user_command

It works !!!!

Next, I call a second ALV in the perfom choix_roles. I also have a checkbox as in first ALV to choose lines. I use the same method to catch the changes but it doesn't work

1 ACCEPTED SOLUTION

Former Member
0 Kudos

if u had written the below line , remove that and try out

wa_layout-box_fname = 'CHECKBOX'.

2 REPLIES 2

Former Member
0 Kudos

if u had written the below line , remove that and try out

wa_layout-box_fname = 'CHECKBOX'.

Former Member
0 Kudos

change ref1 to ref2 in ur 2nd ALV and call the FM 'GET_GLOBALS_FROM_SLVC_FULLSCR' again

or

try as suggested by ramesh