2. Objectives
• The participants will be able to :
– Create table maintenance generator.
– Understand the use of table maintenance.
March-2005 Table Maintenance Generator | 2.15.04 2
8. March-2005 Table Maintenance Generator | 2.15.04 8
Overview screen for maintenance of
data
All records in
the table are
displayed and
open for editing
9. Demonstration
•Creation of Table Maintenance for a particular
table by using the Table Maintenance
Generator utility.
March-2005 Table Maintenance Generator | 2.15.04 9
10. Practice
•Creation of Table Maintenance for a particular
table by using the Table Maintenance
Generator utility.
March-2005 Table Maintenance Generator | 2.15.04 10
11. Summary
•Tables can be maintained using SM30 through
the table maintenance generator.
•A function group and an authorization group
needs to be maintained for the table
maintenance generator.
March-2005 Table Maintenance Generator | 2.15.04 11
12. Questions
•How do you create a table maintenance
generator ?
•What is the transaction for invoking table
maintenance ?
March-2005 Table Maintenance Generator | 2.15.04 12
Editor's Notes
Table entries can be displayed and created directly from SE11 following the menu path Utilities-> Table Contents-> Display or Create Entries.
This is only possible when the ‘Data Browser/Table View Maint’ field has got a value “Display/Maintenance Allowed”.
For using table maintenance generator also, this option should be set as “Display/Maintenance Allowed”.
Maintaining table entries through SE11 is not advisable for the following reasons:
You cannot enter multiple records in the same screen.
You cannot put custom checks and validations when a table entry is being created or modified.
So, table entries are generally maintained by creating a Maintenance view for the table, using the Table Maintenance Generator.
Specify the Authorization Group. (E.g. &NC& for skipping any Authority Check)
Specify a Function group. (If you don’t have a Function Group already, then open transaction SE80 in another session and create a Function Group)
Click ‘one step’ maintenance type.
Give the Overview Screen as ‘9000’. (You can specify any Screen Number beginning with 9)
Now, hit the Create Button to create the maintenance view for the table. Specify the Development Class and CTS when prompted for.
Also remember to set the ‘Display/Maintenance allowed’ value in the table attributes.
Go to transaction SM30 (Maintain Table Views: Initial Screen) and specify the table name.
You can Display and Maintain Table entries by clicking the ‘Display’ and ‘Maintain’ pushbuttons.
Click the ‘Maintain’ pushbutton to maintain the entries for the table.
You will notice that the table entries are displayed in a table control.
The key fields of the table will not be editable, but you can edit the non-key fields, which are open for input.
Use the “New Entry” pushbutton to insert new entries into the table.
Use the “Copy” button to copy one record to create another.
Use the “Delete” button to delete selected records.
Click on the “Save” button to save the new entries or the modifications.