‎2007 Dec 17 6:43 AM
Hi guys,
I have controlled the GUI of ALV by using the suggestion below by Ramesh... but I have a question...
Is it possible to remove the USING rt_extab TYPE slis_t_extab from the FORM set_pf_status USING rt_extab TYPE slis_t_extab?
I tried removing it, but he program dumps...
Thanks a lot always...
rgds,
Mark
in SE41
copy Program SAPLKKBL
Status STANDARD
to ur Program ZPROGRAM
Status ZSTANDARD
in ur Z program
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = repid
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
-
-
below of ur program write these 2FOMS...
FORM set_pf_status USING rt_extab TYPE slis_t_extab.
*PF status of program 'SAPLKKBL' is 'STANDARD' is copied for standard
*options(buttons)
SET PF-STATUS 'ZLSTANDARD'.
ENDFORM. "set_pf_status
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
CASE sy-ucomm.
WHEN 'SAVE'.
*write ur code here
WHEN 'BACK'.
*write ur code here
WHEN 'EXIT'.
*write ur code here
ENDCASE.
ENDFORM. "user_command
‎2007 Dec 17 8:16 AM
hi,
don't remove parameters from subroutines,
if you don't want to change the status, or if you want to change the status,
you can change the excluding tab or load another status within the subroutine!
‎2007 Dec 17 8:16 AM
hi,
don't remove parameters from subroutines,
if you don't want to change the status, or if you want to change the status,
you can change the excluding tab or load another status within the subroutine!