<?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: Append space when the value is 0 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-space-when-the-value-is-0/m-p/1569599#M257168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in case of ALV, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fcat-no_zero = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in case of normal report &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: repid no-zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Oct 2006 05:55:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-12T05:55:11Z</dc:date>
    <item>
      <title>Append space when the value is 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-space-when-the-value-is-0/m-p/1569596#M257165</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;I need to pass space if the field value is '0'. I have field which returns '00000000' in the output. For this i need to pass space. I tried many ways to pass space to this field. But its displaying as '00000000' only. How to pass space to this field. In database the field value is displayed as 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 05:42:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-space-when-the-value-is-0/m-p/1569596#M257165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T05:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Append space when the value is 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-space-when-the-value-is-0/m-p/1569597#M257166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose char1 = '000001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE all occurances of '0' in char1 WITH space INTO char2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;char2 ='1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helped pls mark points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anversha s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 05:48:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-space-when-the-value-is-0/m-p/1569597#M257166</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-10-12T05:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Append space when the value is 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-space-when-the-value-is-0/m-p/1569598#M257167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use "REPLACE" statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 05:54:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-space-when-the-value-is-0/m-p/1569598#M257167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T05:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Append space when the value is 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-space-when-the-value-is-0/m-p/1569599#M257168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in case of ALV, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fcat-no_zero = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in case of normal report &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: repid no-zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 05:55:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-space-when-the-value-is-0/m-p/1569599#M257168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T05:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Append space when the value is 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-space-when-the-value-is-0/m-p/1569600#M257169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use 'CONVERSION_EXIT_ALPHA_OUTPUT'...suppose the input is '0001' then the output will be '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;P&gt;Preetham S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 05:56:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-space-when-the-value-is-0/m-p/1569600#M257169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T05:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Append space when the value is 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-space-when-the-value-is-0/m-p/1569601#M257170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try if it works this way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;replace all occurrences of '0' in &amp;lt;fld&amp;gt; with ' '.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 05:58:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-space-when-the-value-is-0/m-p/1569601#M257170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T05:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Append space when the value is 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-space-when-the-value-is-0/m-p/1569602#M257171</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;Here is the sample code.Try this,it will output space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data c1(10) value '00000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pack c1 to c1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replace '0' with space into c1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write c1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 06:00:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-space-when-the-value-is-0/m-p/1569602#M257171</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-10-12T06:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Append space when the value is 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-space-when-the-value-is-0/m-p/1569603#M257172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Donot use replace,because when ever the value is '00100' the o/p will be 1.&lt;/P&gt;&lt;P&gt;Instead use this syntax&lt;/P&gt;&lt;P&gt; SHIFT value LEFT DELETING LEADING '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dharani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 06:08:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-space-when-the-value-is-0/m-p/1569603#M257172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T06:08:55Z</dc:date>
    </item>
  </channel>
</rss>

