<?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: Select poor performance in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-poor-performance/m-p/3681287#M886539</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For a start only extract the fields that you are interested in. Remove the SELECT *&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Apr 2008 11:42:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-08T11:42:29Z</dc:date>
    <item>
      <title>Select poor performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-poor-performance/m-p/3681285#M886537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to select some records from BSAK and i want to have better performance, i am not using all the fields of the table key, i have been seeing in thsi forum some people recomending to create new select-options for this key fields, i want to know if i create renges and left them in blank if it would have better performance.&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;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ranges r_bukrs like bsak-bukrs."Always empty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from bsak into table it_bsak where bukrs in r_bukrs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; is better than&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from bsak into table it_bsak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 11:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-poor-performance/m-p/3681285#M886537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T11:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Select poor performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-poor-performance/m-p/3681286#M886538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no, an empty range does not help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you dont have ANY where condition, you always get the full table.&lt;/P&gt;&lt;P&gt;theres heaploads of data in BSAK, what makes the select perform bad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eihter add where conditions (best case on key fields)&lt;/P&gt;&lt;P&gt;or do not select *, but only the needed fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can do both as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 11:41:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-poor-performance/m-p/3681286#M886538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T11:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Select poor performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-poor-performance/m-p/3681287#M886539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For a start only extract the fields that you are interested in. Remove the SELECT *&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 11:42:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-poor-performance/m-p/3681287#M886539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T11:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Select poor performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-poor-performance/m-p/3681288#M886540</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;Creating a select-option n leaving blank wont help, instead u can select some value for tht "select-option" n in the "select criteria" u can make use of tht as a "condition".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: S_VTWEG FOR VBAK-VTWEG OBLIGATORY DEFAULT '10' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT S_VTWEG[] IS INITIAL.&lt;/P&gt;&lt;P&gt;    SELECT SINGLE VTWEG&lt;/P&gt;&lt;P&gt;                  FROM TVKOV&lt;/P&gt;&lt;P&gt;                  INTO L_VTWEG&lt;/P&gt;&lt;P&gt;                  WHERE VTWEG IN S_VTWEG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think if u r doin this way...it wud help u ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do try this n let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramya Shree M R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 11:49:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-poor-performance/m-p/3681288#M886540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T11:49:38Z</dc:date>
    </item>
  </channel>
</rss>

