<?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 REPLACE '#' WITH ' ' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/2010380#M410265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope you can help me. I have to upload an excel sheet by FM 'TEXT_CONVERT_XLS_TO_SAP'. The result that i get contains a string that could implement line breaks. This line breaks are each identified by '#'.&lt;/P&gt;&lt;P&gt;Before the string is displayed the '#' has to be replaced. I have tempted it with &lt;/P&gt;&lt;P&gt;REPLACE '#' WITH ' ' but i get no positiv result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone assist me to resolve this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Mar 2007 07:50:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-27T07:50:42Z</dc:date>
    <item>
      <title>REPLACE '#' WITH ' '</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/2010380#M410265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope you can help me. I have to upload an excel sheet by FM 'TEXT_CONVERT_XLS_TO_SAP'. The result that i get contains a string that could implement line breaks. This line breaks are each identified by '#'.&lt;/P&gt;&lt;P&gt;Before the string is displayed the '#' has to be replaced. I have tempted it with &lt;/P&gt;&lt;P&gt;REPLACE '#' WITH ' ' but i get no positiv result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone assist me to resolve this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 07:50:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/2010380#M410265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-27T07:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE '#' WITH ' '</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/2010381#M410266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Florian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do this way ..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
replace all occurrences of 
  cl_abap_char_utilities=&amp;gt;CR_LF in str with space.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
replace all occurrences of cl_abap_char_utilities=&amp;gt;HORIZONTAL_TAB
in str with space.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 07:55:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/2010381#M410266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-27T07:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE '#' WITH ' '</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/2010382#M410267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data temp_fill_string(50) type c value 'sfg###sjndks###fifis'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; translate temp_fill_string using '# '.&lt;/P&gt;&lt;P&gt;write  temp_fill_string .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        sunil kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 07:55:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/2010382#M410267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-27T07:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE '#' WITH ' '</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/2010383#M410268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Replace # with CL_ABAP_CHAR_UTILITIES=&amp;gt;NEWLINE in the text, this will give the next text in the new line&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 07:59:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/2010383#M410268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-27T07:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE '#' WITH ' '</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/2010384#M410269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on what you wanna do with it. Those '#' are special characters to indicates new line or tab. You need to use the abap objects CL_ABAP_CHAR_UTILITIES to fix this issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample codes:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This code will split up the &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;REPLACE CL_ABAP_CHAR_UTILITIES=&amp;gt;NEWLINE IN myString WITH SPACE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 08:03:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/2010384#M410269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-27T08:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE '#' WITH ' '</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/2010385#M410270</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;thanks a lot. I've resolve the problem with Thungs answer. The replace statement by santosh does not work. I get the correct result from  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE CL_ABAP_CHAR_UTILITIES=&amp;gt;NEWLINE IN myString WITH SPACE.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 08:13:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/2010385#M410270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-27T08:13:07Z</dc:date>
    </item>
  </channel>
</rss>

