<?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 Performance issue using COEP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-using-coep/m-p/2370339#M525114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Abapers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I m working on Costing data. When I open COEP file using All entries in internal table. Its takes very long time &amp;amp; maxmimum time limit excced &amp;amp; terminates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pl. help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jun 2007 09:33:59 GMT</pubDate>
    <dc:creator>former_member227596</dc:creator>
    <dc:date>2007-06-07T09:33:59Z</dc:date>
    <item>
      <title>Performance issue using COEP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-using-coep/m-p/2370339#M525114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Abapers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I m working on Costing data. When I open COEP file using All entries in internal table. Its takes very long time &amp;amp; maxmimum time limit excced &amp;amp; terminates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pl. help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 09:33:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-using-coep/m-p/2370339#M525114</guid>
      <dc:creator>former_member227596</dc:creator>
      <dc:date>2007-06-07T09:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue using COEP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-using-coep/m-p/2370340#M525115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vikas,&lt;/P&gt;&lt;P&gt;Can u send the code.&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;P&gt;&lt;/P&gt;&lt;P&gt;and u can check below standards to improve performance:&lt;/P&gt;&lt;P&gt;&amp;amp;#61656;	1. First remove occurs 0 and occurs 0,&lt;/P&gt;&lt;P&gt;use types and delcare structure.&lt;/P&gt;&lt;P&gt;then declare internal table.&lt;/P&gt;&lt;P&gt;ex-&lt;/P&gt;&lt;P&gt;types: begin of ty_lfa1,&lt;/P&gt;&lt;P&gt;kunnr like kna1-kunnr,'end of ty_kna1.&lt;/P&gt;&lt;P&gt;data : i_kna1 type standard table of ty_kna1 with header line.&lt;/P&gt;&lt;P&gt;&amp;amp;#61656;	 instead of inner join use for allentries.&lt;/P&gt;&lt;P&gt;&amp;amp;#61656;	into corresponding fields of will decrease performance.&lt;/P&gt;&lt;P&gt;&amp;amp;#61656;	 delete adjacent duplicates from itab_final comparing matnr lgort.&lt;/P&gt;&lt;P&gt;place it outside the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#61656;	before every select statenet check sy-subrc = 0.if sucessful the write another one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#61656;	don&amp;#146;t' loop an internal table more than once.&lt;/P&gt;&lt;P&gt;and for better performane follow below points&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;Avoid for all entries in JOINS&lt;/P&gt;&lt;P&gt;Try to avoid joins and use FOR ALL ENTRIES.&lt;/P&gt;&lt;P&gt;Try to restrict the joins to 1 level only ie only for tables&lt;/P&gt;&lt;P&gt;Avoid using Select *.&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;Avoid Nested Loops of Internal Tables&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;Go through the following Document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        suresh dameruppula&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 10:00:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-using-coep/m-p/2370340#M525115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-07T10:00:24Z</dc:date>
    </item>
  </channel>
</rss>

