Code: Alles auswählen.
PROCESS BEFORE OUTPUT.
* MODULE STATUS_0400.
*
module set_screen_number.
MODULE create_grid.
CALL SUBSCREEN SUB_COND
INCLUDING g_prog g_subscreen.
PROCESS AFTER INPUT.
* MODULE USER_COMMAND_0400.
CALL SUBSCREEN SUB_COND.
Code: Alles auswählen.
*---------------------------------------------------------------------*
*Class event handler definition
*Doppelklick
*---------------------------------------------------------------------*
CLASS lcl_event_handler DEFINITION.
PUBLIC SECTION.
*Double-click control
METHODS:
handle_double_click
FOR EVENT double_click OF cl_gui_alv_grid
IMPORTING e_row e_column es_row_no,
*--Hotspot-click auf Unfallhergang ------------------
handle_hotspot_click
FOR EVENT hotspot_click OF cl_gui_alv_grid
IMPORTING e_row_id e_column_id es_row_no.
PRIVATE SECTION.
ENDCLASS. "lcl_doubleclick_receiver DEFINITION
CLASS lcl_event_handler IMPLEMENTATION.
*Handle Double Click
METHOD handle_double_click.
PERFORM handle_double_click USING e_row e_column es_row_no .
ENDMETHOD . "handle_double_click
*--Hotspot-click auf Unfallhergang ------------------
METHOD handle_hotspot_click .
PERFORM handle_hotspot_click USING e_row_id e_column_id es_row_no .
ENDMETHOD . "handle_hotspot_click
ENDCLASS. "lcl_doubleclick_receiver DEFINITION