Code: Alles auswählen.
*Descriptions and definition of classes
CLASS lcl_dchandler DEFINITION DEFERRED.
DATA: dcreceiver TYPE REF TO lcl_dchandler.
...
CLASS lcl_dchandler DEFINITION.
PUBLIC SECTION.
METHODS:
handle_double_click
FOR EVENT double_click OF cl_gui_alv_grid
IMPORTING e_row e_column.
ENDCLASS.
CLASS lcl_dchandler IMPLEMENTATION.
METHOD handle_double_click.
READ TABLE t_2 INDEX e_row-index INTO wa_1.
PERFORM double USING e_row-index.
leave to transaction '???'.
ENDMETHOD.
ENDCLASS.
...
[color=blue]PBO
after building container[/color]
CREATE OBJECT dcreceiver.
SET HANDLER dcreceiver->handle_double_click FOR grid_name.