Application Development 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: 

STRUCTURE OF A TABLE

Former Member
0 Kudos

Hi,

I would like to know if there are any function modules available or some other way to get the structure of a table.i.e the fields in it,the datatypes of the fields,length etc.(without using transaction SE11).

Thanks in advance.

Hema

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Hema,

You can use the FM 'NAMETAB_GET' and pass the table name to get the details of the fields and the structure.

Hope this helps

Cheers

VJ

3 REPLIES 3

Former Member
0 Kudos

Hi Hema,

You can use the FM 'NAMETAB_GET' and pass the table name to get the details of the fields and the structure.

Hope this helps

Cheers

VJ

ferry_lianto
Active Contributor
0 Kudos

Hi Hema,

You can use this FM.

<b>DB_GET_TABLE_FIELDS

ISB_TABLE_READ_FIELDS</b>.

Hope this will help.

Regards,

Ferry Lianto

Please reward point if helpful.

Former Member
0 Kudos

Hi !

If you'd like to do so, you could also read the tables

dd03l, dd04t, dd03t

directly per SELECT ....

Regards

Rainer

Some points would be nice if that helped a bit.