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 actually happens in real-time recruitment? : sap abap hr
What is payroll area
What is the lock object?
Name the function module used to convert logical file names to physical file names in abap/4 programs?
What are the different buffering methods?
Explain the difference between free and refresh?
What is the function of a domain?
How do you control printer functions from sapscript?
Setting up a BDC program where you find information from?
What is the difference between collect and append statements?
What is full form of bdc session? : abap bdc
What is the difference between internal tables and extract datasets? : abap modularization
What are the events in ABAP language?
What are the different window types in sapscript?
How does the interection between the dynpro and the abap/4 modules takes place?