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

FM to get table names based on data element

Former Member
0 Likes
1,608

Hi,

Is there any FM to get table names which contain a particular data element. My requirment is I need tables which have LAND1 as data element and I need to cross verify some particular country codes. in all these tables.

Thanks in advance,

Sudheer. A

6 REPLIES 6
Read only

former_member194669
Active Contributor
0 Likes
1,268

Please check DD03L

a®

Read only

matt
Active Contributor
0 Likes
1,268

DD03L. Field "ROLLNAME" is the data element. TABNAME is the table.

matt

Read only

Former Member
0 Likes
1,268

Hi,

Check the table DD03L with field ROLLNAME

Read only

Former Member
0 Likes
1,268

Hi,

You can use the table DD03L to check for the tables that have used the data element (ROLLNAME).

Ex..

SELECT TABNAME
             INTO TABLE T_TABLES
             FROM DD03L 
            WHERE ROLLNAME = 'LAND1'.

Thanks

Naren

Read only

0 Likes
1,268

Thanks for your reply But I need only tables, it is giving structure, views and all. How to restrict.

Thanks,

Sudheer. A

Read only

Former Member
0 Likes
1,268

Hi,

Once you get the table name from DD03L go to the table DD02L to check if it table or structure..

For this you can use the field DD02L-TABCLASS

Thanks

Naren