<?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: Zeroes in a variable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/zeroes-in-a-variable/m-p/4629101#M1090233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you use type n declaration then leading zeroes will be padded automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data: variabe(3) type n value'001'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Oct 2008 15:00:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-09T15:00:03Z</dc:date>
    <item>
      <title>Zeroes in a variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/zeroes-in-a-variable/m-p/4629099#M1090231</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;&lt;/P&gt;&lt;P&gt;I have to update a field with a value of '001',i have assigned it like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: variabe(3) type c value'001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i am concatenating this field with another field these zeroe are getting deleted can any tell me how to get the leading zeros??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2008 14:39:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/zeroes-in-a-variable/m-p/4629099#M1090231</guid>
      <dc:creator>radhushankar</dc:creator>
      <dc:date>2008-10-09T14:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Zeroes in a variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/zeroes-in-a-variable/m-p/4629100#M1090232</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;Use N instead of C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Data: var1(3) type n value'001',
        var2 type string,
        res_var type string.
concatenate var1 var2 into res_var.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2008 14:44:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/zeroes-in-a-variable/m-p/4629100#M1090232</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-10-09T14:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Zeroes in a variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/zeroes-in-a-variable/m-p/4629101#M1090233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you use type n declaration then leading zeroes will be padded automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data: variabe(3) type n value'001'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2008 15:00:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/zeroes-in-a-variable/m-p/4629101#M1090233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-09T15:00:03Z</dc:date>
    </item>
  </channel>
</rss>

