Get Name of Tables used in T-Code
A few days back I got a requirement to add the names of the tables at the top of every custom program (as comments). It was hard to first get the name of the program using T-Code and for every program check the used tables names, so I tried to develop an application to get table names giving the T-Code as input or on the other hand after providing the table name get the T-Codes where this table is being used. I have successfully completed this one.
In the screen shot bellow I am giving the T-Code SP01 and SP02 and it is showing the tables. After click on the table name or description it will open the table same for T-Code.
Create a new program using T-Code SE38 copy past bellow code and save it after activation it will be ready to work with