Code: Alles auswählen.
CLASS lcl_event_handler DEFINITION.
PUBLIC SECTION.
METHODS:
*--Behandle Data Change
handle_data_changed FOR EVENT data_changed OF cl_gui_alv_grid
IMPORTING e_ucomm er_data_changed.
ENDCLASS.
Code: Alles auswählen.
METHOD handle_data_changed.
* Hinzugefügte Zeilen1
LOOP AT er_data_changed->mt_inserted_rows ASSIGNING FIELD-SYMBOL(<l_insert>).
IF <l_insert> IS ASSIGNED.
* tu irgendwas
ENDIF.
ENDLOOP.
ENDMETHOD.