what is difference between MOVE and MOVE-CORRESPONDING?
Answer Posted / malli.gontla
move statement is more effienet than move-corresponding.
In case of dialog programming move/movecorresponding stsmt
are used to put internal table workarea data into screen fields.
data: begin of itab occurs 0,
lifnr like lfa1-lifnr,
name1 like lfa1-name1,
ort01 like lfa1-ort01,
end of itab.(here lfa1 is DBtable name)
:
:
* in case of movecorresponding
Move-Corresponding itab to lfa1.
(here:lfa1 is screen fields name).
* in case of MOVE stmt.
Move itab-lifnr to lfa1-lifnr.
Move itab-name1 to lfa1-name1.
Move itab-ort01 to lfa1-ort01.
Movecorresponding :
If DBtable having 1000 fields and you are using
movecorresponding, then system has to check all the field in
table to move.
Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
What are two different ways to add fields to sap tables?
How to call transaction in session method without recording?
Difference between /N and /BEND?
Difference between sy-tabix and sy-index?
how to read the standard field value in your custom program.
Why do we need enhancements?
Final class
What is a table cluster? : abap data dictionary
What is an authorization in sap?
What is the disadvantage of using exec sql statement in abap?
A subroutine can be terminated unconditionally using exit. State true or false : abap modularization
Explain client-dependent and client-independent tables.
What is the tcode for sapscript forms?
Explain some essential objects in abap dictionary?
What is an update task? : abap modularization