Skip to Content
0
Former Member
Mar 15, 2007 at 09:15 AM

is it possible to use internal table field name as variable?

56 Views

data : temp_string(10) type c.

data : result type string.

temp_string = 'field1'.

loop at itab1 into str1.

result = str1-temp_string. "error here"

endloop.

HI.

think this code not executable and actually fail to compile.

is it possible to put structure field name with variable?

anyone can help me ? please

thank you.

Regards

Bae