Skip to Content
0
Former Member
Sep 22, 2008 at 05:56 PM

ALV OO Set cells editable but not deletable

416 Views

Hello there,

i have again a question regarding ALV, i know how to set cells to editable state and i know how to set a row to not deletable. What i don#t know is how to realize both.

when i pass the arguments like

 lt_celltab-style = cl_gui_alv_grid=>mc_style_no_delete_row.
  
  lt_celltab-style2 = cl_gui_alv_grid=>mc_style_enabled.

rows are not deletable but cells not editable. If i change the code vice versa cells are editable but rows deletable.

I can kick out the delete Button, but DEL is still working, i can't do a

layout-no_rowmark = 'X'.

because the user needs to select single or multiple rows....

any hints, links, solutions 😉

thanks in advance

Mathias