<?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: Why ABAP 7.4 syntax is reducing the Performance? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445162#M13326</link>
    <description>&lt;P&gt;I've edited my response to say what I meant - I really was only referring to the work area one. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; But that's a good point - it &lt;EM&gt;is&lt;/EM&gt; suspicious.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jul 2017 07:47:22 GMT</pubDate>
    <dc:creator>matt</dc:creator>
    <dc:date>2017-07-07T07:47:22Z</dc:date>
    <item>
      <title>Why ABAP 7.4 syntax is reducing the Performance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445154#M13318</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using ABAP 7.4 syntax to test whether it improves the performance or not. But in SE30, I found that using ABAP 7.4, it reduces the performance. So, should I use ABAP 7.4 syntax? or am I doing something wrong?&lt;/P&gt;&lt;P&gt;For example, I have used a loop for summation of a field. Check the below syntax:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/44949-capture0.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/44950-capture1.png" /&gt;&lt;/P&gt;&lt;P&gt;ABAP7.4 is taking more time. See the SE30 report analysis:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/44951-capture2.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Similarly, for every other scenario like copying the value of a field of an internal table into another, reading an internal table into a work area, ABAP 7.4 is taking more time.&lt;/P&gt;&lt;P&gt;Please help!!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 14:33:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445154#M13318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-07-06T14:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why ABAP 7.4 syntax is reducing the Performance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445155#M13319</link>
      <description>&lt;P&gt;How often did you measure? Did you measure a large number of executions in a loop?&lt;/P&gt;&lt;P&gt;From looking at the screenshot I'd say, they use the same time.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 14:51:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445155#M13319</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2017-07-06T14:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why ABAP 7.4 syntax is reducing the Performance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445156#M13320</link>
      <description>&lt;P&gt;I have tested the result for approximate 14k records and there is always a difference of around 10 - 20 micro seconds.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 15:00:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445156#M13320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-07-06T15:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why ABAP 7.4 syntax is reducing the Performance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445157#M13321</link>
      <description>&lt;P&gt;Could you try to change from this&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data(lsum) = REDUCE i( init x = 0 for wa in gt_tab1 next x = x + wa-wkurs ).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;to&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data(lsum) = REDUCE i( init x = 0 for &amp;lt;wa&amp;gt; in gt_tab1 next x = x + &amp;lt;wa&amp;gt;-wkurs ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In your loop, you are using field symbols while in the reduce case, you seems to use a work area. That would results in data copy which may be the reason you lose performance.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 15:07:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445157#M13321</guid>
      <dc:creator>david_lapointe_qc</dc:creator>
      <dc:date>2017-07-06T15:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why ABAP 7.4 syntax is reducing the Performance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445158#M13322</link>
      <description>&lt;P&gt;So a loss of 1 to 3 %. That would be nice if the performance issues were only limited to that. Usually, the biggest issues in ABAP programs come from the database, and the unit is in minutes and even hours in worst cases. Don't lose too much time for saving a few milliseconds.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 20:33:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445158#M13322</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2017-07-06T20:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why ABAP 7.4 syntax is reducing the Performance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445159#M13323</link>
      <description>&lt;P&gt;Thanks David.&lt;/P&gt;&lt;P&gt;Now, it is working as expected.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/44979-sum-inside-the-loop-03.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 04:48:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445159#M13323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-07-07T04:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why ABAP 7.4 syntax is reducing the Performance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445160#M13324</link>
      <description>&lt;P&gt;Note that according to your results, with 7.4, REDUCE is considerably faster than LOOP AT with work area.  &lt;/P&gt;&lt;P&gt;Please share the other new syntax commands you've used. It will be interesting to see. And when we've reviewed them - you can write a blog with your findings.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 05:44:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445160#M13324</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2017-07-07T05:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why ABAP 7.4 syntax is reducing the Performance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445161#M13325</link>
      <description>&lt;P&gt;"considerably faster" = 2% faster (results with field symbols).&lt;/P&gt;&lt;P&gt;The difference of performance with work areas is suspicious, so please share your code (by the way, with a work area, the results may considerably vary based on the size of lines of your internal table, for instance if your lines only contain WKURS, versus lines containing big internal tables, etc.)&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 06:18:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445161#M13325</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2017-07-07T06:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why ABAP 7.4 syntax is reducing the Performance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445162#M13326</link>
      <description>&lt;P&gt;I've edited my response to say what I meant - I really was only referring to the work area one. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; But that's a good point - it &lt;EM&gt;is&lt;/EM&gt; suspicious.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 07:47:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445162#M13326</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2017-07-07T07:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why ABAP 7.4 syntax is reducing the Performance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445163#M13327</link>
      <description>&lt;P&gt;Those old and new who have learnt old school ABAP and stick to it will come up with such excuses.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 07:41:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-abap-7-4-syntax-is-reducing-the-performance/m-p/445163#M13327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-10-18T07:41:59Z</dc:date>
    </item>
  </channel>
</rss>

