Skip to Content
0
Dec 10, 2021 at 12:03 PM

ALV CL_GUI_ALV_GRID: Event BUTTON_CLICK does not work after inserting new row

118 Views

Hi

SAP_BASIS 750 0017

ALV CL_GUI_ALV_GRID. Editable.

There is a colum that is a button (FIELDCAT-HOTSPOT & FIELDCAT-STYLE).

Clicking the buton triggers event BUTTON_CLICK.

Method ON_BUTTON_CLICK (registered as event handler vor event BUTTON_CLICK) handels event.

This works fine except when before clicking the button a new row is inserted with the standart button insert row. Then the event is not triggered (at least the handler is not called). Other events (F4, DATA_CHANGED) are still triggered.

Any ideas? Thanks!

Regards

Alexander