<?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/3839512#M923189</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;Try reading this&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_PerformanceAnalysisTools.asp" target="test_blank"&gt;http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_PerformanceAnalysisTools.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.erpgenie.com/abap/performance.htm" target="test_blank"&gt;http://www.erpgenie.com/abap/performance.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;few tips:&lt;/P&gt;&lt;P&gt;1.Kindly see  if u have mistakenly using select-endselect.&lt;/P&gt;&lt;P&gt;2.using select queries widin loop-endloop.&lt;/P&gt;&lt;P&gt;3.Following are the different tools provided by SAP for performance analysis of an ABAP object&lt;/P&gt;&lt;P&gt;4.considering performance we should try writing such code which hits database min number of times.&lt;/P&gt;&lt;P&gt;If the database percentage is less(min) ur code's perforamnce is better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Run time analysis transaction SE30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This transaction gives all the analysis of an ABAP program with respect to the database and the non-database processing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. SQL Trace transaction ST05&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The trace list has many lines that are not related to the SELECT statement in the ABAP program. This is because the execution of any ABAP program requires additional administrative SQL calls. To restrict the list output, use the filter introducing the trace list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The trace list contains different SQL statements simultaneously related to the one SELECT statement in the ABAP program. This is because the R/3 Database Interface - a sophisticated component of the R/3 Application Server - maps every Open SQL statement to one or a series of physical database calls and brings it to execution. This mapping, crucial to R/3s performance, depends on the particular call and database system. For example, the SELECT-ENDSELECT loop on the SPFLI table in our test program is mapped to a sequence PREPARE-OPEN-FETCH of physical calls in an Oracle environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The WHERE clause in the trace list's SQL statement is different from the WHERE clause in the ABAP statement. This is because in an R/3 system, a client is a self-contained unit with separate master records and its own set of table data (in commercial, organizational, and technical terms). With ABAP, every Open SQL statement automatically executes within the correct client environment. For this reason, a condition with the actual client code is added to every WHERE clause if a client field is a component of the searched table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To see a statement's execution plan, just position the cursor on the PREPARE statement and choose Explain SQL. A detailed explanation of the execution plan depends on the database system in use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or else above mentioned links gives details about the performance tuning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps .Kindly rewrd if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 May 2008 07:34:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-30T07:34:44Z</dc:date>
    <item>
      <title>Performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3839507#M923184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guru's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could any one please tell me what are performance steps we have to take while writing report program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Vardhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 May 2008 08:19:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3839507#M923184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-25T08:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3839508#M923185</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;This is a very generic topic. However I can give you some advices to increase performance when reporting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ST05 and SE30&lt;/P&gt;&lt;P&gt;.use those transactions to measure your program performance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Database acesses: &lt;/P&gt;&lt;P&gt;.always use the keys and indexes that may exist in the tables.&lt;/P&gt;&lt;P&gt;.avoid using SELECT * .. instead use SELECT field1 field2&lt;/P&gt;&lt;P&gt;.if possible, use JOIN and FOR ALL ENTRIES&lt;/P&gt;&lt;P&gt;.avoid duplicates, i.e, avoid reading the same record twice&lt;/P&gt;&lt;P&gt;.use SELECT ... INTO TABLE, instead of SELECT/ENDSELECT&lt;/P&gt;&lt;P&gt;.etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal tables:&lt;/P&gt;&lt;P&gt;. if possible, use HASHED tables&lt;/P&gt;&lt;P&gt;. use work areas&lt;/P&gt;&lt;P&gt;. when modifying table, use adiction TRANSPORTING if you only want to modify some fields&lt;/P&gt;&lt;P&gt;.try to move blocks instead of line by line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopes this helps ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Valter Oliveira on May 25, 2008 1:31 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 May 2008 12:29:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3839508#M923185</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2008-05-25T12:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3839509#M923186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishnu,&lt;/P&gt;&lt;P&gt;Here are some more points:&lt;/P&gt;&lt;P&gt;--&amp;gt; Always ensure that the selected data is as small as possible.&lt;/P&gt;&lt;P&gt;--&amp;gt; Try using "Select Single" instead of normal select if you want only one row of data.&lt;/P&gt;&lt;P&gt;--&amp;gt; Use Joins instead of Nested Select statements wherever possible.&lt;/P&gt;&lt;P&gt;--&amp;gt; Avoid unnecessary declarations of internal tables, work-areas etc.&lt;/P&gt;&lt;P&gt;--&amp;gt; Use ABAP System fields (like sy-datum, sy-index, sy-tfill etc) and avoid creating new variables where these can serve the purpose.&lt;/P&gt;&lt;P&gt;--&amp;gt; Use maximum number of table keys in the "WHERE" condition of select statements.&lt;/P&gt;&lt;P&gt;--&amp;gt; Binary Search is quite useful at times, use it to get good performance.&lt;/P&gt;&lt;P&gt;--&amp;gt; Use the "Total" fields that already exist in many tables, instead of recalculating the total. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These points will definitely increase the optimization of your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Reward if you find any of them useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kalyan Chakravarthy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 May 2008 19:37:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3839509#M923186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-25T19:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3839510#M923187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use filed group&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 09:41:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3839510#M923187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-26T09:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3839511#M923188</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 &lt;/P&gt;&lt;P&gt;u 'll get &lt;/P&gt;&lt;P&gt;which code is taking how much time&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; &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>Mon, 26 May 2008 11:03:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3839511#M923188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-26T11:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3839512#M923189</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;Try reading this&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_PerformanceAnalysisTools.asp" target="test_blank"&gt;http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_PerformanceAnalysisTools.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.erpgenie.com/abap/performance.htm" target="test_blank"&gt;http://www.erpgenie.com/abap/performance.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;few tips:&lt;/P&gt;&lt;P&gt;1.Kindly see  if u have mistakenly using select-endselect.&lt;/P&gt;&lt;P&gt;2.using select queries widin loop-endloop.&lt;/P&gt;&lt;P&gt;3.Following are the different tools provided by SAP for performance analysis of an ABAP object&lt;/P&gt;&lt;P&gt;4.considering performance we should try writing such code which hits database min number of times.&lt;/P&gt;&lt;P&gt;If the database percentage is less(min) ur code's perforamnce is better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Run time analysis transaction SE30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This transaction gives all the analysis of an ABAP program with respect to the database and the non-database processing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. SQL Trace transaction ST05&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The trace list has many lines that are not related to the SELECT statement in the ABAP program. This is because the execution of any ABAP program requires additional administrative SQL calls. To restrict the list output, use the filter introducing the trace list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The trace list contains different SQL statements simultaneously related to the one SELECT statement in the ABAP program. This is because the R/3 Database Interface - a sophisticated component of the R/3 Application Server - maps every Open SQL statement to one or a series of physical database calls and brings it to execution. This mapping, crucial to R/3s performance, depends on the particular call and database system. For example, the SELECT-ENDSELECT loop on the SPFLI table in our test program is mapped to a sequence PREPARE-OPEN-FETCH of physical calls in an Oracle environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The WHERE clause in the trace list's SQL statement is different from the WHERE clause in the ABAP statement. This is because in an R/3 system, a client is a self-contained unit with separate master records and its own set of table data (in commercial, organizational, and technical terms). With ABAP, every Open SQL statement automatically executes within the correct client environment. For this reason, a condition with the actual client code is added to every WHERE clause if a client field is a component of the searched table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To see a statement's execution plan, just position the cursor on the PREPARE statement and choose Explain SQL. A detailed explanation of the execution plan depends on the database system in use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or else above mentioned links gives details about the performance tuning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps .Kindly rewrd if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 07:34:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/3839512#M923189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T07:34:44Z</dc:date>
    </item>
  </channel>
</rss>

