‎2008 Feb 14 1:10 PM
CLASS lcl_event_handler DEFINITION .
PUBLIC SECTION .
METHODS :
handle_button_click
FOR EVENT button_click OF cl_gui_alv_grid
IMPORTING e_ucomm.
PRIVATE SECTION.
ENDCLASS. "lcl_event_handler DEFINITION
While Compiling i am receiving an error which says " Formal Parameter "E_UCOMM" does not exist..."
Can anyone tell me why this is happening
Regards
Gopal
‎2008 Feb 14 1:37 PM
Hi,
Please go to transaction SE24 and enter class name as CL_GUI_ALV_GRID. On entering with Display button, go to the event tab. Find the BUTTON_CLICK event and place cursor on it. Click on Parameters Button.
You will see two parameters
ES_COL_ID
ES_ROW_NO
Hence since "e_ucomm" does not exist here, the error is occuring.
However there is an event MENU_BUTTON which has a parameter E_UCOMM. Hence probably you've got the event wrong in your definition there.
Cheers,
Aditya
‎2008 Feb 14 1:37 PM
Hi,
Please go to transaction SE24 and enter class name as CL_GUI_ALV_GRID. On entering with Display button, go to the event tab. Find the BUTTON_CLICK event and place cursor on it. Click on Parameters Button.
You will see two parameters
ES_COL_ID
ES_ROW_NO
Hence since "e_ucomm" does not exist here, the error is occuring.
However there is an event MENU_BUTTON which has a parameter E_UCOMM. Hence probably you've got the event wrong in your definition there.
Cheers,
Aditya
‎2008 Feb 14 1:44 PM