<?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: Select statement not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working/m-p/8596774#M1662050</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;Instead of trying like this AND EU_STOR_REL =  ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like this      EU_STOR_REL IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should work. Otherwise please revert the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards.&lt;/P&gt;&lt;P&gt;Aswath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Feb 2012 12:42:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-02-28T12:42:15Z</dc:date>
    <item>
      <title>Select statement not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working/m-p/8596773#M1662049</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;  We are facing an issue while performing  a fetch from one our Z table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   We have several fields like Mantr , matkl   ..etc with this we have one field for check box having  values 'X' or ' '..But we are not getting the records,it is givng subrc = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT * INTO TABLE gt_yabc  FROM yuudf  WHERE gid = p_id
                                 AND vstel  = p_vstel
*                                AND aedat IN s_aedat
*                                AND aedat NE '00000000'
                                 AND statdat IN s_stadat
                                 AND statdat NE '00000000'
                                 AND confflag = p_confl
                                 AND ( status EQ 'A'
                                     or status EQ 'R' )
                                 AND delflag = ' ' 
                                 AND matnr IN p_matnr
                                 AND EU_STOR_REL =  ''.( problem is here)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;                                   &lt;/P&gt;&lt;P&gt;                                      they are several records having   EU_STOR_REL  as empty, but we are not getting records from above query , if we remove  last condition ie   EU_STOR_REL =  ''. then records are getting selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Can anyone help on this.&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;CB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 12:37:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working/m-p/8596773#M1662049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-28T12:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working/m-p/8596774#M1662050</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;Instead of trying like this AND EU_STOR_REL =  ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like this      EU_STOR_REL IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should work. Otherwise please revert the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards.&lt;/P&gt;&lt;P&gt;Aswath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 12:42:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working/m-p/8596774#M1662050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-28T12:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working/m-p/8596775#M1662051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another way &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;remove   AND EU_STOR_REL =  ''.( problem is here)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After selection delete table ...where EU_STOR_REL =  ' '&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 12:50:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working/m-p/8596775#M1662051</guid>
      <dc:creator>former_member189779</dc:creator>
      <dc:date>2012-02-28T12:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working/m-p/8596776#M1662052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume that column EU_STOR_REL was added later to the existing table and now has NULL values in the existing rows as opposed to initial values.&lt;/P&gt;&lt;P&gt;If this is the case, you can try checking the "initial values" flag for the field in SE11, transport again and adjust the table via SE14 (if not done automatically by the import).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 12:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working/m-p/8596776#M1662052</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2012-02-28T12:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working/m-p/8596777#M1662053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tomas ,&lt;/P&gt;&lt;P&gt;   Yes your guess is 100% correct , we have to check the "Initial Value" check box in SE11 , the issue has been solved and points also awarded ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thanks a lot for valuable help.&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;CB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 09:56:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working/m-p/8596777#M1662053</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-29T09:56:59Z</dc:date>
    </item>
  </channel>
</rss>

