Skip to Content
1
Former Member
Apr 16, 2010 at 06:07 PM

declaring type definition dynamically

1171 Views

hi guys,

i have a strange issue. i need to define a varaible that refers to a below type definition.

types : begin of t_str,

var1 type string,

vcar2 type string,

.

.

.

.

end of t_str,

data: variable type t_str.

the problem is i do not know how many var's will be there until run time. so my type definition needs to be dynamic. is there any way to do it.

thanks