05-27-2010 7:22 PM
There is a ZTABLE which I am maintaining..
Ztable has fields like
fiield1 field2 field3 field4
T001 12 12 great
T002 13 14 dumb
so in program I have internal table which I am looping where I got t001 and t002 as field too..
like
data : begin of itab,
t001(10) type c,
t002(10) type c,
t003(10) type c,
t004(10) type c.
end of itab.
loop at itab.
loop at ztab.
here...i have some conditions...
I need to assighn values to itab depending on ztable.
like I need dynamically assighn itab-t001 from ztable..
endloop.
endloop.
loop at itab.
Moderator message: please use a more descriptive subject line next time.
Edited by: Thomas Zloch on May 27, 2010 10:24 PM
05-27-2010 9:34 PM
Hi
As far as I could understand this, you can use FIELD-SYMBOLS and assign required table to it.
FIELD_SYMBOLS <fs>.
ASSIGN table001 TO <fs>.
Kind regards
01-20-2011 4:15 PM