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 is web dynpro for abap?
Program for Prime numbers and Matrix plz explain me the procedural method with steps
Explain what is an rdbms?
What is collective search help? : sap abap data dictionary
What is the significance of delivery class? : abap data dictionary
dynamic programming in sap abap
What’s value table?
Structures can contain data only during the runtime of a program (t/f) : abap data dictionary
What is the use of f4if_shlp_exit_example function module ? : sap abap data dictionary
What are the advantages of logical databases?
What are the different types of the variable in the sap abap?
Difference between top-of-page and top-of-page during at line- selection?
PROGRAM TO CREATE INQUIRY IN SD USING BAPI 'BAPI_INQUIRY_CREATEFROMDATA'
What is step-loop? Explain all the steps?
What are the different types of internal table?