<?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 Doubt regarding no-zero in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-regarding-no-zero/m-p/12595632#M2010585</link>
    <description>&lt;P&gt;i am a beginner in ABAP so i am using an online ABAP editor to practise.&lt;/P&gt;
  &lt;P&gt;my question is the zeros are automatically suppresses without using the no-zero.&lt;/P&gt;
  &lt;P&gt;for eg:&lt;/P&gt;
  &lt;P&gt;data num1 type i.&lt;/P&gt;
  &lt;P&gt;num1 = 000040.&lt;/P&gt;
  &lt;P&gt;write num1.&lt;/P&gt;
  &lt;P&gt;*now without using no-zero, all the zeros in 00040 are removed in the output. &lt;/P&gt;
  &lt;P&gt;what i don't understand is that is it because of the editor or any other reason?&lt;/P&gt;
  &lt;P&gt;a help will be appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jul 2022 12:35:52 GMT</pubDate>
    <dc:creator>former_member910126</dc:creator>
    <dc:date>2022-07-07T12:35:52Z</dc:date>
    <item>
      <title>Doubt regarding no-zero</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-regarding-no-zero/m-p/12595632#M2010585</link>
      <description>&lt;P&gt;i am a beginner in ABAP so i am using an online ABAP editor to practise.&lt;/P&gt;
  &lt;P&gt;my question is the zeros are automatically suppresses without using the no-zero.&lt;/P&gt;
  &lt;P&gt;for eg:&lt;/P&gt;
  &lt;P&gt;data num1 type i.&lt;/P&gt;
  &lt;P&gt;num1 = 000040.&lt;/P&gt;
  &lt;P&gt;write num1.&lt;/P&gt;
  &lt;P&gt;*now without using no-zero, all the zeros in 00040 are removed in the output. &lt;/P&gt;
  &lt;P&gt;what i don't understand is that is it because of the editor or any other reason?&lt;/P&gt;
  &lt;P&gt;a help will be appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 12:35:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-regarding-no-zero/m-p/12595632#M2010585</guid>
      <dc:creator>former_member910126</dc:creator>
      <dc:date>2022-07-07T12:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt regarding no-zero</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-regarding-no-zero/m-p/12595633#M2010586</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;this is normal. WRITE uses several conversions to format the output to the user (in some cases based on the personal preferences of the user, e.g. the format of a decimal number or date-display).&lt;/P&gt;&lt;P&gt;In your case, you use an integer variable, for this type SAP does not show the leading zeros in this case.&lt;/P&gt;&lt;P&gt;Kind regards&lt;BR /&gt;Jens&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 12:45:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-regarding-no-zero/m-p/12595633#M2010586</guid>
      <dc:creator>Jeansy</dc:creator>
      <dc:date>2022-07-07T12:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt regarding no-zero</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-regarding-no-zero/m-p/12595634#M2010587</link>
      <description>&lt;P&gt;&lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapwrite_to_options.htm#!ABAP_ADDITION_5@5@" target="_blank"&gt;NO-ZERO only works for types C, N or string.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;No effect on type i, as in your case.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 12:47:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-regarding-no-zero/m-p/12595634#M2010587</guid>
      <dc:creator>abo</dc:creator>
      <dc:date>2022-07-07T12:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt regarding no-zero</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-regarding-no-zero/m-p/12595635#M2010588</link>
      <description>&lt;P&gt;Abap use some Conversion Rules for Elementary Data Objects to convert elements, in case of WRITE target is a character type field.&lt;/P&gt;&lt;P&gt;Your field is of type Integer, so look at &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abenconversion_elementary.htm"&gt;Conversion Rules for Elementary Data Objects&lt;/A&gt;, &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abennumeric_source_fields.htm"&gt;Numeric Source Fields&lt;/A&gt;, &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abenconversion_type_ibs.htm"&gt;Source Field Type i, int8, (b, s)&lt;/A&gt;, &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/abenconversion_type_ibs.htm#@@ITOC@@ABENCONVERSION_TYPE_IBS_2"&gt;Character-Like Target Fields&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 15:50:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-regarding-no-zero/m-p/12595635#M2010588</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2022-07-08T15:50:14Z</dc:date>
    </item>
  </channel>
</rss>

