Technical Articles
How to find whether a Transaction Code is Created for a Table Maintenance Generator?
Introduction
In every SAP Project you work for you will have a Custom table which is defined by the SAP Technical Consultant and generally it starts with z or y or based on Project naming standard. Sometimes this Custom table needs to be maintained manually and it is always a great Practice to create a separate Transaction Code for Maintenance. When you come to an existing Project it is very hard to know whether a Transaction Code is created for the Table Maintenance Generator for a particular Custom table or Standard Table.
Solution
Suppose we want to know whether a Table Maintenance Generator and a Transaction Code is created for table ZAP_PARENT_ORGUN
Check Table Maintenance Generator created for a Table.
Go To SE16–>TVDIR
Now we enter Table name ZAP_PARENT_ORGUN as mentioned below
If you have an entry that means a Table Maintenance generator is created like below.
Now we will check whether a Transaction Code is created for this Table Maintenance Generator.
Go To SE16–>TSTCP
Now enter * ZAP_PARENT_ORGUN * as mentioned below and Execute
Wala here we get the Transaction Code
Conclusion
You can use this both in SAP ECC and SAP S/4 HANA
Below is the video version.
Hello, arghadip kar.
I already automated this process.
Tip: put this on GitHub and let others update the code to use methods instead of subroutines and WRITEs. Step 3: Profit. 🙂
Fell free to make pull request to this repo
https://github.com/AntonSikidin/ztcode_by_tabname
A perform inside a select endselect inside a loop. 😮
Â
Tip: rewrite into ABAP objects and create ABAP Unit Tests.
Well this is something people always do what is on the post, anyways liked the code Anton shared. Please do put it on GitHub with changes as Jelena advised.
you are just amazing you give the best solutions