因此如果我们需要查看在ALV GRID中我们能够使用哪些method或者那些Event,只需要在Repository Browser中选择Class/Interfase然后输入CL_GUI_ALV_GRID,就可以查看到所以已经定义好的menthod以及events等等。言归正传,在这次试验中我们需要实现一个ALV Grid的Dobule Click事件,我们在CL_GUI_ALV_GRID的Events中可以找到一个"D...
DOUBLE_CLICK is an event in the ALV grid control and this is triggered when the user double clicks a selected cell. On double click of a particular sales document number in ALV Grid control, the display sales order details transaction should be displayed (TCODE: VA03). i have place the ...
METHODS handle_double_click FOR EVENT double_click OF cl_gui_alv_grid IMPORTING e_row e_column. METHODS handle_top_of_page FOR EVENT top_of_page OF cl_gui_alv_grid IMPORTING e_dyndoc_id. ENDCLASS. "cl_events DEFINITION *---* * CLASS cl_events IMPLEMENTATION *---* CLASS cl_events ...
CLASS lcl_event_handler DEFINITION. PUBLIC SECTION. CLASS-METHODS : handle_hotspot_click FOR EVENT hotspot_click OF cl_gui_alv_grid IMPORTING e_row_id e_column_id es_row_no, handle_double_click FOR EVENT double_click OF cl_gui_alv_grid IMPORTING e_row e_column es_row_no. PRIVATE SE...
I have a class for handling ALV event. Within one method of event handler, another method of the event handler is called. The two methods are created by METHODS ... FOR EVENT ... OF CL_GUI_ALV_GRID. How can I raise the double click in the other method of the same event handling ...
ENDCLASS."grid_event_receiver DEFINITION 二,实现handler_double_click方法。在handler_double_click事件中首先根据传进来的Node_key,调用NODE_GET_PARENT 方法来获取其父节点,调用NODE_GET_CHILDREN方法来获取孩子节点。然后根据父节点子节点来判断我们在右边的alvgrid中将要显示什么数据。最后创建alvgrid对象grid1的实例...
on_double_click FOR EVENT double_click OF cl_gui_alv_grid IMPORTING E_ROW E_COLUMN ES_ROW_NO ENDCLASS. Last you implement your coding: What has to be done, if a user makes a doubleclick: CLASS lcl_event_handler IMPLEMENTATION. METHOD on_double_click. ... ENDMETHOD. ENDCLASS. In the...
class lcl_event_receiver: local class to handle event DOUBLE_CLICK class lcl_event_receiver definition. public section. methods: handle_double_click for event double_click of cl_gui_alv_grid importing e_row e_column, change_fcode for event before_user_command of cl_gui_alv_grid importing e...