Skip to Content
1
Former Member
Jul 25, 2016 at 09:07 AM

How to find the type of dynamic internal table?

1889 Views

Hello Experts,

i want to know the method to find the type of dynamic internal table?

I am having an dynamic internal table <gfs_dyn_table>.

Here i want to create an static internal table with field which can store dynamic internal table. To create internal table i need to create an structure .

TYPES : BEGIN OF STRUCT,

IT_DYN TYPE <?????????>, " here i need to put the type of dynamic internal table

END OF STRUCT.

DATA : IT TYPE STAANDARD TABLE OF STRUCT,

WA LIKE LINE OF IT.

LOOP AT IT INTO WA.

WA-IT_DYN = <GFS_DYN_TABLE>.

APPEND WA TO IT.

ENDLOOP.

Thanks in Advance.