Agrega estas lineas a tu funcion user_command...
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = sy-cprog
i_callback_user_command = 'USER_COMMAND'
i_structure_name = 'REPORTE'
i_callback_pf_status_set = 'SET_PF_STATUS'
i_save = 'A'
is_layout = gd_layout
is_variant = gd_variant
it_fieldcat = fieldcatalog[]
tables
t_outtab = reporte.
...
...
...
form user_command using r_ucomm like sy-ucomm
rs_selfield type slis_selfield.
rs_selfield-col_stable = 'X'.
rs_selfield-row_stable = 'X'.
rs_selfield-refresh = 'X'.
|