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

What is sql trace? : abap data dictionary

658


What is the transaction code to display the payroll results ? : abap hr

557


What are the basic objects of the data dictionary? : abap data dictionary

603


What are the different software packets available in the market? : sap abap hr

562


What are the types of subroutines? : abap modularization

582






What is database utility? : abap data dictionary

588


What are the techniques involved in using sap supplied programs?

595


Example of table cluster and cluster tables.

640


What is locking ?

591


In the abap/4 dictionary tables can be defined independent of the underlying database (t/f). : abap data dictionary

697


What is retro active accounting

1585


What is the difference between abap and hr abap? : abap hr

605


How many lists can a program can produce?

582


What is Transactional based Application & Role based Application?

1036


What is a table attribute?

568