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: 

populating a table which is content of field of an internal table

Former Member
0 Kudos
56

Hi All,

I have one internal table which contains a field which has names of different tables. I want to populate data from these tables.

I am giving an example to make my point clear.

suppose 'it_test' is an internal table having a field 'tabname'. This field has contents suppose ekko, ekpo etc. So I want to show all the fields of the table ekko,ekpo in my output.

Can anybody suggest me something how to populate this?

Thanks in advance.

Amol

1 REPLY 1

Former Member
0 Kudos
35

hi

use this FM DB_GET_TABLE_FIELDS to get table fields. Just give table name in paramerers. you will get all fields of that table. For ur req, u can use this FM in loop.

Reward if it dose

Thanks

Siva Kumar