<?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 pad a string with zeros ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pad-a-string-with-zeros/m-p/1564689#M255178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ABAP Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to pad a string with zeros.. is there a direct method i can use. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;string length is 8&lt;/P&gt;&lt;P&gt;string is custnumb&lt;/P&gt;&lt;P&gt;value is 588&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i would like to see 00000588&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Oct 2006 21:18:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-11T21:18:18Z</dc:date>
    <item>
      <title>pad a string with zeros ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pad-a-string-with-zeros/m-p/1564689#M255178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ABAP Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to pad a string with zeros.. is there a direct method i can use. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;string length is 8&lt;/P&gt;&lt;P&gt;string is custnumb&lt;/P&gt;&lt;P&gt;value is 588&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i would like to see 00000588&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 21:18:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pad-a-string-with-zeros/m-p/1564689#M255178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T21:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: pad a string with zeros ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pad-a-string-with-zeros/m-p/1564690#M255179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Use FM CONVERSION_EXIT_ALPHA_INPUT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 21:20:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pad-a-string-with-zeros/m-p/1564690#M255179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T21:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: pad a string with zeros ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pad-a-string-with-zeros/m-p/1564691#M255180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can simply move it to a TYPE n field also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: n(8) type n.
data: custnumb(8) type c value '588'.

n = custnumb.

custnumb = n.&lt;/CODE&gt;&lt;/PRE&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>Wed, 11 Oct 2006 21:27:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pad-a-string-with-zeros/m-p/1564691#M255180</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-11T21:27:01Z</dc:date>
    </item>
  </channel>
</rss>

