Among "Move" and "Move Corresponding", which is efficient one?
Answer Posted / bhargavi
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 ? | 9 Yes | 3 No |
Post New Answer View All Answers
What is runtime analysis?
Have you set up a back ground job? How to create a background job without a variant ? : abap bdc
What is the use of the statement leave to list-processing?
What is the different between template and a table?
What is the difference between the function module and a normal abap/4 subroutine?
What are the events driven batch jobs?
Folder types in smatforms? 2)What is Command line?
What is the use of table control in bdc is it same in module pool table control? : abap bdc
what precautions or prerequisites do you follow to update a record into database table and how
How would you define the exponents for a type âfâ field?
What is the meaning of sap r/3?
What is the differences between abap and ooabap. In which situation we useooabap?
What are screen painter? Menu painter? Gui status?
What are user exits? What is involved in writing them? What precations are needed?
What is a data dictionary? : sap abap data dictionary