Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Syntax help.

Former Member
0 Kudos

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

2 REPLIES 2

former_member214857
Contributor
0 Kudos

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

Former Member
0 Kudos

ans