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

foreign key enforcement?

1628


What are the basic functions of database utility?

586


How to eliminate duplicate entries in internal tables?

682


What is the maximum number of structures that can be included in a table or structure : abap data dictionary

813


Badi concepts

929






What are the different types of sapscript symbols?

631


how to see the tables of 200 in client 100?

1411


What are local objects? : abap data dictionary

607


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

644


What is the significance of technical settings (specified while creating a table in the data dictionary)? : abap data dictionary

610


did u done enhancement framework?how u implemented?

5045


What is bdc? : abap bdc

614


What are the Various Types of internal tables?

743


Is it possible to pass data to and from include programs explicitly? : abap modularization

745


What is the difference between a pool table and a transparent table?

544