<?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: Simple Select Single statment doubt : please help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-select-single-statment-doubt-please-help/m-p/2710194#M628233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your replies !! I am alloting points to all of you.&lt;/P&gt;&lt;P&gt;closing thread !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2007 18:15:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-14T18:15:16Z</dc:date>
    <item>
      <title>Simple Select Single statment doubt : please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-select-single-statment-doubt-please-help/m-p/2710189#M628228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear SAP, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One simple question !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happens, If I dont pass all the key values in select single statement. &lt;/P&gt;&lt;P&gt;which data would it bring, the first occurence in DB table ?????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cont..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And what happens if, I use select single without passing all keys (missing POSNR) but using it in a loop and giving condition as posnr &amp;gt; 900000. does this always bring same values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know. Thank you.&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;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 16:30:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-select-single-statment-doubt-please-help/m-p/2710189#M628228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T16:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Select Single statment doubt : please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-select-single-statment-doubt-please-help/m-p/2710190#M628229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT SINGLE only gather one value, so it's the first value it gets from the DB...If you don't specify any key, your going to get the first record of the DB...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a LOOP is you don't specify the POSNR, your always going to get the same value....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 16:33:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-select-single-statment-doubt-please-help/m-p/2710190#M628229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T16:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Select Single statment doubt : please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-select-single-statment-doubt-please-help/m-p/2710191#M628230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;If you don't pass all key fields in SELECT SINGLE there will be multiple records for those condition and it fetches the first record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you won't pass POSNR in a loop, then for a single doc there will be multiple items and  always the first item only selected &lt;/P&gt;&lt;P&gt;if a value exists greater than 900000, then it may consider that value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 16:34:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-select-single-statment-doubt-please-help/m-p/2710191#M628230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T16:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Select Single statment doubt : please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-select-single-statment-doubt-please-help/m-p/2710192#M628231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is not recommened if do not have primary key field then do not use select single.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to use select up to 1 row instead of select single&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 16:35:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-select-single-statment-doubt-please-help/m-p/2710192#M628231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T16:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Select Single statment doubt : please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-select-single-statment-doubt-please-help/m-p/2710193#M628232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It wil behave in the similar way as you thought of.&lt;/P&gt;&lt;P&gt;When you don't have the full key then you should use SELECT...UPTO 1 ROWS  ..ENDSELECT as this is much faster in such scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 17:26:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-select-single-statment-doubt-please-help/m-p/2710193#M628232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T17:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Select Single statment doubt : please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-select-single-statment-doubt-please-help/m-p/2710194#M628233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your replies !! I am alloting points to all of you.&lt;/P&gt;&lt;P&gt;closing thread !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 18:15:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-select-single-statment-doubt-please-help/m-p/2710194#M628233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T18:15:16Z</dc:date>
    </item>
  </channel>
</rss>

