<?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: COEP select optimization in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632481#M1665019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymond,&lt;/P&gt;&lt;P&gt;OK that's good to know.&lt;/P&gt;&lt;P&gt;Cheers&lt;BR /&gt;Adi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Mar 2012 19:18:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-03-22T19:18:39Z</dc:date>
    <item>
      <title>COEP select optimization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632474#M1665012</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;I would like to ask you for select optimization:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;SELECT mandt kokrs objnr belnr buzei gjahr wrttp beknz wkgbtr ebeln ebelp timestmp&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;coep &lt;SPAN class="L0S52"&gt;CLIENT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;SPECIFIED&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;CORRESPONDING &lt;SPAN class="L0S52"&gt;FIELDS &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;lt_covp &lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;FOR &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ALL &lt;/SPAN&gt;ENTRIES &lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;p_gt_outtab&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WHERE &lt;/SPAN&gt;mandt &lt;SPAN class="L0S52"&gt;EQ &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;mandt&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;AND &lt;/SPAN&gt;kokrs &lt;SPAN class="L0S52"&gt;EQ &lt;/SPAN&gt;g_kokrs&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;AND&amp;nbsp; &lt;/SPAN&gt;objnr &lt;SPAN class="L0S52"&gt;EQ &lt;/SPAN&gt;p_gt_outtab&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;objnr&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;AND &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;wrttp &lt;SPAN class="L0S52"&gt;EQ &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'04' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OR &lt;/SPAN&gt;wrttp &lt;SPAN class="L0S52"&gt;EQ &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'12'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;AND &lt;/SPAN&gt;beknz &lt;SPAN class="L0S52"&gt;NE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'A'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;AND &lt;/SPAN&gt;gjahr &lt;SPAN class="L0S52"&gt;LE &lt;/SPAN&gt;p_gjahr&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Generally there can be a lot of data in p_gt_outtab and it results in TSV_TNEW_PAGE_ALLOC_FAILED error. The selection time is very long too. I 'm using MANDT KOKRS OBJNR index. Thank you in advance.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Best regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Paul Smuda&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 10:17:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632474#M1665012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-22T10:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: COEP select optimization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632475#M1665013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 10:25:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632475#M1665013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-22T10:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: COEP select optimization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632476#M1665014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pawel,&lt;/P&gt;&lt;P&gt;Technical Setting of the table shows Size Category as &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;4&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;Data records expected: 31,000 to 120,000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;so it is assumed to have maximum .12 million records. &lt;/P&gt;&lt;P&gt;The key u have used seems fine. Try to have maximum fields on selection that can reduce the selection. &lt;/P&gt;&lt;P&gt;try following as well.&lt;/P&gt;&lt;P&gt;1. remove &lt;SPAN class="L0S52"&gt;CORRESPONDING &lt;SPAN class="L0S52"&gt;FIELDS by matching the selection field and internal table structure&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;2. Sort table &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;p_gt_outtab in the sequence of where clause and use &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;delete &lt;SPAN class="L0S52"&gt;ADJACENT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;DUPLICATES&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt; using the same key&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;3. check the empty table &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;p_gt_outtab. if it is empty, will return the entire data from coep.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;4. if still you get the error you can distribute data in multiple internal table using &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;select * &lt;SPAN class="L0S52"&gt;UP &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1000 &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;rows &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;into &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;table &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;lt_covp. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Hope this would help.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 10:43:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632476#M1665014</guid>
      <dc:creator>janisar_munshi</dc:creator>
      <dc:date>2012-03-22T10:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: COEP select optimization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632477#M1665015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pawel,&lt;/P&gt;&lt;P&gt;to work around the alloc. failed issue. Use the PACKAGE SIZE addition to the SELECT statment.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;SELECT mandt kokrs objnr belnr buzei gjahr wrttp beknz wkgbtr ebeln ebelp timestmp &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;FROM &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;coep &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;CLIENT &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;SPECIFIED &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;INTO &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;CORRESPONDING &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;FIELDS &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;OF &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;TABLE &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;lt_covp &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;FOR &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;ALL &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;ENTRIES &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;IN &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;p_gt_outtab &lt;BR /&gt;PACKAGE SIZE 10000&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;WHERE &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;mandt &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;EQ &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;sy&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;mandt&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;AND &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;kokrs &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;EQ &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;g_kokrs&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;AND&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;objnr &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;EQ &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;p_gt_outtab&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;objnr&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;AND &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;wrttp &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;EQ &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;'04' &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;OR &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;wrttp &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;EQ &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;'12'&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;AND &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;beknz &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;NE &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;'A'&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;AND &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;gjahr &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;LE &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;p_gjahr&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;* process your data here.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;Also do you really need the CLIENT SPECIFIED OPTION. If you only want data from the current client then drop that option the ABAP kernel will take of it for you.&lt;/P&gt;&lt;P&gt;Cheers&lt;BR /&gt;&amp;nbsp; Adi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 10:50:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632477#M1665015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-22T10:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: COEP select optimization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632478#M1665016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First remove the mandt field and client specified. (not required)&lt;/P&gt;&lt;P&gt;The problem may come from the FOR ALL ENTRIES which is definitively not an accelerator (interpreted as a long list of FETCH for some values) also the data will be stored by the system before deletion of duplicate records (&lt;A class="urLnkFunction urVt1" href="https://service.sap.com/sap/support/notes/634263" title="Right mouse click to add this SAP Note to your browser favorites"&gt;&lt;SPAN class="urTxtH1" id="header_data"&gt;Note 634263 - Selects with FOR ALL ENTRIES&lt;/SPAN&gt;&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You could try some parallelization, create a RFC enabled FM which will receive a subset of the p_gt_outtab and be executed STARTING NEW TASK and PERFORMING subroutine or CALLING method at END. IN this FM, if you create not-too large subset, you could replace the FOR ALL ENTRIES by a WHERE IN clause in the called FM. &amp;gt; Best performance and less memory consumption, but more programming...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 10:58:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632478#M1665016</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-03-22T10:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: COEP select optimization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632479#M1665017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry but PACKAGE SIZE (as well as UP TO n ROWS) will have no effect due to the FOR ALL ENTRIES clause, so not memory will be spared. Those options will not be passed to the database system but will be applied instead to the resulting set (So after the memory allocation failure)&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 12:03:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632479#M1665017</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-03-22T12:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: COEP select optimization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632480#M1665018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adi,&lt;/P&gt;&lt;P&gt;this solution (Package size) will not work here.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;P&gt;p.s.: saw Raymonds answer to late...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 13:52:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632480#M1665018</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2012-03-22T13:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: COEP select optimization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632481#M1665019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymond,&lt;/P&gt;&lt;P&gt;OK that's good to know.&lt;/P&gt;&lt;P&gt;Cheers&lt;BR /&gt;Adi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 19:18:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632481#M1665019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-22T19:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: COEP select optimization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632482#M1665020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Several points&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;there is no need to specify the client&lt;/LI&gt;&lt;LI&gt;there is nothing wrong with using FOR ALL ENTRIES, I have done a lot of performance testing and this is not a problematic statement. The flaw in ABAP is that if the select table is empty than a full table scan is done. SAP thinks that documenting this obvious bug is better than fixing it, and so loads of newcomers get caught out every day.&lt;/LI&gt;&lt;LI&gt;in SAP there is the concept of an "unstable" index, which is one where no date is specified. Your statement is looking to use index 2 on COEP based on OBJNR as the key﻿. You are using GJAHR (year) but because the cost centre is not specified that part of the index is ignored.&lt;/LI&gt;&lt;LI&gt;If the cost centre is not a known value, you may need to create your own index, based on OBJNR and the year / period. Then you will be laughing.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheersy Cheers&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Mar 2012 09:54:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632482#M1665020</guid>
      <dc:creator>hardyp180</dc:creator>
      <dc:date>2012-03-25T09:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: COEP select optimization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632483#M1665021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are two problems here - the memory allocation and the long run time.&lt;/P&gt;&lt;P&gt;The long run time can be solved quite easily by adding LEDNR to the WHERE. If you check the domain, you'll see that the only possible value is '00'.&lt;/P&gt;&lt;P&gt;No need to create an index on OBJNR.&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 14:53:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coep-select-optimization/m-p/8632483#M1665021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-26T14:53:25Z</dc:date>
    </item>
  </channel>
</rss>

