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

move & assign

Former Member
0 Likes
426

diff. between move & assign statement

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
405

In MOVE actually copies data into another data field.

while ASSIGN is used in field-symbols. and field symbols is used to reference another variable dynamically. So this field symbol will simply point to some other variable and this pointer can be changed at runtime.

(Assign is like Pointer in C)

2 REPLIES 2
Read only

Former Member
0 Likes
406

In MOVE actually copies data into another data field.

while ASSIGN is used in field-symbols. and field symbols is used to reference another variable dynamically. So this field symbol will simply point to some other variable and this pointer can be changed at runtime.

(Assign is like Pointer in C)

Read only

Former Member
0 Likes
405

ABAP converts assign Statement into move form, and what ever statements in ABAP if u write using symbols lie +, / , = , it will convert into ADD DIV Move like english statement.

so avoid using symbol it will take time for conversion internally.