‎2009 Feb 24 4:52 PM
It is recommended not to use the Move-corresponding statements in the code.
Is there any alternative of that..which improves performance.
ex.
MOVE-CORRESPONDING WA_ITAB1 TO WA_SUCLOG.
please suggest.
Thanks.
‎2009 Feb 24 5:03 PM
This is a misconception. While the use of MOVE-CORRESPONDING does add a very small amount of execution time, it's not worth worrying about. It would likely take more time writing the code to move the fields individually than would be saved over the life of the program.
Rob
‎2009 Feb 24 5:17 PM
> It is recommended not to use the Move-corresponding statements in the code.
Where is this recommended, except in posts here that are copied from previous posts that are copied from previous posts that are...
As I stated on similar occasions, "corresponding" (in move and select statements) allows for very efficient programming techniques, whereas the performance aspect is neglectable (just compare yourself for heaven's sakes).
My favourite example is an ALV list based on a DDIC structure with the field catalog. Two new fields from already accessed tables are required. If you programmed the list correctly all you need to do is add those two fields to the DDIC structure and that's it. Thanks to "corresponding".
Thomas
‎2009 Feb 25 4:55 AM
Thanks Rob and Thomas for ur response.
Regards,
Gaurav
‎2009 Jun 23 5:53 AM
Read this article also..
[Using MOVE-CORRESPONDING - Myth to Meaningful|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30c02051-852d-2c10-3c91-ba2bcf404510]
‎2009 Jun 23 10:07 AM
Handy document!
By the way what made you aware after 120 days?
Thanks for sharing.
Cheers
‎2009 Jun 23 2:31 PM
>
> By the way what made you aware after 120 days?
It may have been Vijay's subtle way of reminding me to take care of something that I said I would do a couple of weeks ago and have now done
Rob
‎2009 Jun 25 12:22 PM
I am just reading Rob's Sticky, i thought it is useful, and just want to contribute to Rob's Sticky. He already posted a link referring to the current thread. Instead of Adding my comment there, i added it to the existing thread.
‎2009 Jun 23 10:51 AM