<?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: NULL Value in Select Statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/null-value-in-select-statement/m-p/3753723#M903014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sathya,&lt;/P&gt;&lt;P&gt; Its just a warning and you do not need to worry about that.&lt;/P&gt;&lt;P&gt;Go ahead and activate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 May 2008 13:23:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-06T13:23:07Z</dc:date>
    <item>
      <title>NULL Value in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/null-value-in-select-statement/m-p/3753722#M903013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a select statement like below. On Compilation it gives a strange warning message as " The Field ABLAD / WEMPF contained in WHERE condition may contain NULL values".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options s_1 for resb-wempf.&lt;/P&gt;&lt;P&gt;select-options s_2 for resb-ablad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from resb where wempf in s_1 and ablad in &lt;/P&gt;&lt;P&gt;s_2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please suggest how to get rid of this ? Any light thrown on this discrepancy would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sathya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 13:18:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/null-value-in-select-statement/m-p/3753722#M903013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T13:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: NULL Value in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/null-value-in-select-statement/m-p/3753723#M903014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sathya,&lt;/P&gt;&lt;P&gt; Its just a warning and you do not need to worry about that.&lt;/P&gt;&lt;P&gt;Go ahead and activate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 13:23:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/null-value-in-select-statement/m-p/3753723#M903014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T13:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: NULL Value in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/null-value-in-select-statement/m-p/3753724#M903015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sathya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: resb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options s_1 for resb-wempf.&lt;/P&gt;&lt;P&gt;select-options s_2 for resb-ablad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from resb where wempf in s_1 and ablad in s_2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you see the Extended Program check it says that these warnings cannot be hidden.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Messages for Syntax check warnings(Warnings)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Program:  ZPPP3  Row:     16&lt;/P&gt;&lt;P&gt;Syntax check warning&lt;/P&gt;&lt;P&gt;The field "ABLAD" used in the WHERE condition may contain NULL values.&lt;/P&gt;&lt;P&gt;Internal Message Code: MESSAGE GYT&lt;/P&gt;&lt;P&gt; (The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET&lt;/P&gt;&lt;P&gt; EXTENDED CHECK OFF/ON)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Program:  ZPPP3  Row:     16&lt;/P&gt;&lt;P&gt;Syntax check warning&lt;/P&gt;&lt;P&gt;The field "WEMPF" used in the WHERE condition may contain NULL values.&lt;/P&gt;&lt;P&gt;Internal Message Code: MESSAGE GYT&lt;/P&gt;&lt;P&gt; (The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET&lt;/P&gt;&lt;P&gt; EXTENDED CHECK OFF/ON)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But by using the below code, it is not showing any warnings in EPC...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: ebkn.&lt;/P&gt;&lt;P&gt;select-options s_1 for ebkn-wempf.&lt;/P&gt;&lt;P&gt;select-options s_2 for ebkn-ablad.&lt;/P&gt;&lt;P&gt;select single * from ebkn where wempf in s_1 and ablad in s_2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the Data elements is same in both Tables. Some thing strange with table RESB..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 13:52:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/null-value-in-select-statement/m-p/3753724#M903015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T13:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: NULL Value in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/null-value-in-select-statement/m-p/3753725#M903016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;         I think when we use select single *, In where condition we need to use the fields which are primary keys.&lt;/P&gt;&lt;P&gt;    so better use select * from.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Poonam Naik on May 6, 2008 5:19 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 15:17:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/null-value-in-select-statement/m-p/3753725#M903016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T15:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: NULL Value in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/null-value-in-select-statement/m-p/3753726#M903017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satya,&lt;/P&gt;&lt;P&gt;This may be because of SELECT SINGLE. Use Select single only if u are passing all the keys. If u are not passing all the keys then it may not select the record u r looking for if u have multiple records for the where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 15:34:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/null-value-in-select-statement/m-p/3753726#M903017</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-05-06T15:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: NULL Value in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/null-value-in-select-statement/m-p/3753727#M903018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for mentioning about EBKN, which made me better understanding about the settings in RESB table.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sathya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 13:37:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/null-value-in-select-statement/m-p/3753727#M903018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T13:37:28Z</dc:date>
    </item>
  </channel>
</rss>

