Skip to Content

How to create a structure from dynamiclly created internal table

Apr 18, 2017 at 10:33 AM


avatar image

The requirement is like that I will maintain entries in a Ztable. Now for each and every entry there should b a column in an internal table.

For that I have created a dynamic internal table where I got the structure from the table using field symbols, after that i used include structure statement which is giving me error.

Now my only question is if it is not the right way den how to do this.


Jayesh Mudaliar

xfu8s.png (20.0 kB)
pshkb.png (13.2 kB)
10 |10000 characters needed characters left characters exceeded

What's the error?

Further commenting has been locked.
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Horst Keller
Apr 18, 2017 at 11:25 AM

For real dynamic type determination and type creation you use RTTS.

INCLUDE STRUCTURE is evaluated at compile time.

10 |10000 characters needed characters left characters exceeded