<?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 ABAP performance issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-performance-issue/m-p/2343775#M516841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I m facing a serious performance issue in ABAP report, it runs on massive data.&lt;/P&gt;&lt;P&gt;When i check it in se30, it takes 97 % of the time in Database processing. So I have to optimize it. It's a big report. Can anybody tell me, how can i find in SE30 or SE05 or in any other transaction, in which select or any other statement is taking more time, so I can optimize that statement.&lt;/P&gt;&lt;P&gt;Your help will be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Khan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2007 21:51:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-06T21:51:56Z</dc:date>
    <item>
      <title>ABAP performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-performance-issue/m-p/2343775#M516841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I m facing a serious performance issue in ABAP report, it runs on massive data.&lt;/P&gt;&lt;P&gt;When i check it in se30, it takes 97 % of the time in Database processing. So I have to optimize it. It's a big report. Can anybody tell me, how can i find in SE30 or SE05 or in any other transaction, in which select or any other statement is taking more time, so I can optimize that statement.&lt;/P&gt;&lt;P&gt;Your help will be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Khan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 21:51:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-performance-issue/m-p/2343775#M516841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T21:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-performance-issue/m-p/2343776#M516842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use ST05 Transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goto ST05 Transaction -&amp;gt; click on Trace on -&amp;gt; enter ur transaction -&amp;gt; execute ur transaction-&amp;gt; once you see the results go back to ST05 transaction -&amp;gt;trace off-&amp;gt;list display - &amp;gt; here you are able to see what sql query taking long time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 21:56:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-performance-issue/m-p/2343776#M516842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T21:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-performance-issue/m-p/2343777#M516843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Transaction ST05 is what I generally use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 21:57:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-performance-issue/m-p/2343777#M516843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T21:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-performance-issue/m-p/2343778#M516844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Transaction ST05 is highly recommended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps:&lt;/P&gt;&lt;P&gt;1. ST05 &lt;/P&gt;&lt;P&gt;2. Trace On&lt;/P&gt;&lt;P&gt;3. Execute the program and let it finish (make sure to vary parameters for each trace in order to get realistic values, since a cache is built and the second time is usually faster than the 1st.)&lt;/P&gt;&lt;P&gt;4. Trace Off&lt;/P&gt;&lt;P&gt;5. Display Trace (select radio button "detailed trace list")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the red colored areas, which reference to statements taking the most time (in seconds.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, check over your program and do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Make sure to use as many key fields as possible, when using both joins and where statements.&lt;/P&gt;&lt;P&gt;2. Instead of using '&amp;lt;&amp;gt;' in a where statement, create a range and fill it with the specific values, and do "where in &amp;lt;range&amp;gt;."&lt;/P&gt;&lt;P&gt;3. Speak to your team lead about the possibility of secondary indexes. This is very useful and has stripped much processing time from past projects. However, secondary indexes shouldn't be created for only 1 program, Make sure that the secondary index will also be used in the future (again, talk with you team lead.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Visit the following URLS for more info on secondary indexes:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3505065"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=3023360&amp;amp;messageID=1633228" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=3023360&amp;amp;messageID=1633228&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, in ST05, when displaying the trace, select the radio button "detailed trace list" for improved trace results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 22:07:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-performance-issue/m-p/2343778#M516844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T22:07:08Z</dc:date>
    </item>
  </channel>
</rss>

