<?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: Problem with REPLACE ALL OCCURANCES OF in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-replace-all-occurances-of/m-p/8209802#M1627229</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi krishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please note that SAP will show # for every character that can not be printed, i.e. control characters as tabs and line feeds are displayed as #.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check in debugger, switch to hex display to see what you try to replace. You may replace CL_ABAP_CHAR_UTILITIES=&amp;gt;horizontal_tab or other attributes of CL_ABAP_CHAR_UTILITIES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Sep 2011 04:41:01 GMT</pubDate>
    <dc:creator>Clemenss</dc:creator>
    <dc:date>2011-09-27T04:41:01Z</dc:date>
    <item>
      <title>Problem with REPLACE ALL OCCURANCES OF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-replace-all-occurances-of/m-p/8209799#M1627226</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 wanted to replace '#' in my string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have written "REPLACE ALL OCCURRENCES OF '#' IN&lt;/P&gt;&lt;P&gt;  c_data WITH ' ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some of the records, # is getting replaced but for some of the records # is not getting replaced.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: 001krishna on Sep 27, 2011 3:40 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 01:39:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-replace-all-occurances-of/m-p/8209799#M1627226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-27T01:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with REPLACE ALL OCCURANCES OF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-replace-all-occurances-of/m-p/8209800#M1627227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    Try with TRANSLATE statement. Just click on F1 on the translate statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TRANSLATE c_data USING '#'''.  " are you replacing # with single quote(')?&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Bala Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 03:04:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-replace-all-occurances-of/m-p/8209800#M1627227</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2011-09-27T03:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with REPLACE ALL OCCURANCES OF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-replace-all-occurances-of/m-p/8209801#M1627228</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;&lt;/P&gt;&lt;P&gt;Try Using   REPLACE ALL OCCURRENCES OF REGEX '#*' IN c_data  WITH '' '   &lt;/P&gt;&lt;P&gt;                  OR    &lt;/P&gt;&lt;P&gt;                  REPLACE ALL OCCURRENCES OF Substring '#*' IN c_data  WITH '' '. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This shud help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: abheesawant on Sep 27, 2011 6:26 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 04:26:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-replace-all-occurances-of/m-p/8209801#M1627228</guid>
      <dc:creator>former_member907073</dc:creator>
      <dc:date>2011-09-27T04:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with REPLACE ALL OCCURANCES OF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-replace-all-occurances-of/m-p/8209802#M1627229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi krishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please note that SAP will show # for every character that can not be printed, i.e. control characters as tabs and line feeds are displayed as #.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check in debugger, switch to hex display to see what you try to replace. You may replace CL_ABAP_CHAR_UTILITIES=&amp;gt;horizontal_tab or other attributes of CL_ABAP_CHAR_UTILITIES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 04:41:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-replace-all-occurances-of/m-p/8209802#M1627229</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-09-27T04:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with REPLACE ALL OCCURANCES OF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-replace-all-occurances-of/m-p/8209803#M1627230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kishna, the REPLACE command will only replace 'real' characters with ASCII code '23'. Next to these 'real' charecters there might be some non diplayable characters in c_data whose ASCII code is not displayable. These will also be displyed as #. You can check it in the debugger by changing to hex mode. What is the ASCII code of the # characters that are not getting replaced ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 04:43:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-replace-all-occurances-of/m-p/8209803#M1627230</guid>
      <dc:creator>JackGraus</dc:creator>
      <dc:date>2011-09-27T04:43:13Z</dc:date>
    </item>
  </channel>
</rss>

