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

how to get all the table names?

Former Member
0 Likes
36,688

dear all,

i've a question. is there a table which stores all the table names(standard table and customizing table)? or is there any other way to find the table according to its description?

Thanks for your kindly help in advance.

Desmond

1 ACCEPTED SOLUTION
Read only

Former Member
15,859

'DD02L' IS FOR THE TABLES......

Try to execute this code u will get all the tables list..... standard and customizing

data itab type table of dd02l.

select * from dd02l into table itab where "tabname BETWEEN 'Z' and 'ZZ' and

tabclass in ('TRANSP', 'INTTAB').

write :sy-subrc .

data fs type dd02l.

loop at itab into fs.

write:/ fs-tabname.

endloop.

12 REPLIES 12
Read only

Former Member
0 Likes
15,859

Hi,

check in table DD02V

Read only

Former Member
0 Likes
15,859

Hi Desmond,

From DD02L you can find the list os all table names and the description is stored in table DD02T.

Regards

Dillip Sahoo

Read only

gerd_rother
Active Participant
0 Likes
15,859

Hi,

The table is DD02L. Take special care of the fields AS4LOCAL (='A') and TABCLASS (see fixed values of its domain).

Regards, Gerd Rother

Read only

Former Member
0 Likes
15,859

Hello,

Normally we want to find tables and fields that are hit during a particular transaction run. SAP updates data into multiple tables and also fetches data from multiple tables in a particular screen of a transaction.

To find the list of tables hit and the corresponding fields we can run the Trace.

The t-code to check the trace is ST05

Procedure for TRACE ANALYSIS:

1) Go to ST05.

2) Activate Trace

3) In another screen run the transaction for which you want to find the fields from tables.

4) Deactivate Trace in ST05.

5) Display the Trace in ST05. Here you will see all the database hits.

Best Regards,

Shree Tejus.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
15,859

Tables and descriptions are stored in DD02L, text table DD02T.

You can call the R/3 [Repository Information System|http://help.sap.com/abapdocu_70/en/ABENRIS_GLOSRY.htm], transaction SE15 or SE84, there click on ABAP Dictionary, Basic objs, Database tables.

Regards,

Raymond

Read only

Former Member
15,860

'DD02L' IS FOR THE TABLES......

Try to execute this code u will get all the tables list..... standard and customizing

data itab type table of dd02l.

select * from dd02l into table itab where "tabname BETWEEN 'Z' and 'ZZ' and

tabclass in ('TRANSP', 'INTTAB').

write :sy-subrc .

data fs type dd02l.

loop at itab into fs.

write:/ fs-tabname.

endloop.

Read only

0 Likes
15,859

Hi,

Actually INTTAB means structures, not database tables.

Regards, Gerd Rother

Read only

0 Likes
15,859

This message was moderated.

Read only

Former Member
0 Likes
15,859

Hi the table which stores the table names is dd02l. if you want the text of these table check the table dd02t which stores the description of the table in dd02l.

Thankyou,

Jerry Jerome

Read only

matt
Active Contributor
0 Likes
15,859

The table to find descriptions as requested is not DD02L. It is DD02T or DD02V, as posted by Dillip Kumar Sahoo and Madhukar Shetty respectively, with a fully answer of how to find a table based on descriptions from Raymond Giuseppi.

All responses with just DD02L - well, you didn't read the question. And the one involving ST05... again, it doesn't answer the question.

I think we can consider this thread answered now.

Read only

0 Likes
15,859

I will Just add that DD02V is a view (DD02L join DD02T) and not a table. (the question was "is there a table which stores..."

Regards,

Raymond

Read only

Former Member
0 Likes
15,859

Hi,

Please close this thread if you got the answer.

Regards

Dillip