01-09-2009 10:00 PM
Hi,
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,
Mahesh.
01-10-2009 1:30 AM
Hello Mahesh
You need to "redefine" this standard ALV function because USER_COMMAND is NOT triggered for standard functions. For more details see thread:
Regards
Uwe
01-10-2009 4:48 AM
Hi,
Thanks a lot. I will do that as per your example.Thanks for the info.
Thanks and Regards,
Mahesh.