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
foreign key enforcement?
What are the basic functions of database utility?
How to eliminate duplicate entries in internal tables?
What is the maximum number of structures that can be included in a table or structure : abap data dictionary
Badi concepts
What are the different types of sapscript symbols?
how to see the tables of 200 in client 100?
What are local objects? : abap data dictionary
What is amdp (abap managed data procedures)?
What is the significance of technical settings (specified while creating a table in the data dictionary)? : abap data dictionary
did u done enhancement framework?how u implemented?
What is bdc? : abap bdc
What are the Various Types of internal tables?
Is it possible to pass data to and from include programs explicitly? : abap modularization
What is the difference between a pool table and a transparent table?