Skip to Content
Former Member
Jul 24, 2006 at 07:24 PM

dynamically changing reference / assignment


hi i am trying to do a transpose

i got 2 internal tables in my program.

source - key: a , b & data 1 , 2, 3

target - key: a , b ,<generated key value> & data 1.

i am trying to merge all data values of 1 2 and 3 from source into single data component 1 of target. to keep values seperate i am generating a key value in target.

in my abap code i am looping 3 times and then tyring to append copies of source to target while varying data references.

but i dont know how to vary the rerences between comonents 1 2 and 3

whats should i be using.. field symbols or reference...and how?