Application Development and Automation 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: 
Read only

moving data dynamically

Former Member
0 Likes
365

while moving data from 1 field to another how do make the destination field dynamic

2 REPLIES 2
Read only

nikhil_chitre
Active Participant
0 Likes
348

Hi,

Could you please Elaborate your question...!!

If you meant the type of the destination field as dynamic .... try using Field-symbols.

Regards,

Nikhil.

Read only

Former Member
0 Likes
348

you can use the Field Symbol..


Field-Symbol: Traget type any.
data : Field1 type type1
data : Field2 type type1
data : Field3 type type1
data : Field4 type type1
data : Field5 type type1
data : Source type type1 values 'THE VALUE'.

data: Field type fieldname.

do 5 times.
concatinate 'FIELD' sy-index into field.
assign (field) to <traget>.
move source to <traget>

Here the value 'THE VALUE' will be copied to all five data variable. i.e field 1 - 5.

No Rewards Plz