Among "Move" and "Move Corresponding", which is efficient one?
Answers were Sorted based on User's Feedback
Answer / sukhbir
Both will move data from one itab to other...
However Move statement can only be used to pass data b/w 2
similar structured internal table.
Performance issue :
Move corresponding reduces the performance and not
suggested.
| Is This Answer Correct ? | 11 Yes | 2 No |
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 |
Answer / prabha
as of me...
Move is the efficient compare to move-corresponding.
becuz.........
comming to move statement
if we use move it directly moving to appropriate field.
if we moving one-one field no problem..but if we are moving
total structure both should have same structure....
comming to move-corresponding ...
if we use this first it have to search for corresponding
field then it will do move operation...
so it is not that much efficient than move...
if i am wrong please correct me.
| Is This Answer Correct ? | 4 Yes | 0 No |
I think Move-corresponding is better than Move.
Think you want to transfer data between two internal tables
of different type, e.g. 10 fields
I saw comment above that move-corresponding will have to
look all the fields and then transfer which takes time.
That's true but what if you have used Move. There will be
10 lines of code and it also does the transfer only. So
performence wise there is not big difference.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / aashish mehta
For "move-corresponding", the two internal tables must have
same structure, else it will give error.
But for "move", the two may or may not have the same structure.
Performancewise, move-corresponding is more faster than move.
| Is This Answer Correct ? | 2 Yes | 14 No |
Answer / guest
I guess, 'move corresponding' is very efficient then 'move'
statement. Because usually we use this stamtent for internal
table fields only...so if we give move corresponding. Those
fields only moving to other place (what ever you want).
| Is This Answer Correct ? | 2 Yes | 19 No |
How can we access the correction and transport system? : abap data dictionary
What are vale table check table? What's the difference between the two? Explain with simple example taking table.
Define infotype ? : abap hr
what is 3 tire architecture and how does SAP utilizes this architecture. and how do netweaver came into picture?
What are aggregated objects
Name some data dictionary objects?
"I want to access one record, I don't know any key figures.How to do that"
why u can call(r using) ssf_function_module_name in smartforms?
What are base tables of an aggregate object? : abap data dictionary
transaction code for assingning the function module to the process code?
If I want to execute a bdc program only in background not in foreground is there any option for this? : abap bdc
What is the transaction code to display the payroll results
SAP Basis (1262)
SAP ABAP (3939)
SAPScript (236)
SAP SD (Sales & Distribution) (2717)
SAP MM (Material Management) (912)
SAP QM (Quality Management) (99)
SAP PP (Production Planning) (523)
SAP PM (Plant Maintenance) (252)
SAP PS (Project Systems) (138)
SAP FI-CO (Financial Accounting & Controlling) (2766)
SAP HR (Human Resource Management) (1180)
SAP CRM (Customer Relationship Management) (432)
SAP SRM (Supplier Relationship Management) (132)
SAP APO (Advanced Planner Optimizer) (92)
SAP BW (Business Warehouse) (896)
SAP Business Workflow (72)
SAP Security (597)
SAP Interfaces (74)
SAP Netweaver (282)
SAP ALE IDocs (163)
SAP Business One (110)
SAP BO BOBJ (Business Objects) (388)
SAP CPS (Central Process Scheduling) (14)
SAP GTS (Global Trade Services) (21)
SAP Hybris (132)
SAP HANA (700)
SAP PI (Process Integration) (113)
SAP PO (Process Orchestration) (25)
SAP BI (Business Intelligence) (174)
SAP BPC (Business Planning and Consolidation) (38)
SAP BODS (Business Objects Data Services) (49)
SAP BODI (Business Objects Data Integrator) (26)
SAP Ariba (9)
SAP Fiori (45)
SAP EWM (Extended Warehouse Management) (58)
Sap R/3 (150)
SAP FSCM Financial Supply Chain Management (101)
SAP WM (Warehouse Management) (31)
SAP GRC (Governance Risk and Compliance) (64)
SAP MDM (Master Data Management) (0)
SAP MRS (Multi Resource Scheduling) (0)
SAP ESS MSS (Employee Manager Self Service) (13)
SAP CS (Customer Service) (0)
SAP TRM (Treasury and Risk Management) (0)
SAP Web Dynpro ABAP (198)
SAP IBP (Integrated Business Planning) (0)
SAP OO-ABAP (Object Oriented ABAP) (70)
SAP S/4 HANA Finance (Simple Finance) (143)
SAP FS-CD (Collections and Disbursements) (0)
SAP PLM (Product Lifecycle Management) (0)
SAP SuccessFactors (33)
SAP Vistex (0)
SAP ISR (IS Retail) (28)
SAP IdM (Identity Management) (0)
SAP IM (Investment Management) (0)
SAP UI5 (59)
SAP SCM (Supply Chain Management) (51)
SAP XI (Exchange Infrastructure) (49)
SAP Cloud Platform (34)
SAP Testing (89)
SAP SolMan (Solution Manager) (63)
SAP MaxDB (116)
SAP GUI (15)
SAP AllOther (329)