<?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: differentiate between INITIAL value and NULL values( Not in where level) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060465#M1612673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried thomas method but it's not giving required result &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any other suggestions?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anuj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jul 2011 11:53:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-07-12T11:53:54Z</dc:date>
    <item>
      <title>differentiate between INITIAL value and NULL values( Not in where level)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060461#M1612669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All, &lt;/P&gt;&lt;P&gt;Is there any method to differentiate between INITIAL value and NULL value at abap level. I have one internal table in which there are some Initial values as well as some Null values and also others are present. so i want to recognize these values at abap level .please suggest me some method.&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Anuj jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 08:02:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060461#M1612669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-12T08:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: differentiate between INITIAL value and NULL values( Not in where level)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060462#M1612670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since IS NULL is only available for SQL-conditions, and I assume that NULL means hex '00' values, you can maybe use the BYTE-CO operator in conjunction with a type X field with value '00'.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 08:19:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060462#M1612670</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2011-07-12T08:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: differentiate between INITIAL value and NULL values( Not in where level)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060463#M1612671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might find answer (or at least some hints) in one of the following two dicussions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="192425"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;[&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="100083"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 08:24:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060463#M1612671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-12T08:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: differentiate between INITIAL value and NULL values( Not in where level)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060464#M1612672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Anuj Jain 	,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initial value means '0'  (zero)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;null value means 'garbage value'  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;garbage value ( it could be anything which is not useful)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 09:53:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060464#M1612672</guid>
      <dc:creator>P1029777</dc:creator>
      <dc:date>2011-07-12T09:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: differentiate between INITIAL value and NULL values( Not in where level)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060465#M1612673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried thomas method but it's not giving required result &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any other suggestions?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anuj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 11:53:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060465#M1612673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-12T11:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: differentiate between INITIAL value and NULL values( Not in where level)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060466#M1612674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please precisely explain what you consider a NULL value in this specific case. The more details you disclose, the more likely you will receive helpful replies.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 13:53:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060466#M1612674</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2011-07-12T13:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: differentiate between INITIAL value and NULL values( Not in where level)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060467#M1612675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anuj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can not detect NULL values in ABAP. In the database, if you append new fields to a table, the database will not automaticalls create values for all records (except you crossed INITIAL flag in DDIC). Those values are NULL values because they simply do not exist. You can check for them in the WHERE clause of a select statement. You will not find a record with NULL value if you specify WHERE ... = space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you select records into a structure or table, all NULL values will be converted automatically to INITIAL value. When updating a database table from structure or table, all previously NULL values get overwritten with initial (or existing) value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is about NULL in context of field values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In context of references, we can talk of NULL as a missing reference. A class or data object is NULL (in ABAP; IS BOUND) as long as no instance or data refernced by this object has been created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this sheds lights on any doubts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 17:40:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060467#M1612675</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-07-12T17:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: differentiate between INITIAL value and NULL values( Not in where level)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060468#M1612676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Thomas ,&lt;/P&gt;&lt;P&gt;As per your suggestion i tried like this &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;" table zmara field zaennr has NULL values
SELECT * FROM    zmara  INTO table it_zmara.
DATA: hex1 TYPE xstring ,
           hex2 TYPE xstring value IS INITIAL.
loop at it_zmara.
hex1 = it_zmara-zaennr." This contain NULL values
IF hex1 BYTE-CO hex2.
write: 'Found Initial values'.
ENDIF.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and in this case for all null values showing sy-subrc = 0 for if conditions  and write: 'Found Initial values'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anuj jain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;Added code tags&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Jul 13, 2011 10:58 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 05:24:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060468#M1612676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-13T05:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: differentiate between INITIAL value and NULL values( Not in where level)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060469#M1612677</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;Can we found out that any table is having Any NULL values or not?&lt;/P&gt;&lt;P&gt;Like Any table maintain all tables entries for null values or Any FM. &lt;/P&gt;&lt;P&gt;NOTE: Not usefull (sql with where field  is null)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2011 08:56:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060469#M1612677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-19T08:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: differentiate between INITIAL value and NULL values( Not in where level)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060470#M1612678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any suggestion....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2011 10:14:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060470#M1612678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-19T10:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: differentiate between INITIAL value and NULL values( Not in where level)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060471#M1612679</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  &lt;EM&gt;sql with where field is null&lt;/EM&gt; is not applicable, then please close the thread, change the subject and describe what you really want (Not:  &lt;EM&gt;field is null&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And plese explain where your own definition of initial is different to common IT definition.&lt;/STRONG&gt; Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2011 12:45:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060471#M1612679</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-08-19T12:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: differentiate between INITIAL value and NULL values( Not in where level)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060472#M1612680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the only way to find records with NULL values is WHERE ... IS NULL. There is no other solution. Even WHERE ... = hex 00 won't work, neither WHERE ... NE any value.&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2011 16:34:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060472#M1612680</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2011-08-19T16:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: differentiate between INITIAL value and NULL values( Not in where level)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060473#M1612681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 07:56:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-between-initial-value-and-null-values-not-in-where-level/m-p/8060473#M1612681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-13T07:56:49Z</dc:date>
    </item>
  </channel>
</rss>

