Skip to Content
0
Former Member
Nov 06, 2006 at 06:35 AM

Editable ALV Error cells deletion

119 Views

Hi,

I have a couple of problems with Editable ALV's.

Firstly, a user can select a row in the ALV and then press delete from the keyboard and the row gets deleted. I do not want to allow the user to do this( he must press the delete button provided). How do i achieve this?

Secondly, When there are any errors in the entries of the ALV (cells are highlighted in red) and the user selects these entries and tries to delete the row by clicking on the delete button in the toolbar. The row does not get deleted because there are some erroneous entries.i.e. the event handler for delete is not called from cl_gui_alv_grid. I want to let the user delete these rows even though there are errors, how can this be done?

PLease let me know if you have answers to either of the questions.

Thanks in advance

Manoj.