Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

To create a table which allows entries to be added but not deleted?

former_member201275
Active Contributor
0 Kudos

Is it possible to create a table (SE11) which allows users to enter data into the table but not delete data from the table?

2 REPLIES 2

Former Member
0 Kudos

Hi,

No , there is no standard way to do this, you will have to program it yourself.

regards,

Advait

former_member589029
Active Contributor
0 Kudos

If you generate a maintenance dialog for your table you will have to check, if the user tries to delete an entry and just send an error back that this is not allowed,

You could use e.g. event 03 - 'Before deleting the data displayed' to check if the user tries to delete something.

If you do not use a standard maintenance dialog but an own screen to maintain the data, just don't offer a delete option to the user.

However if someone writes a report where he does a delete on that table there is no standard way to prevent that.

Hope that helps,

Michael