The Table Maintenance Generator allows authorized users or support staff to:
- Maintain data in custom or standard tables without writing ABAP code.
- Provide a standardized UI for table maintenance.
- Enforce data consistency and validation through events and screen logic.
| Use Case | Description |
|---|---|
| Maintain custom config tables | Enter config data via SM30 instead of hardcoding |
| Provide easy admin UI | Let end-users maintain master or transactional data |
| Enforce field-level validation | Add checks during insert/update via events |
| Integrate with transport system | Save table entries into transport requests |
How to Create a TMG
Go to SE11 → Create or open your Z-table.
Ensure:
Delivery class = C, L, or G (client-dependent or -independent).
Table is not pooled or clustered.
Table has a primary key.
Click on Utilities → Table Maintenance Generator.
Enter:
Authorization group (e.g.,
&NC&for none).Function group (create one if needed).
Maintenance type: One-step or two-step.
Click Create → Save & Activate.
Now, you can maintain the table via transaction SM30.
One-Step vs Two-Step
| Type | Description |
|---|---|
| One-Step | Data is maintained directly in list view |
| Two-Step | Selection screen first, then detail view (form) |