<?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: Logical Expression in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-expression/m-p/2230996#M480004</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;IF a IS NOT INITIAL.  - This is wrong statement. there is syntax error in this statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT a IS INITIAL   - This is correct statement. There is no syntax error in this statement. this statement is checking whether the variable 'a' is empty or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards if useful.&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;sksingh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Apr 2007 13:07:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-28T13:07:47Z</dc:date>
    <item>
      <title>Logical Expression</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-expression/m-p/2230995#M480003</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;  what is the difference between following two conditions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : a(10) value 'kumar'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                      IF  a  IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                      IF NOT  a  IS INITIAL.&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;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Apr 2007 13:04:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-expression/m-p/2230995#M480003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-28T13:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Expression</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-expression/m-p/2230996#M480004</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;IF a IS NOT INITIAL.  - This is wrong statement. there is syntax error in this statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT a IS INITIAL   - This is correct statement. There is no syntax error in this statement. this statement is checking whether the variable 'a' is empty or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards if useful.&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;sksingh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Apr 2007 13:07:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-expression/m-p/2230996#M480004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-28T13:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Expression</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-expression/m-p/2230997#M480005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sksingh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   there is no syndax error for both ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Apr 2007 13:11:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-expression/m-p/2230997#M480005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-28T13:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Expression</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-expression/m-p/2230998#M480006</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;Basically the two statements mean that checking the variable 'a' whether it contains any value or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;sksingh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Apr 2007 13:14:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-expression/m-p/2230998#M480006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-28T13:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Expression</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-expression/m-p/2230999#M480007</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;In previous versions of R/3 , IF a IS NOT INITIAL was a syntax error.&lt;/P&gt;&lt;P&gt;But now both versions are correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second version was introduced because the first one was not very readable.&lt;/P&gt;&lt;P&gt;Between the two, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT a IS INITIAL is said to be faster since the comparison is positive logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF a IS NOT INITIAL is said to be negative comparison logic. And checking equality is always faster than checking inequality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for readability, IF a IS NOT INITIAL is preferred. The performance advantage is not too high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Apr 2007 13:29:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-expression/m-p/2230999#M480007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-28T13:29:37Z</dc:date>
    </item>
  </channel>
</rss>

