Is it possible to dynamically define a structure? I know only one field which will be static and the other fields will be obtained only at runtime. I tried a definition which was like:
TYPES: BEGIN of struct1,
FIELD1 TYPE STRING,
INCLUDE TYPE (struct2),
END OF struct1.
But I am unable to do this, the error message says (struct2) is invalid. Can I achieve this in any other way? Thank you.