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 primary index?
send coding to write a program to create customer quotation using BAPI 'BAPI_QUOTATION_CREATEFROMDATA2/BAPI_QUOTATION_CREATEFR OMDATA'
What is page window?
data:zxyz type xyz. where xyz is a standard sap structure where it contains data type fields and line type (refer to other structure) fields. my question is how to assign values to field zxyz-str-matnr where str is a structure inside xyz structure.
What happens if only one of the commands set screen and leave screen is used without using the other?
How to specify a client for database table processing?
Under Data Transfer Portion of ABAP, what do you mean by DX Project
A field containing currency amounts (data type curr) must be assigned to a reference table and a reference field. Explain?
What is the collect statement? How is it different from append?
How do you activate a function exit?
Can you delete data element, which is being used by table fields?
When to use logical database?
What is the difference between synchronous and asynchronous update?
What is meant by performance analysis? Have done anything to improve the performance?
Explain what are the different functions used in sap script? What are the parameters used in each function?