Jun 10, 2018

Auto Update Fields in Table Maintenance Generator

Requirement:

In SM30 for table ZMMT_NIE, when there is an input, field username, current date, and time must be automatically filled. In order to do that, certain enhancement must be created.


Solution:
1. Check tab Delivery and Maintenance > Data browser/table view editing must be 'X' = 'Display Maintenance Allowed'.


2. Select Utilities > Table Maintenence Generator


This will take you to Maintenance screen.


3. Environment > Modification > Events


4. Create form routines:
  • ZBEFORE_SAVING. Type  '01' (will be called before saving)
  • ZNEW_ENTRY. Type '05' (Every new entry creation)

5. Click on the Editor button and you can create the routine to update the fields.


Result:



Related posts:

Feb 15, 2018

Download SAPSCRIPT Forms


How to download Sapscript form

1. Run program RSTXSCRP

2. Put the object name and Mode and destination file name.

3. Select location where to save

4. Execute and download Sapscripe



Related posts: