<?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: Peformance problem with PRPS table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/peformance-problem-with-prps-table/m-p/5502740#M1258647</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; First thing rather than using select upto 1 rows use select single&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Really - how does that help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Apr 2009 18:15:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-23T18:15:24Z</dc:date>
    <item>
      <title>Peformance problem with PRPS table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/peformance-problem-with-prps-table/m-p/5502738#M1258645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have appended a field (ZREFWBS) to the PRPS table and I am using the below quey to get the single record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT posid&lt;/P&gt;&lt;P&gt;           psphi&lt;/P&gt;&lt;P&gt;      FROM prps&lt;/P&gt;&lt;P&gt;     INTO (v_pspnr,&lt;/P&gt;&lt;P&gt;           v_psphi)&lt;/P&gt;&lt;P&gt;      UP TO 1 ROWS&lt;/P&gt;&lt;P&gt;    WHERE zzrefwbs = ci_prps-zzrefwbs.&lt;/P&gt;&lt;P&gt;    ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is taking almost 5 to 10 mins to execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message - moved to correct forum&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Apr 23, 2009 2:02 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 17:45:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/peformance-problem-with-prps-table/m-p/5502738#M1258645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T17:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Peformance problem with PRPS table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/peformance-problem-with-prps-table/m-p/5502739#M1258646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First thing rather than using select upto 1 rows use select single&lt;/P&gt;&lt;P&gt;Second dont use select endselect.&lt;/P&gt;&lt;P&gt;Finally if both does not help then&lt;/P&gt;&lt;P&gt;What you can do is add the field zzrefwbs as the secondary field of the table.&lt;/P&gt;&lt;P&gt;Before doing that just check where used list for the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit Mohan Gupta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 18:11:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/peformance-problem-with-prps-table/m-p/5502739#M1258646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T18:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Peformance problem with PRPS table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/peformance-problem-with-prps-table/m-p/5502740#M1258647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; First thing rather than using select upto 1 rows use select single&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Really - how does that help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 18:15:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/peformance-problem-with-prps-table/m-p/5502740#M1258647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T18:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Peformance problem with PRPS table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/peformance-problem-with-prps-table/m-p/5502741#M1258648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select Single * will pickup only one matching record from the database into the buffer, and returns the same to the internal table. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Select upto 1 rows will pickup all the records matching the condition into the buffer, but return the top record to the internal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit Mohan Gupta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 03:41:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/peformance-problem-with-prps-table/m-p/5502741#M1258648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T03:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Peformance problem with PRPS table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/peformance-problem-with-prps-table/m-p/5502742#M1258649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we need to pick only single record and there is would be not any loop between select and endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 11:15:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/peformance-problem-with-prps-table/m-p/5502742#M1258649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T11:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Peformance problem with PRPS table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/peformance-problem-with-prps-table/m-p/5502743#M1258650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Select Single * will pickup only one matching record from the database into the buffer, and returns the &amp;gt; same to the internal table. &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Select upto 1 rows will pickup all the records matching the condition into the buffer, but return the top &amp;gt; record to the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nonsense ...  SELECT SINGLE and UP TO 1 ROWS are 100% identical &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and buffers is something completely different, there is also not internal involved in that statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*About the question, you a field to the table ... how should it be in any index ????? *&lt;/P&gt;&lt;P&gt;by automatic index creation or what ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No index =&amp;gt; no performance, very simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 13:02:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/peformance-problem-with-prps-table/m-p/5502743#M1258650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T13:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Peformance problem with PRPS table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/peformance-problem-with-prps-table/m-p/5502744#M1258651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi guys,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; we need to pick only single record and there is would be not any loop between select and endselect.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Please suggest.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I think the best solution in this case is to simply run the program in the background. Not all programs can be easily tuned without causing problems elsewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 13:21:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/peformance-problem-with-prps-table/m-p/5502744#M1258651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T13:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Peformance problem with PRPS table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/peformance-problem-with-prps-table/m-p/5502745#M1258652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 13:59:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/peformance-problem-with-prps-table/m-p/5502745#M1258652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-10T13:59:53Z</dc:date>
    </item>
  </channel>
</rss>

