what is difference between MOVE and MOVE-CORRESPONDING?
Answer Posted / malli.gontla
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 ? | 4 Yes | 7 No |
Post New Answer View All Answers
what will happen if called program is not executable ?
What do you understand by work area and internal tables in abap? Why do we use it?
What are the uses of the information in the data dictionary? : abap data dictionary
SAP query how to use end users?
What is the significance of delivery class?
How do you take care of performance issues in your ABAP programs?
Can you print decimals in type n? What is difference between float and packed data type?
What are the main uses of the primary key?
What is an on”*-input filed” statement?
What is abap work bench?
How do we assign dynamic views while creating material master and generating bdc? : abap bdc
Where the payroll results are stored
Hat are the different types of mode (run code) in call transaction method?
There is a delivery that is being created through the ABAP code and in the middle it says delivery created but someone is modifying , how would you rectify this issue
What is sql trace? : abap data dictionary