Hi all,
To add a push button in alv, I have copie the pf-status 'Standard' to my program, named 'Zstandard' ,and added button to the status.
and added parameters in ALV function like:
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = repname
i_callback_pf_status_set = 'SET_PF_STATUS'
FORM set_pf_status USING rt_extab TYPE slis_t_extab.
DATA: wa_extab TYPE slis_extab.
wa_extab-fcode = '&OAD'.
APPEND wa_extab TO rt_extab.
wa_extab-fcode = '&AVE'.
APPEND wa_extab TO rt_extab.
SET PF-STATUS 'ZSTANDARD' EXCLUDING rt_extab .
ENDFORM. "Set_pf_status
But still I am not able to display the pf-status.
can anybody tell me step bu step procedure to add push button in ALV.
thanks,
sudheer