SE41 – copy gui status from SAPLSALV Status STANDARD to your program – you status name
then add your buttons, options and the like
In your REUSE_ALV_GRID/LIST fill the parameters
(1) I_CALLBACK_PROGRAM – with your program name
(2) I_CALLBACK_PF_STATUS_SET – with the name of a subroutine of I_CALLBACK_PROGRAM which looks ike “FORM set_pf_status USING rt_extab TYPE slis_t_extab
” and contains instrution “ET PF-STATUS user status EXCLUDING rt_extab”
in rt_extab you can hide function codes (as a rule only change or add your own function codes but you can hide some standard functions)
(3) I_CALLBACK_USER_COMMAND – with the name of a subroutine of I_CALLBACK_PROGRAM, which looks like FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
R_UCOMM contains function code
in RSSELFIELD : tabname/tabindex to read the record selected etc.
No responses yet