<?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: Need help in Performance tuning in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-in-performance-tuning/m-p/4015364#M959408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find below the links to tips on Performance Tuning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.sdn.sap.com/wiki/display/ABAP/Performance" target="test_blank"&gt;https://wiki.sdn.sap.com/wiki/display/ABAP/Performance&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/abap" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/abap&lt;/A&gt;&lt;EM&gt;Performance&lt;/EM&gt;and+Tuning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if found helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R Adarsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jun 2008 10:48:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-23T10:48:33Z</dc:date>
    <item>
      <title>Need help in Performance tuning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-in-performance-tuning/m-p/4015358#M959402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        I am facing some performance issues in my program.  The program taking a hell lot of time to execute and some times timing out without giving the out put.  This is a report program with ALV output.  It is handling mainly Sales related data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       The program is fetching a huge volume of data from different tables and processing this bulk data inside the loops several times.  In most of the queries I am unable to supply all key fields, because my requirement is like that only.  I have many places in my program i am using inner loop and function modules inside loop etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Any pointers on this will be a great help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jijeesh P G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 05:08:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-in-performance-tuning/m-p/4015358#M959402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T05:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in Performance tuning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-in-performance-tuning/m-p/4015359#M959403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because we dont know how you implemented the code, these are some suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avoid MOVE-CORRESPONDING instead create the internal table in the order of fields specified in the SELECT query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avoid SELECT stmts in LOOP. or LOOPS in LOOPs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better to use READ stmts after sorting  tables.&lt;/P&gt;&lt;P&gt;Instead of JOINS go for FOR ALL ENTRIES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use more subroutines .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 05:14:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-in-performance-tuning/m-p/4015359#M959403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T05:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in Performance tuning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-in-performance-tuning/m-p/4015360#M959404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use SE30 and ST05 for better analysis.&lt;/P&gt;&lt;P&gt;SE30 will give u the time taken by ABAP, DB and APPL respectively. The bar in red will indicate the most time consumed area. Then start looking into it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ST05 will give the analysis of SELECTs in your prog.&lt;/P&gt;&lt;P&gt;The Tool details are available in the forum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have Unnecessary Select in the loop??&lt;/P&gt;&lt;P&gt;Try to combine the loops, if possible. It may save a bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 05:30:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-in-performance-tuning/m-p/4015360#M959404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T05:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in Performance tuning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-in-performance-tuning/m-p/4015361#M959405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See tips and tricks in se30&lt;/P&gt;&lt;P&gt;If database access is the issue use st05 - combined table access then aggregate by table then look at which tables use the most percentage of the time then look for the selections to these tables in your program and optimise.&lt;/P&gt;&lt;P&gt;Things to keep in mind:&lt;/P&gt;&lt;P&gt;Make sure you aren't retrieving the same data more than once from the database - read instead&lt;/P&gt;&lt;P&gt;If using for all entries sort the table used by the fields you are using first.&lt;/P&gt;&lt;P&gt;Check for all entries table is not empty.&lt;/P&gt;&lt;P&gt;Delete adjacent duplicates from the for all entries table&lt;/P&gt;&lt;P&gt;Run SCI on your program&lt;/P&gt;&lt;P&gt;FM inside loops - can the data be don 'on change on' or equivalent i.e. are you calling more than absolutely necessary&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 13:30:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-in-performance-tuning/m-p/4015361#M959405</guid>
      <dc:creator>alison_lloyd</dc:creator>
      <dc:date>2008-06-19T13:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in Performance tuning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-in-performance-tuning/m-p/4015362#M959406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Make sure that any READ or LOOP inside an outer LOOP accesses the inner table with an appropriate key (either using BINARY search when reading a standard table or using sorted/hashed tables for inner tables only). This helps in most cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) If the tables witdh is more than aprox. 30 bytes LOOP ASSIGNING &amp;lt;wa&amp;gt; may help a bit. Declare &amp;lt;wa&amp;gt; for each table separately using the tables line type (otherway type casting would cost some additional time).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) You may use FM SAPGUI_PROGRESS_INDICATOR in the outer loops to inform the user while he is waiting. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) A COMMIT from time to time will reset the measured time for timeout ( and therefore avoids timeouts - do NOT use without checking step 1) ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) The programm may use virtual memory if a huge amount of data is selected ( I have seen dumps in due to the fact that nor more disk space was available). So  - if STEPS 1)-3) failed - look a the process for rollling in/out).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 13:39:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-in-performance-tuning/m-p/4015362#M959406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T13:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in Performance tuning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-in-performance-tuning/m-p/4015363#M959407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;/people/hema.rao/blog/2006/09/25/performance-tuning--an-overlooked-activity&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jun 2008 09:58:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-in-performance-tuning/m-p/4015363#M959407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-21T09:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in Performance tuning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-in-performance-tuning/m-p/4015364#M959408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find below the links to tips on Performance Tuning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.sdn.sap.com/wiki/display/ABAP/Performance" target="test_blank"&gt;https://wiki.sdn.sap.com/wiki/display/ABAP/Performance&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/abap" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/abap&lt;/A&gt;&lt;EM&gt;Performance&lt;/EM&gt;and+Tuning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if found helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R Adarsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 10:48:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-in-performance-tuning/m-p/4015364#M959408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T10:48:33Z</dc:date>
    </item>
  </channel>
</rss>

