Skip to Content
0
Former Member
Jun 21, 2007 at 01:13 PM

Internal table containing field symbols (Guru question)

44 Views

Hi,

I wanted to create an internal table that contains an id and a field symbol.

something like:

types: begin of my_type,

id(2) type c,

field-symbols: <fs> type something.

end of my_type.

data: my_table type standard table of my_type,

wa type my_type.

wa-id = 'B'.

wa-fs = <fs_second>.

I know won't pass the checker, but I'd like to know if it was possible. I'm able to use references, but I want field symbols so I will avoid reading a huge table or create secondary indexes....

Thanks for the help,

Isidoro!