Skip to Content
0
Former Member
Oct 02, 2007 at 02:12 PM

Rows selected in an ALV_GRID with custom actions.

24 Views

Hi Experts,

I'm finishing my task with the editable ALV grid I posted in the thread

Custom button on a editable alv grid

This is the function call:

  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
       EXPORTING
            i_callback_program        = gd_repid
            I_CALLBACK_PF_STATUS_SET  = 'SET_PF_STATUS'
*            i_callback_pf_status_set = 'PF_STATUS_SET'
            i_callback_user_command = 'USER_COMMAND'
*            I_STRUCTURE_NAME        = 'ZPEDAUTOMTAB'


            is_layout_lvc           = gd_layout
            it_fieldcat_lvc         = it_fieldcat
            i_save                  = 'X'
       TABLES
            t_outtab                = gt_zpedautomtab
       EXCEPTIONS
            program_error           = 1
            OTHERS                  = 2.

All works ok excepting the fact that I can't do the ciustom actions I've defined to concrete rows c'ause i can't know wich rows has the user selected.

Does anybody know how can i know wich rows or colums has the user selected?

Thank you for your help 😊