<?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: entering zero in database table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974481#M70505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when i see these contents in se11, i see zero , why&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also if i download these using gui_download, i see zero&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please advice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manuel i can't get what you mean by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define a domain with '1' and '0' as valid values)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Sep 2005 13:16:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-23T13:16:10Z</dc:date>
    <item>
      <title>entering zero in database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974476#M70500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have one field in my database table , of type NUMC length 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It can have value either 0 or 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while creating entries, i enter 0 or 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i see all table entries, it show blank instead of 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why is this happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any solution for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2005 13:05:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974476#M70500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-23T13:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: entering zero in database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974477#M70501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  when printing numc on screen the system trim the leading '0'. (there is a '0' but you can't see it)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to see the '0' with se16 you can use CHAR instead (define a domain with '1' and '0' as valid values)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Manuel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward some points if this answer helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2005 13:09:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974477#M70501</guid>
      <dc:creator>manuel_bassani</dc:creator>
      <dc:date>2005-09-23T13:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: entering zero in database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974478#M70502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't worry,  it is 0 in the database.  External formatting is presenting it as " ",  in the db it is "0".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2005 13:11:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974478#M70502</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-09-23T13:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: entering zero in database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974479#M70503</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;The type N has a convertion routine that replace the zero (at the left of last number) with space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you have a field type N long 5 chars and its value is 00010, you show 10, and if it's 00000 you show space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you should use a field type C and not type N, if you want to see the 0 when value is 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2005 13:14:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974479#M70503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-23T13:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: entering zero in database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974480#M70504</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;show your table with se16 :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) with alv-grid&lt;/P&gt;&lt;P&gt;2) with abap-list &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;differences ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think , it's only the diff. formatting and representation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2005 13:14:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974480#M70504</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-09-23T13:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: entering zero in database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974481#M70505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when i see these contents in se11, i see zero , why&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also if i download these using gui_download, i see zero&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please advice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manuel i can't get what you mean by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define a domain with '1' and '0' as valid values)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2005 13:16:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974481#M70505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-23T13:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: entering zero in database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974482#M70506</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;depend on how you move the field to internal table for downloading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use MOVE, the system don't use any  input/output conversion routines, but if you use WRITE the system use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you have ZMY_TABLE-FIELD = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE ZMY_TABLE-FIELD TO ITAB-FIELD =&amp;gt; ITAB-FIELD = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB-FIELD = ZMY_TABLE-FIELD =&amp;gt; ITAB-FIELD = 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE ZMY_TABLE-FIELD TO ITAB-FIELD =&amp;gt; ITAB-FIELD = SPACE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: max bianchi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2005 13:20:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974482#M70506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-23T13:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: entering zero in database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974483#M70507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you could define a domain in SE11 (domains specify the valid values of your field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Define a new domain (type CHAR) with only '0' and '1' as valid values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. define your field with reference to the domain you have created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you have a CHAR value (instead of NUMC) that accepts only '0' and '1'. And will never be converted to space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2005 13:23:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974483#M70507</guid>
      <dc:creator>manuel_bassani</dc:creator>
      <dc:date>2005-09-23T13:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: entering zero in database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974484#M70508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manuel ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so as per above suggestions i should define it as CHAR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sure i will try that , and get back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2005 13:33:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974484#M70508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-23T13:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: entering zero in database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974485#M70509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i what does symbol =&amp;gt; refer in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE ZMY_TABLE-FIELD TO ITAB-FIELD =&amp;gt; ITAB-FIELD = SPACE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for this suggestion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i didn't know this earliear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2005 13:35:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974485#M70509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-23T13:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: entering zero in database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974486#M70510</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;=&amp;gt; is only mathematic symbol and it means THEN, I usually use it, excuse me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway you do only:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE ZMY_TABLE-FIELD TO ITAB-FIELD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the value of ITAB-FIELD is space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: max bianchi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2005 13:42:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-zero-in-database-table/m-p/974486#M70510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-23T13:42:42Z</dc:date>
    </item>
  </channel>
</rss>

