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 do you Export a session ?
What are the events driven batch jobs?
What is a subscreen? How can we use a subscreen?
What is sql trace? : abap data dictionary
Explain get pernr concept when we use logical data base? : abap hr
What is an rfc?
when u prefer lsmw?
How will you find manager of an employee
How many default tab strips are there? How to insert more tabs in it?
Name the abap/4 modularization techniques?
What is amdp (abap managed data procedures)?
Define database layer?
In the MM module for finding out the standard cost what is the view one has to look at?
Select query optimisation
What happens Update command is used without where clause ?