Technology Blog Posts by Members
cancel
Showing results for 
Search instead for 
Did you mean: 

In SAP ABAP, creating a custom transaction code (TCode) for a table allows users to directly maintain or display table entries without remembering the standard transaction names.

Prerequisites :

Before creating a TCode:

  • A custom table should already exist in the Data Dictionary.
  • Example table: ZVA_EMP_20
  • Proper authorization to create transactions.

Create a Table Maintenance Generator( TMG ) :

  • Go to se11 Transaction Code.
  • Enter your custom Table name (  Ex : ZVA_EMP_20 ).
  • Click on Display.
  • From the top menu  ( Utilities → Table Maintenance Generator ).

Screenshot 2026-05-27 121012.png

  • Click on Table Maintenance Generator .

Screenshot 2026-05-27 121314.png

Screenshot 2026-05-27 121444.png

  •  Click on find screen no.

Screenshot 2026-05-27 121614.png

  • Select propose screen number and click on ok.
  • Now Click on create button then  TMG Generated.
  • SAP generates:

    • Function group
    • Maintenance screens
    • Standard maintenance program

Screenshot 2026-05-27 121753.png

Test Table Maintenance : 

  • Go to SM30 Tcode .
  • Enter a Table Name and Click on Maintain.

Screenshot 2026-05-27 122250.png

Screenshot 2026-05-27 123001.png

 

Create a Custom Transaction Code :

Now create a direct transaction for the table.

  • Open Transaction SE93.
  • Enter custom transaction code ( ex : ZEMP_MAINT ).
  • Click on a Create.
  • Choose Transaction Type is Transaction with parameters (Parameter Transaction).

Screenshot 2026-05-27 123334.png

Screenshot 2026-05-27 123459.png

Now Click on save T-code for Table created .

Screenshot 2026-05-27 123621.png

Providing the Default values also.

Screenshot 2026-05-27 124153.png

 

Finally open table t-code ( ZEMP_MAINT ).

Screenshot 2026-05-27 123921.png

 

Click on Enter.

Now open .

vinodkumarreddyappannagari_2-1779866021874.png

Flow :

SE11

Generate Table Maintenance

SM30 Test

SE93

Create Parameter Transaction

Assign SM30 Parameters

Save & Test

Conclusion :

Creating a T-Code for a custom table in SAP ABAP involves:

  1. Creating a table maintenance generator
  2. Testing using SM30
  3. Creating a parameter transaction in SE93
  4. Passing table parameters to SM30

This approach helps users directly maintain table entries through a simple custom transaction code.

 

 

Labels in this area