<?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: abap program for optimization in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program-for-optimization/m-p/653604#M28155</link>
    <description>&lt;P&gt;&lt;A href="https://answers.sap.com/storage/attachments/129407-zabap.txt"&gt;zabap.txt&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Hi ABAP Gurus,&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Please see my attached file.&lt;/P&gt;
  &lt;P&gt;Do you think my program is now optimized?&lt;/P&gt;
  &lt;P&gt;Thank you all sooooo much.&lt;/P&gt;
  &lt;P&gt;Juan&lt;/P&gt;</description>
    <pubDate>Thu, 19 Apr 2018 06:09:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-04-19T06:09:42Z</dc:date>
    <item>
      <title>abap program for optimization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program-for-optimization/m-p/653600#M28151</link>
      <description>&lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://answers.sap.com/storage/attachments/126630-ztest-program.txt"&gt;ztest-program.txt&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Hi ABAP,&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;I am an abap newbie. I have written a code that needs to be optimized.&lt;/P&gt;
  &lt;P&gt;Not sure if my attached ABAP source code is already optimized.&lt;/P&gt;
  &lt;P&gt;Please check my source code and provide comments or suggestions if it is optimized or not.&lt;/P&gt;
  &lt;P&gt;Thank you&lt;/P&gt;
  &lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 05:51:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program-for-optimization/m-p/653600#M28151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-04-06T05:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: abap program for optimization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program-for-optimization/m-p/653601#M28152</link>
      <description>&lt;P&gt;No. It's not optimised. &lt;/P&gt;
  &lt;P&gt;It uses performs, which are obsolete ABAP constructs. You should re-write in an object oriented fashion ,&lt;/P&gt;
  &lt;P&gt;It's not well modularised. Rule of thumb, no modular unit should be more than about 20 statements. (Rule of thumb so there are exceptions).&lt;/P&gt;
  &lt;P&gt;You've not used HASHED or SORTED tables.&lt;/P&gt;
  &lt;P&gt;Looks like you've got nested database selects - you don't have any INNER JOINs. &lt;/P&gt;
  &lt;P&gt;Rather than ask if your code is optimised, why don't you research the tools that analyse the runtime and apply them. Find out where the bottlenecks are and look for ways to improve.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 06:00:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program-for-optimization/m-p/653601#M28152</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2018-04-06T06:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: abap program for optimization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program-for-optimization/m-p/653602#M28153</link>
      <description>&lt;P&gt;I hope these links helps you,&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://www.sap.com/documents/2016/09/0479dd6e-877c-0010-82c7-eda71af511fa.html" target="test_blank"&gt;https://www.sap.com/documents/2016/09/0479dd6e-877c-0010-82c7-eda71af511fa.html&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://archive.sap.com/discussions/thread/255854" target="test_blank"&gt;https://archive.sap.com/discussions/thread/255854&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 09:07:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program-for-optimization/m-p/653602#M28153</guid>
      <dc:creator>Ganesh_Pandian</dc:creator>
      <dc:date>2018-04-06T09:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: abap program for optimization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program-for-optimization/m-p/653603#M28154</link>
      <description>&lt;P&gt;Maybe it is a good idea, to read the ABAP Programming Guidelines and to follow the rules:&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;A href="https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/index.htm?file=abenabap_pgl.htm" target="test_blank"&gt;https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/index.htm?file=abenabap_pgl.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 09:44:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program-for-optimization/m-p/653603#M28154</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2018-04-06T09:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: abap program for optimization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program-for-optimization/m-p/653604#M28155</link>
      <description>&lt;P&gt;&lt;A href="https://answers.sap.com/storage/attachments/129407-zabap.txt"&gt;zabap.txt&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Hi ABAP Gurus,&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Please see my attached file.&lt;/P&gt;
  &lt;P&gt;Do you think my program is now optimized?&lt;/P&gt;
  &lt;P&gt;Thank you all sooooo much.&lt;/P&gt;
  &lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 06:09:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program-for-optimization/m-p/653604#M28155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-04-19T06:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: abap program for optimization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program-for-optimization/m-p/653605#M28156</link>
      <description>&lt;P&gt;I refer you to my earlier answer:&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;No. It's not optimised.&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;It uses performs, which are obsolete ABAP constructs. You should re-write in an object oriented fashion ,&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;It's not well modularised. Rule of thumb, no modular unit should be more than about 20 statements. (Rule of thumb so there are exceptions).&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;You've not used HASHED or SORTED tables.&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;Looks like you've got nested database selects - you don't have any INNER JOINs.&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;Rather than ask if your code is optimised, why don't you research the tools that analyse the runtime and apply them. Find out where the bottlenecks are and look for ways to improve.&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;You don't appear to have followed the advice in the links in the answer you've marked as accepted (even though it got negative votes). &lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 06:38:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program-for-optimization/m-p/653605#M28156</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2018-04-19T06:38:16Z</dc:date>
    </item>
  </channel>
</rss>

