Skip to Content
0
Sep 20, 2005 at 02:06 PM

Delete row in ALV

419 Views

Hi,

I am working on an interactive ALV list. As per the requirement I have been able to remove the standard delete button through the following technique:

...

...

ls_exclude = cl_gui_alv_grid=>mc_fc_loc_delete_row.

append ls_exclude to pt_exclude.

...

It is working fine and the delete button is removed from the tool bar as required. But it is still possible to delete a row by selecting the row and pressing the 'Delete' key in the key board. Can anyone tell be how to stop this. I have already gone through various SDN postings and "An easy reference for ALV grid control.pdf" but could not find any clue.