<?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 single in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single/m-p/4414287#M1048791</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;Since this is VBAK table and VBELN is your only key field and since you are selecting VBELN only it will not be possible for you to enter any key field you NEED to create a secondary index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But please make sure creating of secondary index speeds up selection process but slows the process of writing into DB table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Sep 2008 07:08:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-10T07:08:12Z</dc:date>
    <item>
      <title>select single</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single/m-p/4414284#M1048788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;pls help me with the following query.&lt;/P&gt;&lt;P&gt;i am using Select single statement&lt;/P&gt;&lt;P&gt;to Identify HH order # and check for duplicates in SAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE VBELN " Sales document&lt;/P&gt;&lt;P&gt;FROM VBAK&lt;/P&gt;&lt;P&gt;INTO (G_SAP_ORDER)&lt;/P&gt;&lt;P&gt;WHERE BSTDK EQ g_del_DATE "Customer PO date&lt;/P&gt;&lt;P&gt;and IHREZ EQ G_SO_NUMBER. "Reference number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but here, the where condition are not key fields of the table vbak . i want to select vbeln from vbak which is the primary key of this table based on conditions also....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this statement gives me performance error :&lt;/P&gt;&lt;P&gt;Table &amp;amp;V1&amp;amp;: No field of a table index in the WHERE condition&lt;/P&gt;&lt;P&gt;&amp;amp;V1&amp;amp; = Table name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current SELECT statement cannot be processed using an index since the WHERE condition does not contain any field of a table index (or index fields only with the addition NOT or the relational operators NE or ' &amp;lt;&amp;gt;').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Due to this, you can have long response times when accessing large database tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check whether you can formulate the WHERE condition to suit a table index.&lt;/P&gt;&lt;P&gt;Check whether an additional table index needs to be created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i accomplish this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: padmini udayakumar on Sep 10, 2008 8:55 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 06:54:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single/m-p/4414284#M1048788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-10T06:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: select single</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single/m-p/4414285#M1048789</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;The following message just informs you that the fields in your where conditions are not indexes ( primary or secondary ).&lt;/P&gt;&lt;P&gt;Due to this performance will be hampered. If you need to remove this error you need to make the BSTDK  and IHREZ  as secondary indexes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do this you need to go to your VBAK table and you will find indexes tab there. Press the tab and continue with index creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 07:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single/m-p/4414285#M1048789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-10T07:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: select single</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single/m-p/4414286#M1048790</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;you can do it two ways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;either create a table index or modify ur search criteria i.e in where condition put any key field of table vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rajesh Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 07:02:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single/m-p/4414286#M1048790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-10T07:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: select single</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single/m-p/4414287#M1048791</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;Since this is VBAK table and VBELN is your only key field and since you are selecting VBELN only it will not be possible for you to enter any key field you NEED to create a secondary index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But please make sure creating of secondary index speeds up selection process but slows the process of writing into DB table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 07:08:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single/m-p/4414287#M1048791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-10T07:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: select single</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single/m-p/4414288#M1048792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi padmini,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Select single|http://web.mit.edu/fss/dev/select_examples.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sravanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 07:13:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single/m-p/4414288#M1048792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-10T07:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: select single</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single/m-p/4414289#M1048793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sravanthi,&lt;/P&gt;&lt;P&gt;thanks a lot,,,&lt;/P&gt;&lt;P&gt;ur reply is very useful...&lt;/P&gt;&lt;P&gt;thank u very much for this help..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 08:11:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single/m-p/4414289#M1048793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-10T08:11:26Z</dc:date>
    </item>
  </channel>
</rss>

