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


Please Help Members By Posting Answers For Below Questions

How do you Export a session ?

1783


What are the events driven batch jobs?

777


What is a subscreen? How can we use a subscreen?

739


What is sql trace? : abap data dictionary

887


Explain get pernr concept when we use logical data base? : abap hr

961


What is an rfc?

802


when u prefer lsmw?

789


How will you find manager of an employee

1066


How many default tab strips are there? How to insert more tabs in it?

780


Name the abap/4 modularization techniques?

830


​​What is amdp (abap managed data procedures)?​​

861


Define database layer?

790


In the MM module for finding out the standard cost what is the view one has to look at?

806


Select query optimisation

1091


What happens Update command is used without where clause ?

830