<?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: Performance in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3803306#M914731</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Malay Gal..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R u a Melayu Girl from Malaysia....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 May 2008 08:34:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-27T08:34:10Z</dc:date>
    <item>
      <title>Performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3803298#M914723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys i have an ABAP report which shows 80 % time for the database. i dont have much idea in improving the perofrmance of the report. Please help me how to improve the perofrmance of a program as i am a beginner... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 08:20:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3803298#M914723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T08:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3803299#M914724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Since you are a beginner, I would like you to refer these links which might help you to improve the performance of the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Run Time Analyser&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/c6/617cafe68c11d2b2ab080009b43351/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/c6/617cafe68c11d2b2ab080009b43351/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SQL trace&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/d1/801f7c454211d189710000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/d1/801f7c454211d189710000e8322d00/content.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also, try these links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SE30&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/siegfried.boes/blog/2007/11/13/the-abap-runtime-trace-se30--quick-and-easy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe also interesting &lt;STRONG&gt;SQL trace&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/siegfried.boes/blog/2007/09/05/the-sql-trace-st05-150-quick-and-easy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful to you. If you need further information, revert back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nagaraj T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 08:56:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3803299#M914724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T08:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3803300#M914725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your question is very generic, I think that you have performed a run-time analysis of your program and it says that your program spends 80% of the time in the database.&lt;/P&gt;&lt;P&gt;- Browse around a bit in the run time analysis, go to the Hit list for instance. It will show you how much time each step takes. Look in the Net column, that will show you which part is taking the most time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then follow these three "golden rules" for efficient database handling in ABAP programs:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Minimise amount of data accessed by the SQL statement.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Make sure all select-statements have WHERE clauses.&lt;/P&gt;&lt;P&gt;- Use well defined WHERE statements, always have values for the key-field(s) or one of the index fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Minimise data transfer from database to application servers.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Define a field list, instead of SELECT * (star) statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Minimise the number of data transfers from database to apllication servers.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- SELECT INTO table.&lt;/P&gt;&lt;P&gt;- Use FOR ALL ENTRIES in table, instead of nested selects or selects inside LOOPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the F1 help on the Select-statement that will show you how to write the options described above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm aware that this is not a very concrete answer, it requires quite a bit of work on your part, but I hope this will put you on path towards learning how to program in a performant way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan Ericsson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 08:56:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3803300#M914725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T08:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3803301#M914726</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;run your program through SE30. u can go thru this link to know abt [se30|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/7769] &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other performance tuning tips:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/abap%2bperformance%2band%2btuning" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/abap%2bperformance%2band%2btuning&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;madhumitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 08:56:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3803301#M914726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T08:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3803302#M914727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you to switch on ST05 trace before running this report. There you have options of finding the expensive sql statement. Basically you have to tune this expensive sql statement. Following are the things you have to check mainly&lt;/P&gt;&lt;P&gt;1. WHERE clause of the sql statement&lt;/P&gt;&lt;P&gt;2. Whether the fields in the WHERE clause is mentioned in the index accessed , if not create proper index. You can check the selectivity of the fields through DB05 transaction.&lt;/P&gt;&lt;P&gt;3. Make sure statistics are upto date for all table/indexes accessed.&lt;/P&gt;&lt;P&gt;4. Check for the index fragmentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yours Sincerely&lt;/P&gt;&lt;P&gt;Dileep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 13:55:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3803302#M914727</guid>
      <dc:creator>former_member251078</dc:creator>
      <dc:date>2008-05-22T13:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3803303#M914728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you know already that your program spends 80% on the database, then you have 80% improvement potential on the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please read my blog on the SQL Trace which was mentioned above already. Read it carefully, to find the point where you should start on the&lt;/P&gt;&lt;P&gt;database is very simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to the SQL statement summary, the are sorted by duration, &lt;/P&gt;&lt;P&gt;1.  check 'min time/records' =&amp;gt; slow then check indexes.&lt;/P&gt;&lt;P&gt;2. Check number of executions and records, if high, try to reduce, there is probably to much going&lt;/P&gt;&lt;P&gt;3. heck buffer column&lt;/P&gt;&lt;P&gt;4. identicals&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the nuimber 1. is the most important, maybe you have on bug, which makes on select very slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, never forget, do not trace the first execution but the second or third! Check whether your 80% are based on a first execution or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2008 06:24:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3803303#M914728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-23T06:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3803304#M914729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make sure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u using select single it use database buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to use field group in ur program if u dont knw read them..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;always use internal table of temp update .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 09:38:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3803304#M914729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-26T09:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3803305#M914730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;go to tcode se30&lt;/P&gt;&lt;P&gt;clik on tips &amp;amp; tricks on the application tool bar&lt;/P&gt;&lt;P&gt;then in the left hand side of the screen u find no of folders &lt;/P&gt;&lt;P&gt;just clik on&lt;/P&gt;&lt;P&gt;selec* vs selct f1,f2.....&lt;/P&gt;&lt;P&gt;just double clik on it then clik on measure run time &lt;/P&gt;&lt;P&gt;so that u 'll get which code is taking how much time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it takes less time meansit's performance is better&lt;/P&gt;&lt;P&gt;so in any program u ve to modify the statement's acordingly so that &lt;/P&gt;&lt;P&gt;ur program will takes very less execution time .&lt;/P&gt;&lt;P&gt;just go through it&lt;/P&gt;&lt;P&gt;in this process u just  try and chechk which types of code u've written and how that can be replaced..&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;sachhidananda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 08:20:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3803305#M914730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T08:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3803306#M914731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Malay Gal..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R u a Melayu Girl from Malaysia....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 08:34:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3803306#M914731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T08:34:10Z</dc:date>
    </item>
  </channel>
</rss>

