<?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: regarding performance issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/2343929#M516883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Dont fire select query on same DB more than one time.&lt;/P&gt;&lt;P&gt;2) Check if itab is not initial when using FOR ALL ENTRIES.&lt;/P&gt;&lt;P&gt;3) Avoid two if condition for the radiobuttons having common radiobutton group like LIST &amp;amp; FORM in this case.&lt;/P&gt;&lt;P&gt;4) before creating field ALV stuff check output itab is not inital.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Before selecting sort the internal tables by the key fields.&lt;/P&gt;&lt;P&gt;2. Might be the internal table data is more use BINARY SEARCH when reading a table with key.&lt;/P&gt;&lt;P&gt;3. Use workareas instead getting data into internal table header.&lt;/P&gt;&lt;P&gt;4. For MODIFY statement give the row no. to modify with the values.&lt;/P&gt;&lt;P&gt;e.g: INDEX row_no TRANSPORTING FROM wa.&lt;/P&gt;&lt;P&gt;5. Clear fields, workareas whenever there is no use. FREE the tables which u don't require for further processing.&lt;/P&gt;&lt;P&gt;6. Give as many conditions while selecting data from database tables in WHERE conditions.&lt;/P&gt;&lt;P&gt;7. Don't use System variables directly like SY-INDEX while modifying or any process instead assign this value to ur local variable and use it.&lt;/P&gt;&lt;P&gt;8. Before selecting data from database tables using FOR ALL ENTRIES OF TABLE itab check whether the internal table u r using contains any data.&lt;/P&gt;&lt;P&gt;9. Instead of MOVE-CORRESPONDING assign the values directly to the fields of internal table and append&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;suresh.D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2007 10:57:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-08T10:57:48Z</dc:date>
    <item>
      <title>regarding performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/2343928#M516882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts&lt;/P&gt;&lt;P&gt;suppose one program performance will take 12 hour,regarding performance tunning technique used i minimised 12 hr to 8 hr.&lt;/P&gt;&lt;P&gt;the main question is again what r the methods/performance that we have to use &lt;/P&gt;&lt;P&gt;that decreases 8 hr to 2 hr.i faced recently this question from ibm.&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&lt;/P&gt;&lt;P&gt;subhasis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 09:35:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/2343928#M516882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T09:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: regarding performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/2343929#M516883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Dont fire select query on same DB more than one time.&lt;/P&gt;&lt;P&gt;2) Check if itab is not initial when using FOR ALL ENTRIES.&lt;/P&gt;&lt;P&gt;3) Avoid two if condition for the radiobuttons having common radiobutton group like LIST &amp;amp; FORM in this case.&lt;/P&gt;&lt;P&gt;4) before creating field ALV stuff check output itab is not inital.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Before selecting sort the internal tables by the key fields.&lt;/P&gt;&lt;P&gt;2. Might be the internal table data is more use BINARY SEARCH when reading a table with key.&lt;/P&gt;&lt;P&gt;3. Use workareas instead getting data into internal table header.&lt;/P&gt;&lt;P&gt;4. For MODIFY statement give the row no. to modify with the values.&lt;/P&gt;&lt;P&gt;e.g: INDEX row_no TRANSPORTING FROM wa.&lt;/P&gt;&lt;P&gt;5. Clear fields, workareas whenever there is no use. FREE the tables which u don't require for further processing.&lt;/P&gt;&lt;P&gt;6. Give as many conditions while selecting data from database tables in WHERE conditions.&lt;/P&gt;&lt;P&gt;7. Don't use System variables directly like SY-INDEX while modifying or any process instead assign this value to ur local variable and use it.&lt;/P&gt;&lt;P&gt;8. Before selecting data from database tables using FOR ALL ENTRIES OF TABLE itab check whether the internal table u r using contains any data.&lt;/P&gt;&lt;P&gt;9. Instead of MOVE-CORRESPONDING assign the values directly to the fields of internal table and append&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;suresh.D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 10:57:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/2343929#M516883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T10:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: regarding performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/2343930#M516884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;first we have to minimise code redundency.&lt;/P&gt;&lt;P&gt;-&amp;gt;avoid inner joins and use FOR ALL ENTRIES.&lt;/P&gt;&lt;P&gt;Always check the driver internal tables is not empty, while using FOR ALL ENTRIES&lt;/P&gt;&lt;P&gt;-&amp;gt;if u are using Database frequently i.e if u want to retrive the data more than one time from the same table depending on conditionthen first write one select statement using all the conditions and store the data into internal table.&lt;/P&gt;&lt;P&gt;make use of READ statement to retrieve data from that internal table ,this will decrese the database utilization.&lt;/P&gt;&lt;P&gt;-&amp;gt;avoid nested looping.&lt;/P&gt;&lt;P&gt;-&amp;gt; if u want o get data depending on checking radio boxes etc,selec the data depending n the condition.i.e&lt;/P&gt;&lt;P&gt;for example if u want to display vendor information when ven check box is clicked,display customer information when cust check box is clicked,instead of retrieving data from all the relavent tables write coding&lt;/P&gt;&lt;P&gt;if ven = 'X'.&lt;/P&gt;&lt;P&gt;write select statement to retrive vendor data.&lt;/P&gt;&lt;P&gt;elseifcust = 'X'.&lt;/P&gt;&lt;P&gt;write select statement to retrive customer data.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;this will decrese performance very well.&lt;/P&gt;&lt;P&gt;-&amp;gt;make sure u dont have any unused variable declarations etc.&lt;/P&gt;&lt;P&gt;Avoid having multiple Selects from the same table in the same object.&lt;/P&gt;&lt;P&gt;Try to minimize the number of variables to save memory. &lt;/P&gt;&lt;P&gt;The sequence of fields in 'where clause' must be as per primary/secondary index ( if any)&lt;/P&gt;&lt;P&gt;Avoid creation of index as far as possible&lt;/P&gt;&lt;P&gt;Avoid operators like &amp;lt;&amp;gt;, &amp;gt; , &amp;lt; &amp;amp; like % in where clause conditions&lt;/P&gt;&lt;P&gt;Avoid select/select single statements in loops.&lt;/P&gt;&lt;P&gt;Try to use 'binary search' in READ internal table. Ensure table is sorted before using BINARY SEARCH.&lt;/P&gt;&lt;P&gt;Avoid using aggregate functions (SUM, MAX etc) in selects ( GROUP BY , HAVING,) &lt;/P&gt;&lt;P&gt;Avoid using ORDER BY in selects&lt;/P&gt;&lt;P&gt;Avoid Nested Selects &lt;/P&gt;&lt;P&gt;Try to use FIELD SYMBOLS.&lt;/P&gt;&lt;P&gt;Try to avoid into Corresponding Fields of&lt;/P&gt;&lt;P&gt;Avoid using Select Distinct, Use DELETE ADJACENT&lt;/P&gt;&lt;P&gt;Performance Tuning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5d0db4c9-0e01-0010-b68f-9b1408d5f234" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5d0db4c9-0e01-0010-b68f-9b1408d5f234&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;&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="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap&lt;/A&gt;&lt;EM&gt;Performance&lt;/EM&gt;and+Tuning&amp;amp;&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;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;A href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap&lt;/A&gt;&lt;EM&gt;Performance&lt;/EM&gt;and+Tuning&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617cafe68c11d2b2ab080009b43351/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617cafe68c11d2b2ab080009b43351/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/d1/801f7c454211d189710000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/d1/801f7c454211d189710000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="142332"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 06:16:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/2343930#M516884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T06:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: regarding performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/2343931#M516885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;If u r question is answred close the question as answered and reward points if help full answered .&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh.D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 08:31:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/2343931#M516885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T08:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: regarding performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/2343932#M516886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi subhasis,&lt;/P&gt;&lt;P&gt;there are many ways by which u can tune ur program...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) try to avoid nested select statements..&lt;/P&gt;&lt;P&gt;2) insetad of select sinlge use READ command inside loop.&lt;/P&gt;&lt;P&gt;3) use FOR ALL ENTRIES in select queries..before that ....&lt;/P&gt;&lt;P&gt;sort the internal table...and delete adjacent duplicates from that internal table...&lt;/P&gt;&lt;P&gt;4) before for all entries query check whether the internal table is not initial...&lt;/P&gt;&lt;P&gt;5) u can also use inner joins on queries...&lt;/P&gt;&lt;P&gt;6) whenever u use select single ..the where clause should be a key field..otherwise it will return a garbage value...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will some wat help u out..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward points in case usefull....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 12:09:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/2343932#M516886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T12:09:08Z</dc:date>
    </item>
  </channel>
</rss>

