Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Table to Program

Former Member
0 Likes
949

Long Text

1) Is there any table where I can see the Programs and Tables in one

Table.

2 Is there any table where we can find the T-Codes and tables in one

Table.

I know If we go to SE38, SE15 and SE80 etc I can see the Tables which

are used in Programs one at a time.

8 REPLIES 8
Read only

Former Member
0 Likes
925

All the programs are stored in the table TRDIR, to know the tcode check the table TSTCT

Read only

0 Likes
925

TRDIR table doesn't show Programs and Tables together

TSTCT shows Tcode and Tcode Texts

I want a table which shows tables and Programs together or Programs and tables together

Read only

Former Member
0 Likes
925

i dont think there is a table which shows the program and the tables used in that program and same goes for tcodes too.

Cheers,

Surinder

Read only

Former Member
0 Likes
925

No, there is no such table which will have the program and the table used in that program,

But you can write one more program to find out the same.

Select all the programs from table TRDIR and then you can read the source code in that program vi READ Program <>.

and search for TABLES String in that. by this you can find out the table used in the program.

Read only

former_member195698
Active Contributor
0 Likes
925

Check table TADIR

Read only

former_member585060
Active Contributor
0 Likes
925

Hi,

Look in Table in TADIR

for Sapscripts PGMID is 'R3TR'

OBJECT is u2018FORMu2019

For Reports OBJECT is u2018PROGu2019 " not sure, just use F4 on that field and check.

For Function modules OBJECT is u2018FUGRu2019

Regards

Bala Krishna

Edited by: Bala Krishna on Feb 22, 2009 10:48 AM

Read only

GauthamV
Active Contributor
0 Likes
925

Use these function moules.

GET_TABLES

RS_PROGRAM_TABLES.

Read only

Former Member
0 Likes
925

Hi Venkat,

DD02L is the table which contains all tables in SAP

TSTC is the table which contains all transaction codes.

TADIR is the table which contains all repository objects.

Regards,

Kalyan