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 sql trace? : abap data dictionary
What is the transaction code to display the payroll results ? : abap hr
What are the basic objects of the data dictionary? : abap data dictionary
What are the different software packets available in the market? : sap abap hr
What are the types of subroutines? : abap modularization
What is database utility? : abap data dictionary
What are the techniques involved in using sap supplied programs?
Example of table cluster and cluster tables.
What is locking ?
In the abap/4 dictionary tables can be defined independent of the underlying database (t/f). : abap data dictionary
What is retro active accounting
What is the difference between abap and hr abap? : abap hr
How many lists can a program can produce?
What is Transactional based Application & Role based Application?
What is a table attribute?