<?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: Inserting Field in Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-field-in-table/m-p/1988096#M403291</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the first query is not fetching the records, then it means the records which you think are null, doesn't contain SPACE value in them. Please, check it out by urself wat exactly the value of tht particular field instaed of SPACE. You can definately use INITIAL. try it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If solved, then please close the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Ashwani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Feb 2007 00:17:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-28T00:17:14Z</dc:date>
    <item>
      <title>Inserting Field in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-field-in-table/m-p/1988092#M403287</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;I have added a new field FIELD_1 (domain CHAR10) to a already existing Z table, recreated the "Table Maintenance Generator" and transported the table to Test server. Test data exists on test server with some records having FIELD_1 populated and others having FIELD_1 blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following query when executed on test server fetches no records though many records satisfying the WHERE condition exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;FROM ZDODATA&lt;/P&gt;&lt;P&gt;INTO IT_ZDODATA&lt;/P&gt;&lt;P&gt;WHERE FIELD_1 EQ SPACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, it should be noted that the below query fetches proper records as expected.&lt;/P&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;FROM ZDODATA&lt;/P&gt;&lt;P&gt;INTO IT_ZDODATA&lt;/P&gt;&lt;P&gt;WHERE FIELD_1 NE SPACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why does the first query fail to fetch records?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anoop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2007 07:27:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-field-in-table/m-p/1988092#M403287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-27T07:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting Field in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-field-in-table/m-p/1988093#M403288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) for the first query since you are selecting a field whose value is space it does not fetch anything&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;2)  for the second query you are selecting which has some value so it fetch the data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2007 09:45:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-field-in-table/m-p/1988093#M403288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-27T09:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting Field in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-field-in-table/m-p/1988094#M403289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try "regeneration of the table maintenance" again checking all the options that come for deletion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally there should be no issues in the queries as queries are correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2007 13:26:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-field-in-table/m-p/1988094#M403289</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2007-02-27T13:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting Field in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-field-in-table/m-p/1988095#M403290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to replace the first query like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;FROM ZDODATA&lt;/P&gt;&lt;P&gt;INTO IT_ZDODATA&lt;/P&gt;&lt;P&gt;WHERE FIELD_1 IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EmJay&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; Assign Points if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2007 22:28:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-field-in-table/m-p/1988095#M403290</guid>
      <dc:creator>emjay</dc:creator>
      <dc:date>2007-02-27T22:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting Field in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-field-in-table/m-p/1988096#M403291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the first query is not fetching the records, then it means the records which you think are null, doesn't contain SPACE value in them. Please, check it out by urself wat exactly the value of tht particular field instaed of SPACE. You can definately use INITIAL. try it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If solved, then please close the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Ashwani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 00:17:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-field-in-table/m-p/1988096#M403291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-28T00:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting Field in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-field-in-table/m-p/1988097#M403292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check whether the &amp;lt;b&amp;gt;fieldl_1 is NULL.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3099239"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this quey got answered in the earlier thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 03:14:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-field-in-table/m-p/1988097#M403292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-28T03:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting Field in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-field-in-table/m-p/1988098#M403293</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;Here f3 is the field added recently.This is giving the results as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data itab type standard table of zzzz_test.&lt;/P&gt;&lt;P&gt;data wa type zzzz_test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from zzzz_test into table itab where f3 is null.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 04:04:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-field-in-table/m-p/1988098#M403293</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2007-02-28T04:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting Field in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-field-in-table/m-p/1988099#M403294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Statement &lt;/P&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;FROM ZDODATA&lt;/P&gt;&lt;P&gt;INTO IT_ZDODATA&lt;/P&gt;&lt;P&gt;WHERE FIELD_1 IS INITIAL&lt;/P&gt;&lt;P&gt;gives syntax error: The operator IS can only be used in "f IS NULL" or "f IS NOT NULL".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, WHERE FIELD_1 IS NULL serves my purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Anoop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 04:56:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-field-in-table/m-p/1988099#M403294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-28T04:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting Field in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-field-in-table/m-p/1988100#M403295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can put like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Statement &lt;/P&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;FROM ZDODATA&lt;/P&gt;&lt;P&gt;INTO IT_ZDODATA&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;WHERE FIELD_1 eq space.&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;WHERE FIELD_1 ne space.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 05:06:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-field-in-table/m-p/1988100#M403295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-28T05:06:49Z</dc:date>
    </item>
  </channel>
</rss>

