2008 Mar 20 9:28 AM
It is possible to prevent press DELETE key on editable ALV GRID?
2008 Mar 20 11:33 AM
Hello,
Try this
DATA ls_exclude TYPE ui_func.
ls_exclude = cl_gui_alv_grid=>mc_fc_loc_delete_row.
APPEND ls_exclude TO et_buttons.
2008 Mar 20 9:42 AM
Try passing the MC_FC_LOC_DELETE_ROW fcode in the IT_EXCLUDING parameter while displaying the ALV.
Hope this helps.
Thanks,
Balaji
2008 Mar 20 10:12 AM
2008 Mar 20 11:28 AM
Handle the before_user_command method...
In that method change the e_ucomm value to 'ZREF' (a fn code value not handled in USER_COMMAND event)/
Hope this helps.
Thanks
Balaji
2008 Mar 20 11:33 AM
Hello,
Try this
DATA ls_exclude TYPE ui_func.
ls_exclude = cl_gui_alv_grid=>mc_fc_loc_delete_row.
APPEND ls_exclude TO et_buttons.