Table maintenance generator in SAP ABAP – only allow new entries and delete entries

Hi All,

I have created a table maintenance generator for a custom table in SAP and a tcode for the table maintenance generator. When we click on the maintain on the SM30 screen or thru the custom tcode, the entries are in change mode initially, the requirement is that we keep the entries only in display mode. In case the user needs to make any changes, either a new entry must be created or the existing entry must be deleted. I have excluded the ANZG function for Change. However I am unsure how to give the users only display access but then create new entries should be allowed. After saving an entry in the table no changes should be allowed i.e. the fields should be in display mode. if the user makes a mistake they will delete the entry and make a new entry again. Please help me understand how to achieve the requirement using table maintenance events.

 

Scroll to Top