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