<?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 issue in ECC 6.0, pls help! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-ecc-6-0-pls-help/m-p/3622116#M872610</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG&gt;Veena&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this below thread... the same kind of issue discussed here with the both of these tables....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="430954"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u may get a better idea to tweak your select statement accroding to your requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Mar 2008 19:21:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-26T19:21:53Z</dc:date>
    <item>
      <title>Performance issue in ECC 6.0, pls help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-ecc-6-0-pls-help/m-p/3622115#M872609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a join statement which works fine with the same data in 4.6 C but in the upgraded system it is too slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT PA0105&lt;SUB&gt;USRID PA0001&lt;/SUB&gt;BUKRS PA0001~GSBER&lt;/P&gt;&lt;P&gt;   INTO TABLE I_pa0001&lt;/P&gt;&lt;P&gt;  FROM PA0105 INNER JOIN PA0001 ON PA0001&lt;SUB&gt;PERNR = PA0105&lt;/SUB&gt;PERNR&lt;/P&gt;&lt;P&gt; FOR ALL ENTRIES IN i_apqi&lt;/P&gt;&lt;P&gt;   WHERE PA0001~ENDDA EQ '99991231'&lt;/P&gt;&lt;P&gt;   AND PA0001~BUKRS IN S_bukrs&lt;/P&gt;&lt;P&gt; AND PA0001~GSBER IN S_GSBER&lt;/P&gt;&lt;P&gt;   AND PA0105~SUBTY EQ '0001'&lt;/P&gt;&lt;P&gt;   and pa0105~usrid = i_apqi-creator&lt;/P&gt;&lt;P&gt;  AND PA0105~ENDDA EQ '99991231'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table i_apqi has a list of user ids. This is taking around 6 minutes which is too much. Any ideas to improve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will be happy to reward points for the answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Veena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 19:09:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-ecc-6-0-pls-help/m-p/3622115#M872609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T19:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue in ECC 6.0, pls help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-ecc-6-0-pls-help/m-p/3622116#M872610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG&gt;Veena&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this below thread... the same kind of issue discussed here with the both of these tables....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="430954"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u may get a better idea to tweak your select statement accroding to your requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 19:21:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-ecc-6-0-pls-help/m-p/3622116#M872610</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T19:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue in ECC 6.0, pls help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-ecc-6-0-pls-help/m-p/3622117#M872611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please optimize your internal table and delete the duplicate datas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 07:04:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-ecc-6-0-pls-help/m-p/3622117#M872611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T07:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue in ECC 6.0, pls help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-ecc-6-0-pls-help/m-p/3622118#M872612</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 check whther the driver table i_apqi is empty or not by using if i_apqi[] is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete all the duplicate creator &amp;amp; sort it before making this select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use more where conditon, spl some key field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 14:21:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-ecc-6-0-pls-help/m-p/3622118#M872612</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T14:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue in ECC 6.0, pls help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-ecc-6-0-pls-help/m-p/3622119#M872613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This query is having join + For all entries.&lt;/P&gt;&lt;P&gt;Try having all keys(primary) used in join condition. Before using FOR ALL ENTRIES IN i_apqi, try having sort table based on  i_apqi-creator and delete adjacent duplicates comparing  i_apqi-creator. I hope you are putting a check  &lt;STRONG&gt;&lt;EM&gt;If not  i_apqi[] is initial&lt;/EM&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Also try using as many keys as possible in where conditions, this will help using all indexes available in data fetching process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;G@urav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Mar 2008 00:30:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-ecc-6-0-pls-help/m-p/3622119#M872613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-30T00:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue in ECC 6.0, pls help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-ecc-6-0-pls-help/m-p/3622120#M872614</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;I think you could use this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF i_apqi[] IS NOT INITIAL.
SELECT PA0105~USRID PA0001~BUKRS PA0001~GSBER
INTO TABLE I_pa0001
FROM PA0105 INNER JOIN PA0001 ON PA0001~PERNR = PA0105~PERNR
FOR ALL ENTRIES IN i_apqi
WHERE pa0105~usrid = i_apqi-creator
AND PA0001~ENDDA EQ '99991231'
AND PA0001~BUKRS IN S_bukrs
AND PA0001~GSBER IN S_GSBER
AND PA0105~SUBTY EQ '0001'
AND PA0105~ENDDA EQ '99991231'
%_HINTS ORACLE 'FIRST_ROWS'.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But your table &lt;STRONG&gt;i_apqi&lt;/STRONG&gt; must have than first row &lt;STRONG&gt;creator&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brgds&lt;/P&gt;&lt;P&gt;Julien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 08:20:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-ecc-6-0-pls-help/m-p/3622120#M872614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-01T08:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue in ECC 6.0, pls help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-ecc-6-0-pls-help/m-p/3622121#M872615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all! I replaced this join statement with Select for all entries statments and the performance has improved. Thanks for all your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 20:56:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-ecc-6-0-pls-help/m-p/3622121#M872615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-01T20:56:08Z</dc:date>
    </item>
  </channel>
</rss>

