<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: move vs loop.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-vs-loop/m-p/5504614#M1259102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, i have tested using SE30 to analyze but due to some cache problem when selecting database, some other issue in my program and unconsistent of system performance i can determine whether which one is faster.&lt;/P&gt;&lt;P&gt;So could any one who know this please help to clarify abit for me.&lt;/P&gt;&lt;P&gt;I'll appreciate alot.&lt;/P&gt;&lt;P&gt;Thank you very much...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2009 08:43:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-30T08:43:28Z</dc:date>
    <item>
      <title>move vs loop..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-vs-loop/m-p/5504611#M1259099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : itab01 LIKE pa0001 occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF pernr_struc.&lt;/P&gt;&lt;P&gt;DATA:   pernr LIKE pa0001-pernr.&lt;/P&gt;&lt;P&gt;DATA: END   OF pernr_struc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: pernr_list  LIKE pernr_struc OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A. Move itab01[] to p_list[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B. Loop at itab01.&lt;/P&gt;&lt;P&gt;       APPEND itab01-pernr TO pernr_list.&lt;/P&gt;&lt;P&gt;    Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody please kindly tell me that which is faster? A or B.&lt;/P&gt;&lt;P&gt;Please...&lt;/P&gt;&lt;P&gt;Thank you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sean&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message - Performance tuning is what you do after the program is working - post locked&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Apr 30, 2009 9:00 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 08:25:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-vs-loop/m-p/5504611#M1259099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-30T08:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: move vs loop..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-vs-loop/m-p/5504612#M1259100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if your at itab01 and pernr_list are having exactly the same and same no of fields...you can go for 1st option,,,it will be faster..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 08:29:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-vs-loop/m-p/5504612#M1259100</guid>
      <dc:creator>former_member242255</dc:creator>
      <dc:date>2009-04-30T08:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: move vs loop..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-vs-loop/m-p/5504613#M1259101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you not just compare it yourself`? Please let us know the result.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 08:30:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-vs-loop/m-p/5504613#M1259101</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-04-30T08:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: move vs loop..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-vs-loop/m-p/5504614#M1259102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, i have tested using SE30 to analyze but due to some cache problem when selecting database, some other issue in my program and unconsistent of system performance i can determine whether which one is faster.&lt;/P&gt;&lt;P&gt;So could any one who know this please help to clarify abit for me.&lt;/P&gt;&lt;P&gt;I'll appreciate alot.&lt;/P&gt;&lt;P&gt;Thank you very much...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 08:43:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-vs-loop/m-p/5504614#M1259102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-30T08:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: move vs loop..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-vs-loop/m-p/5504615#M1259103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Loop at is faster for your case....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 09:37:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-vs-loop/m-p/5504615#M1259103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-30T09:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: move vs loop..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-vs-loop/m-p/5504616#M1259104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shum,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case it's not a matter of speed: MOVE will not work for you because the tables do not have the same structure (since PA0001 starts with MANDT you'll end up with the client in the first 3 characters of each record in your destination field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally speaking, though, and provided the internal tables have the same structure, MOVing at once will be much faster than LOOPing and APPENDing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Rui Dantas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 10:12:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-vs-loop/m-p/5504616#M1259104</guid>
      <dc:creator>Rui_Dantas</dc:creator>
      <dc:date>2009-04-30T10:12:35Z</dc:date>
    </item>
  </channel>
</rss>

