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
How many secondary indexes can we create in a table?
How to select valid lines for secondary list?
Define external layer? : abap data dictionary
What are the different kinds of lock modes?
How many types of size categories and data classes are there?
IN SCRIPTS IF WE HAVE EMPTY SECOND LAYOUT AND IF WE HAVE MENTIONED ABOUT IT IN NEXT PAGE ATTRIBUTE THEN IN OUTPUT HOW WE GET THE SECOND PAGE OUTPUT.
How table control cn be generated using bdc? : abap bdc
To find the date difference & excude saturday & sunday in between them
How can you find the field/data underlying a transaction?
How is the command suppress-dialog useful?
Can i have some Realtime Scenarios on Reports.
What is lock mechanism? How do we create lock objects in abap?
Name a few data dictionary objects?
What is internal payroll process? : sap abap hr
What are plan versions used for? : sap abap hr