Table Maintenance Generator
Table Maintenance Generator
Table Maintenance Generator
Community WIKI SAP Community Welcome, Guest Login Register Search the Community
ABAP Development
Transaction Codes
SE54: Generate Table Maintenance Dialog
SE55: Table view maintenance DDIC call
SE56: Table view display DDIC call
SE57: Deletion of Table Maintenance
SM30: Maintenance Table Views:
Implementation of table maintenance generator for a custom table
Go to SE11 and create a table with the fields as per the requirement.
In table change mode, click on Utilities and then click on Table maintenance generator.
https://wiki.scn.sap.com/wiki/display/ABAP/TABLE+MAINTENANCE+GENERATOR+and+ITS+EVENTS 1/7
7/10/2019 TABLE MAINTENANCE GENERATOR and ITS EVENTS - ABAP Development - SCN Wiki
Maintenance screens: Maintenance can be done in 2 ways
1. Maintenance and Overview both on one screen
2. Maintenance on one screen and Overview on another screen.
Provide the desired screen numbers.
After saving the changes, go to SM30 for maintaining the table.
A field can be made non editable by simply unchecking that input checkbox for that field.
https://wiki.scn.sap.com/wiki/display/ABAP/TABLE+MAINTENANCE+GENERATOR+and+ITS+EVENTS 2/7
7/10/2019 TABLE MAINTENANCE GENERATOR and ITS EVENTS - ABAP Development - SCN Wiki
Similarly, the screen name of any of the fields appearing on the maintenance window can also be changed by changing the Name on the layout window of that field.
https://wiki.scn.sap.com/wiki/display/ABAP/TABLE+MAINTENANCE+GENERATOR+and+ITS+EVENTS 3/7
7/10/2019 TABLE MAINTENANCE GENERATOR and ITS EVENTS - ABAP Development - SCN Wiki
04 After deleting the data displayed
05 Creating a new entry
06 After completely performing the function 'Get original'
07 Before correcting the contents of a selected field
08 After correcting the contents of a selected field
09 After getting the original of an entry
10 After creating the header entries for the change task (E071)
11 After changing a key entry for the change task (E071K)
12 After changing the key entries for the change task (E071K)
13 Exit editing (exit main function module)
14 After lock/unlock in the main function module
15 Before retrieving deleted entries
16 After retrieving deleted entries
17 Do not use. Before print: Event 26
18 After checking whether the data has changed
19 After initializing global variables, field symbols, etc.
20 after input in date sub screen (time-dep. tab. /views)
21 Fill hidden fields
22 Go to long text maintenance for other languages
23 Before calling address maintenance screen
24 After restricting an entry (time-dep. tab./views)
25 Individual authorization checks
26 Before creating a list
27 After creation or copying a GUID (not a key field)
28 After entering a date restriction for time-dep. views
AA Instead of the standard data read routine
AB Instead of the standard database change routine
AC Instead of the standard 'Get original' routine
AD Instead of the standard RO field read routine
AE Instead of standard positioning coding
AF Instead of reading texts in other languages
AG Instead of 'Get original' for texts in other languages
AH Instead of DB change for texts in other languages
ST GUI menu main program name
AI Internal use only
For selecting the events follow the path as
https://wiki.scn.sap.com/wiki/display/ABAP/TABLE+MAINTENANCE+GENERATOR+and+ITS+EVENTS 4/7
7/10/2019 TABLE MAINTENANCE GENERATOR and ITS EVENTS - ABAP Development - SCN Wiki
https://wiki.scn.sap.com/wiki/display/ABAP/TABLE+MAINTENANCE+GENERATOR+and+ITS+EVENTS 5/7
7/10/2019 TABLE MAINTENANCE GENERATOR and ITS EVENTS - ABAP Development - SCN Wiki
Go to the events and in the form routine: FETCH_VALUE, write the desired code:
Like : ZCHC_ORD_REL-SYUNAME = sy-uname.
No labels
1 Child Page
Add a Transaction to the Table with Table Maintenence Generator
4 Comments
Guest
Hi
I just wanted to know how to place cursor in a particular field (not the key field) if any error occur.
Thanks
Sourav
Former Member
u can use GET CURSOR FIELD cursor_pos
above statement fill the cursor_pos with the current location of cursor..
then use case statement to set the cursor in the desired field.
CASE cursor_pos.
WHEN 'FIELD1'
ENDCASE.
https://wiki.scn.sap.com/wiki/display/ABAP/TABLE+MAINTENANCE+GENERATOR+and+ITS+EVENTS 6/7
7/10/2019 TABLE MAINTENANCE GENERATOR and ITS EVENTS - ABAP Development - SCN Wiki
Guest
CAN you please reply me sir ..................
like exampe :
FORM ZNEW_REC .
ZCUST-DATEE = SY-DATUM.
ENDFORM .
in color
Abdullah nematullah
Hi,
Thanks a lot for publishing this handy document. I like the simple detailing you have done. keep up the good work.
Abdullah Nematullah.
https://wiki.scn.sap.com/wiki/display/ABAP/TABLE+MAINTENANCE+GENERATOR+and+ITS+EVENTS 7/7