Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ALV Grid handle toolbar button Insert Row.


I have created an editable ALV grid using the class CL_GUI_ALV_GRID. when I press the insert row button on the ALV grid toolbar it inserts a line and it is working fine.

Now I want to catch the ucomm for this button and put my logic.

Here the problem starts, the event user_command is not triggered here, instead my data_changed event is getting triggered.

whereas if I click on other buttons like refresh, or sort, the event is correctly triggered and my method is correctly executing.

is there any way to handle the button insert row, delete row etc.,? Or Am I doing anything fundamentally wrong here?

Thanks and Regards,


Former Member
Not what you were looking for? View more on this topic or Ask a question