Hi all,
I am trying to use "user_command" in ALV grid...in order to give my own functionality to the menu buttons. Program is giving my short dump.....saying "In a subroutine call, there were parameters than in the routine defination USER_COMMAND"
<b>Here is my source code-</b>
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_structure_name = 'ZMYSTRUCT'
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
i_callback_pf_status_set = 'SET_PF_STATUS'
it_events = it_event
it_sort = it_sort
TABLES
t_outtab = itab.
ENDFORM. "display_grid
FORM user_command.
CASE sy-ucomm.
WHEN 'EXIT'.
LEAVE PROGRAM.
ENDCASE.
ENDFORM. "USER_COMMAND
Regards,
pradeep phogat