ABAP Dictionary: Can We Create A Transaction Code For Table Maintenance Generator?
ABAP Dictionary: Can We Create A Transaction Code For Table Maintenance Generator?
ABAP Dictionary: Can We Create A Transaction Code For Table Maintenance Generator?
Can We Create a Transaction Code for Table Maintenance Generator? Yes. we can create a tcode for table maintenance generator (TMG) using parameter transaction option. What is SAP Table Maintenance Generator? SAP Table Maintenance Generator (TMG) is a tool to generate a table maintenance program i.e. it will generate a program to maintain (Create, Edit & Delete) entries in a table. How to Create Secondary Index on SAP Table? Secondary index will be created to avoid performance issues while accessing data from a table using non-key fields in the selection criteria. How to create a SAP parameter ID? SAP parameters are used to store values in user-specific global SAP memory. SAP memory allows you to pass these values between programs. How to check whether a SAP table has a text table? First of all what is a text table? Text table is a table which contains descriptions in several languages for each key in the main table.
In the pop-up enter short description for the new t-code, Select the Transaction with parameters radio button and press continue.
In the create parameter transaction screen, Enter SM30 for transaction and check the Skip initial screen checkbox. Now add the following parameters using the insert new row button. NAME OF SCREEN FIELD VIEWNAME ZEMPL VALUE
UPDATE
Another way of creating a t-code for TMG is just create a REPORT program and call the function module VIEW_MAINTENANCE_CALL by passing view name and action as parameters. Then create a t-code for the report program.
With the parameter ACTION, you can specify the processing action to be performed. Possible actions are: ACTION DESCRIPTION S U T Display Change Transport
Select Display/Maintenance Allowed for Data Browser/Table View maintenance under Delivery Maintenance tab.
Enter the proper authorization group (&NC& is without any authorization) and function group. If the entered function group does not exist, it will create a new function group to store the dialog modules of TMG. Select one step for Maintenance type and click on Find Screen Numbers on application toolbar.
The screen number for overview screen will be automatically populated. Now click on CREATE icon on application toolbar.
Table maintenance program is created with the above message in the status bar. Now to maintain entries in the table, go to Maintain Table Views (SM30).
Click on New Entries button on application toolbar to maintain new entries in the table.
We shall create a secondary index on non-key field i.e. Name. Click on Indexes button on application toolbar.
fields i.e. MANDT and NAME. Do not forget to enter MANDT as the first index field if
Step 2: In the popup window enter the check table name and press Generate proposal button.
Step 3: The system proposes the foreign key relation based on the domain. Check that the foreign key relationship proposed by the system is correct and press copy.
Foreign key is created, now save and activate the table. To check the foreign key go to menu path Utilities->Table Contents->Create Entries.
Try to create an entry in Zemployee table with Department ID that is not there in the Department table. Enter the values and try to save the entry.
Observe the error message in the status bar. The user interface does the foreign key validation before creating the entries.\
Step 2: Enter the name of the Parameter ID to be created and press enter.
Step 3: Enter the description for the Parameter ID and save it.
If the table has a text table, then the text table will be displayed in the same session else a proper message will be displayed in the status bar.