<?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 Tuning steps? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-steps/m-p/1479835#M224661</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the select statement try to include all the key fields of the database table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For all entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For all entries is used , for each entry of the internal table specified an entry will be selected for that  in the second select statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prerequisite : Internal table specified in for all entries should not be empty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select matnr from mara into table it_mara.

if not it_mara[] is initial. ---&amp;gt; &amp;lt;b&amp;gt;Prerequisite&amp;lt;/b&amp;gt;
  select maktx from makt into table it_makt for all entries in it_mara where matnr = it_mara-matnr.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here for every MATNR in it_maara , MAKTX will be selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Chandrasekhar Jagarlamudi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Aug 2006 14:03:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-11T14:03:22Z</dc:date>
    <item>
      <title>Performance Tuning steps?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-steps/m-p/1479834#M224660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;      What r the peformance tuning steps to increase the performance of ABAP Programs?In Select statement what must be included and what must not be included.?&lt;/P&gt;&lt;P&gt;What is "for all entries"?In this "for all entries" is there any  pre-condition before using "for all entries"?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;gopi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 13:56:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-steps/m-p/1479834#M224660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-11T13:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Tuning steps?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-steps/m-p/1479835#M224661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the select statement try to include all the key fields of the database table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For all entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For all entries is used , for each entry of the internal table specified an entry will be selected for that  in the second select statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prerequisite : Internal table specified in for all entries should not be empty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select matnr from mara into table it_mara.

if not it_mara[] is initial. ---&amp;gt; &amp;lt;b&amp;gt;Prerequisite&amp;lt;/b&amp;gt;
  select maktx from makt into table it_makt for all entries in it_mara where matnr = it_mara-matnr.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here for every MATNR in it_maara , MAKTX will be selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Chandrasekhar Jagarlamudi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 14:03:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-steps/m-p/1479835#M224661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-11T14:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Tuning steps?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-steps/m-p/1479836#M224662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out SE30,  "Tips 'n' Tricks" button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 14:05:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-steps/m-p/1479836#M224662</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-11T14:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Tuning steps?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-steps/m-p/1479837#M224663</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;See the below link, you will find the Performance Tuning steps for Select statment and also other stuff for this Performance &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/performance.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/performance.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&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;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/performance-tuning-for-data-selection-statement.htm" target="test_blank"&gt;http://www.sap-img.com/abap/performance-tuning-for-data-selection-statement.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 14:11:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-steps/m-p/1479837#M224663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-11T14:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Tuning steps?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-steps/m-p/1479838#M224664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gopi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Few guidelines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Try and get only the required fields in the SELECT statement. eg SELECT fields INTO xyz FROM table &lt;/P&gt;&lt;P&gt;rather than using SELECT *.&lt;/P&gt;&lt;P&gt;2. Try and use the WHERE conditions in the SELECT query instead of checks and ifs within the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For all enteries basically causes the the select statement to executed for all the entries in the particular internal table. Please note it is required that the internal table is populated otherwise it would fetch all data from select query (ignoring the where conditions)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 14:14:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-steps/m-p/1479838#M224664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-11T14:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Tuning steps?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-steps/m-p/1479839#M224665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gopi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following are the different tools provided by SAP for performance analysis of an ABAP object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run time analysis transaction SE30 &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;SQL Trace transaction ST05 &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;check these links:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/performance.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/performance.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/perform/performhome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/perform/performhome.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_Introduction.asp" target="test_blank"&gt;http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_Introduction.asp&lt;/A&gt;&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;keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 14:30:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-steps/m-p/1479839#M224665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-11T14:30:04Z</dc:date>
    </item>
  </channel>
</rss>

