<?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: binary (how to replace zeros with space) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/binary-how-to-replace-zeros-with-space/m-p/1873611#M367583</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;After converting '526173686D6900000000000000000000000000000000000000000000000000000000000000' into 'abcdef 0000000000000000000000000000000000000000000000' use the following code to solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SHIFT text RIGHT DELETING TRAILING '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if the answer is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mukul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jan 2007 15:08:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-12T15:08:03Z</dc:date>
    <item>
      <title>binary (how to replace zeros with space)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/binary-how-to-replace-zeros-with-space/m-p/1873607#M367579</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 am using FM SRET_TEXT_TO_BINARY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i get an output as &lt;/P&gt;&lt;P&gt;526173686D6900000000000000000000000000000000000000000000000000000000000000&lt;/P&gt;&lt;P&gt;which i then pass to a variable an internal table with a  field(say x )of type  'RAW' &lt;/P&gt;&lt;P&gt;this internal table is the displayed in a Document type of output ..in short in a word document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now my problem is that &lt;/P&gt;&lt;P&gt;when x is displayed  alon with teh text it allso displays the remaining zreos &lt;/P&gt;&lt;P&gt;eg abcdef 0000000000000000000000000000000000000000000000&lt;/P&gt;&lt;P&gt;now i dont want this ... can&lt;/P&gt;&lt;P&gt;anyone suggest me how i can  remove these zeros with spaces.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 13:05:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/binary-how-to-replace-zeros-with-space/m-p/1873607#M367579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T13:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: binary (how to replace zeros with space)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/binary-how-to-replace-zeros-with-space/m-p/1873608#M367580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use fm &lt;/P&gt;&lt;P&gt; 1.conversion_exit_alpha_input&lt;/P&gt;&lt;P&gt; 2.conversion_exit_alpha_output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for zeros before the value i mean padding of zeros before the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before the value is passed to ur fm u can check this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u explain the scenario a little bit more as how u are getting this value and what is/are the declaration(s).&lt;/P&gt;&lt;P&gt;&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;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 13:15:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/binary-how-to-replace-zeros-with-space/m-p/1873608#M367580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T13:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: binary (how to replace zeros with space)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/binary-how-to-replace-zeros-with-space/m-p/1873609#M367581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see if this logic works for u .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT zforum12 .

data : val(60) type c value
 'abcdef000000000000000000000000000000000000000'.

 write:/ val .


REPLACE all occurances of '0' IN val WITH space INTO val. "check this syntax
 write:/ val.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im working on 4.6c so please check on ur system for all occurance if this supports .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 13:51:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/binary-how-to-replace-zeros-with-space/m-p/1873609#M367581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T13:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: binary (how to replace zeros with space)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/binary-how-to-replace-zeros-with-space/m-p/1873610#M367582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;replace all occurrances of '0' IN V_VAL with space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award Points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 14:11:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/binary-how-to-replace-zeros-with-space/m-p/1873610#M367582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T14:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: binary (how to replace zeros with space)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/binary-how-to-replace-zeros-with-space/m-p/1873611#M367583</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;After converting '526173686D6900000000000000000000000000000000000000000000000000000000000000' into 'abcdef 0000000000000000000000000000000000000000000000' use the following code to solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SHIFT text RIGHT DELETING TRAILING '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if the answer is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mukul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 15:08:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/binary-how-to-replace-zeros-with-space/m-p/1873611#M367583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T15:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: binary (how to replace zeros with space)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/binary-how-to-replace-zeros-with-space/m-p/1873612#M367584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i guess end of file is missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be try this FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCMS_TEXT_TO_BINARY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jan 2007 07:22:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/binary-how-to-replace-zeros-with-space/m-p/1873612#M367584</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-01-14T07:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: binary (how to replace zeros with space)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/binary-how-to-replace-zeros-with-space/m-p/1873613#M367585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Rashmi&lt;/P&gt;&lt;P&gt; try ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Write  l_variable To l_variable NO-ZERO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; No need to use functin modules .&lt;/P&gt;&lt;P&gt; Reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jan 2007 10:51:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/binary-how-to-replace-zeros-with-space/m-p/1873613#M367585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-14T10:51:41Z</dc:date>
    </item>
  </channel>
</rss>

