<?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: Remove # from string in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979080#M1340568</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the replies&lt;/P&gt;&lt;P&gt;solved it in another way but if someone knows the answer with hexadecimal formatting ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Aug 2009 13:46:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-03T13:46:27Z</dc:date>
    <item>
      <title>Remove # from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979070#M1340558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;  I've got the following problem&lt;/P&gt;&lt;P&gt;  I receive an xml string with some '#' characters and would like to remove them&lt;/P&gt;&lt;P&gt;  I know that replace ... '#' doesn't work because it's not actually the char '#' that should be removed but it's a &lt;/P&gt;&lt;P&gt;  hexadecimal character (I think it's a blanc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  any ideas on how to do this ?  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 09:33:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979070#M1340558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T09:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Remove # from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979071#M1340559</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;Switch to debugging mode .Check this character in debugging mode and try to find wat exactly this character is?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thnk that the characters which are not interpreted by SAP are shown as #. It means that characters which cannot be printed are&lt;/P&gt;&lt;P&gt;shown as #.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshman.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 09:39:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979071#M1340559</guid>
      <dc:creator>former_member209217</dc:creator>
      <dc:date>2009-08-03T09:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Remove # from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979072#M1340560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check with replace in byte mode&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 09:43:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979072#M1340560</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-08-03T09:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Remove # from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979073#M1340561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiiii &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPLACE ALL OCCURRENCES OF '#' IN your_variable WITH ' '.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards &lt;/P&gt;&lt;P&gt;Prashant Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 09:45:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979073#M1340561</guid>
      <dc:creator>former_member459142</dc:creator>
      <dc:date>2009-08-03T09:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Remove # from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979074#M1340562</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;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;characters cannot be removed because they are actaully hexadecimal charcters like horizontal tabs etc.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the class CL_ABAP_CHAR_UTILITIES and the HORIZONTAL_TAB attribute or other relevant one so that you can remove the #.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subhashini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 09:47:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979074#M1340562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T09:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Remove # from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979075#M1340563</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;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;symbol is used for new line carried feed variable. It can be replaced with the following code.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Replace all occurances of CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB in string with space
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Replace all occurances of CL_ABAP_CHAR_UTILITIES=&amp;gt;NEWLINE in string with space.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 09:48:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979075#M1340563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T09:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Remove # from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979076#M1340564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your replies&lt;/P&gt;&lt;P&gt;I've used the class CL_ABAP_CHAR_UTILITIES but none of the provided attributes (CR_LF, horizontal_tab, ..) work&lt;/P&gt;&lt;P&gt;I think that's it's a hex blanc that should be removed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 09:50:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979076#M1340564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T09:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Remove # from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979077#M1340565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you are getting this # as a result of xml transformation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can either use shift to shift xml string 1 place to remove '#' char or you can use offset to &lt;/P&gt;&lt;P&gt;replace it with space. For e.g. string+1(1) = space. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check if this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Augustin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 09:52:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979077#M1340565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T09:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Remove # from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979078#M1340566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  If you can go to the debugger and at the right of the field value we have a hex viewer click on that and see what is the value of the space in HEX then in your code declare a variable as hex and try to replace it as below.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 

data: lv_char type 'X' value '09'.

replace lv_char with space in text.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 09:58:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979078#M1340566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T09:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Remove # from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979079#M1340567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think in debugging you should check the hex value for this #. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you an idea which value you need to replace for the class CL_ABAP_CHAR_UTILITIES viz., NEWLINE(0A), CR_LF(0D0A) etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 10:26:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979079#M1340567</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-08-03T10:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Remove # from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979080#M1340568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the replies&lt;/P&gt;&lt;P&gt;solved it in another way but if someone knows the answer with hexadecimal formatting ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 13:46:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979080#M1340568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T13:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Remove # from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979081#M1340569</link>
      <description>symbol is used for new line carried feed variable. It can be replaced with the following code.( will be used in Long Text to ALV )&lt;BR /&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF CL_ABAP_CHAR_UTILITIES=&amp;gt;NEWLINE IN &amp;lt; your String &amp;gt; WITH SPACE.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Nawal&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 10:18:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-from-string/m-p/5979081#M1340569</guid>
      <dc:creator>former_member396337</dc:creator>
      <dc:date>2022-04-14T10:18:14Z</dc:date>
    </item>
  </channel>
</rss>

