<?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: problem with logical or in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-or/m-p/6550210#M1429428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anchal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select single KAWRT from KONV into var2 where KNUMV = var1 and ( STUNR = 65 or STUNR = 60 )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manas M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jan 2010 05:33:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-29T05:33:40Z</dc:date>
    <item>
      <title>problem with logical or</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-or/m-p/6550206#M1429424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends i am using OR in a select statement like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select single KAWRT from KONV into var2 where KNUMV = var1 and STUNR = 65 or STUNR = 60 .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but what i want is that the result for this should be calculated as&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;KNUMV =var1 and (STUNR = 65 or STUNR =60)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;means result of STUNR = 65 or STUNR =60 should be AND with  KNUMV =var1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i tried like following :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select single KAWRT from KONV into var2 where KNUMV = var1 and STUNR =( 65 , 60)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is giving error.is there something wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2010 05:22:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-or/m-p/6550206#M1429424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-29T05:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: problem with logical or</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-or/m-p/6550207#M1429425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Replace '=' with 'IN'..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2010 05:28:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-or/m-p/6550207#M1429425</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2010-01-29T05:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: problem with logical or</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-or/m-p/6550208#M1429426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Achal,&lt;/P&gt;&lt;P&gt;             &lt;/P&gt;&lt;P&gt;                  Have you tried this ?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
      SELECT  SINGLE kawrt
             FROM konv
             INTO var2
             WHERE knumv = var1 AND
                    (  stunr = '65' OR stunr = '60' ) .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2010 05:29:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-or/m-p/6550208#M1429426</guid>
      <dc:creator>former_member206377</dc:creator>
      <dc:date>2010-01-29T05:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: problem with logical or</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-or/m-p/6550209#M1429427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select single KAWRT from KONV into var2 where 
KNUMV = var1 and ( STUNR = '65' OR STUNR =  '60' ).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2010 05:30:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-or/m-p/6550209#M1429427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-29T05:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: problem with logical or</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-or/m-p/6550210#M1429428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anchal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select single KAWRT from KONV into var2 where KNUMV = var1 and ( STUNR = 65 or STUNR = 60 )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manas M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2010 05:33:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-or/m-p/6550210#M1429428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-29T05:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: problem with logical or</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-or/m-p/6550211#M1429429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;use IN operator instead of EQ.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2010 05:37:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-or/m-p/6550211#M1429429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-29T05:37:37Z</dc:date>
    </item>
  </channel>
</rss>

