<?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: How to remove '#'-sign from string in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-sign-from-string/m-p/1692245#M304005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olaf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess the "#" is tab character. &lt;/P&gt;&lt;P&gt;Please use the below method and check if it works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: tab(1) type c value cl_abap_char_utilities=&amp;gt;horizontal_tab,
        str type string.

open dataset &amp;lt;dsn&amp;gt; for input in text mode encoding default.
if sy-subrc eq 0.
  do.
    read dataset &amp;lt;dsn&amp;gt; into str.
    if sy-subrc ne 0.
       exit.
    else.
       split str at tab into &amp;lt;wa&amp;gt;-fld1 &amp;lt;wa&amp;gt;-fld2....
       append &amp;lt;wa&amp;gt; to &amp;lt;itab&amp;gt;.
    endf.
  enddo.
  close dataset &amp;lt;dsn&amp;gt;.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&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>Tue, 28 Nov 2006 08:26:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-28T08:26:18Z</dc:date>
    <item>
      <title>How to remove '#'-sign from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-sign-from-string/m-p/1692242#M304002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;using file upload into internal table i've got '#' signs. In the main body of the table they are separators and are always on  specific places.&lt;/P&gt;&lt;P&gt;In the header of the table they are at different places (and they are varying).&lt;/P&gt;&lt;P&gt;Exampleline: &lt;/P&gt;&lt;P&gt;0024 Company XYZ                    #Summary report           November 2006&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried REPLACE, but the '#'-sign is not recognized&lt;/P&gt;&lt;P&gt;I've tried TRANSLATE, but it doesn't work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the '#' sign is NOT equal with the one from your keyboard. It's a control character within files.&lt;/P&gt;&lt;P&gt;Any clues?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Olaf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 07:57:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-sign-from-string/m-p/1692242#M304002</guid>
      <dc:creator>Olaf_B</dc:creator>
      <dc:date>2006-11-28T07:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove '#'-sign from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-sign-from-string/m-p/1692243#M304003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Olaf,&lt;/P&gt;&lt;P&gt; Check this out&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2772647"&gt;&lt;/A&gt;&lt;/P&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, 28 Nov 2006 08:17:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-sign-from-string/m-p/1692243#M304003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T08:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove '#'-sign from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-sign-from-string/m-p/1692244#M304004</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 reading the file in Text mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 08:17:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-sign-from-string/m-p/1692244#M304004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T08:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove '#'-sign from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-sign-from-string/m-p/1692245#M304005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olaf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess the "#" is tab character. &lt;/P&gt;&lt;P&gt;Please use the below method and check if it works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: tab(1) type c value cl_abap_char_utilities=&amp;gt;horizontal_tab,
        str type string.

open dataset &amp;lt;dsn&amp;gt; for input in text mode encoding default.
if sy-subrc eq 0.
  do.
    read dataset &amp;lt;dsn&amp;gt; into str.
    if sy-subrc ne 0.
       exit.
    else.
       split str at tab into &amp;lt;wa&amp;gt;-fld1 &amp;lt;wa&amp;gt;-fld2....
       append &amp;lt;wa&amp;gt; to &amp;lt;itab&amp;gt;.
    endf.
  enddo.
  close dataset &amp;lt;dsn&amp;gt;.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&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>Tue, 28 Nov 2006 08:26:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-sign-from-string/m-p/1692245#M304005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T08:26:18Z</dc:date>
    </item>
  </channel>
</rss>

