Skip to Content
0
Former Member
Apr 16, 2010 at 11:15 AM

how to define an internal table which have to be dynamic

19 Views

Hallo,

here's a problem that i have to solve (but how ?).

I defined an internal Table with 2 columns:

col1: tablename

col2: fieldname

This table is filled with an unknown number of datasets like this:

dataset1: A001 KAPPL

dataset2: A001 KNUMH

dataset3: A903 KUNNR and so on.

I don't know which tablenames and fieldnames are contained.

Now i have to read those fields (e.g. KAPPL) from those tables (e.g. A001) into an internal table.

But i don't know how to define this internal table.

Could anyone help me please ?

Thanks a lot.

Silvio