<?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: Issue with SELECT statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/4591001#M1082664</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It'll work, but select everything. Remember that rows in select-options are strung together by ORs. So if you say SELECT something where field NE 1 OR field NE 2, all records will fulfil that.&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, 02 Oct 2008 20:39:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-02T20:39:00Z</dc:date>
    <item>
      <title>Issue with SELECT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/4590995#M1082658</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;   I have an issue with SELECT statement. In select statement though i am excluding some values which are in range table, those values are also getting selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using select statement like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select fielda fieldb fieldc... fieldn from table zzallt into corresponding fields of t_zzallt where saknr in s_saknr&lt;/P&gt;&lt;P&gt;                                             and    rcomp not in r_rcomp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where s_saknr is select options and r_rcomp is range table. I should not select saknr values which are in r_rcomp, but are being selected. Please tell me where I am wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2008 20:06:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/4590995#M1082658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-02T20:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SELECT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/4590996#M1082659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Dont do like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select fielda fieldb fieldc... fieldn from table zzallt into corresponding fields of t_zzallt where saknr in s_saknr&lt;/P&gt;&lt;P&gt;and rcomp not in r_rcomp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when populating the r_rcomp, assign the sign as 'NE'    ( Not equal to )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then write your query as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select fielda fieldb fieldc... fieldn from table zzallt into corresponding fields of t_zzallt where saknr in s_saknr&lt;/P&gt;&lt;P&gt;and rcomp in r_rcomp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2008 20:13:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/4590996#M1082659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-02T20:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SELECT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/4590997#M1082660</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; when populating the r_rcomp, assign the sign as 'NE'    ( Not equal to )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think that will work. The option should be 'EQ' and the sign 'E' (exclude).&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, 02 Oct 2008 20:21:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/4590997#M1082660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-02T20:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SELECT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/4590998#M1082661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rob,&lt;/P&gt;&lt;P&gt;Sorry about that and thanks for correcting me, I always get confused between the sign and the option &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And I did the goof up this time too &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2008 20:25:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/4590998#M1082661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-02T20:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SELECT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/4590999#M1082662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The important part is that NE won't work. Everything will be selected.&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, 02 Oct 2008 20:26:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/4590999#M1082662</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-02T20:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SELECT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/4591000#M1082663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aha ! you mean r_comp-sign = 'I' and Option = 'NE' wont work ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2008 20:33:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/4591000#M1082663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-02T20:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SELECT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/4591001#M1082664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It'll work, but select everything. Remember that rows in select-options are strung together by ORs. So if you say SELECT something where field NE 1 OR field NE 2, all records will fulfil that.&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, 02 Oct 2008 20:39:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/4591001#M1082664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-02T20:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SELECT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/4591002#M1082665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rob n Advait, thanks for your suggestions..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2008 21:22:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/4591002#M1082665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-02T21:22:28Z</dc:date>
    </item>
  </channel>
</rss>

