Table Maintenance - remove ability to delete records?
I have created a table maintenance for one of my Z* tables. There is a z* transaction assigned to this (through SE93). I would like to take away the ability to delete records when they run the transaction to maintain this table.
Anyone know of a way to do this? Is there a way to grey out the delete button?
Narendran Muthukumaran replied
Sorry..I forgot the user has to Add also..
Go to SE51...give the program SAPL + Function group name...The one which you used to create the table maintenance..
Give the screen number..
Before the module LISTE_INITIALISIEREN..
Create a module..MODULE zmodule.
in the module add the the following code..
DATA: s_VIMEXCLFUN type VIMEXCLFUN. * remove the delete button. s_VIMEXCLFUN-function = 'DELE'. APPEND s_VIMEXCLFUN TO excl_cua_funct.