Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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?

Thanks

Tags:
replied

Hi,

Sorry..I forgot the user has to Add also..

Ok..Try this..

Go to SE51...give the program SAPL + Function group name...The one which you used to create the table maintenance..

Give the screen number..

Press change..

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.

Thanks

Naren

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question