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