<?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: Replace # with space in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063205#M426681</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replace all occurrences of cl_abap_char_utilities=&amp;gt;HORIZONTAL_TAB&lt;/P&gt;&lt;P&gt;                               in str with space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2007 14:05:27 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-03-08T14:05:27Z</dc:date>
    <item>
      <title>Replace # with space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063201#M426677</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 need to replace the appearance of # character with space in a character field.&lt;/P&gt;&lt;P&gt;the normal Replace property of ABAP does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sheetal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 14:00:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063201#M426677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T14:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Replace # with space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063202#M426678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split v_str at &amp;lt;b&amp;gt;cl_abap_char_utilities=&amp;gt;HORIZONTAL_TAB&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 14:01:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063202#M426678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T14:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Replace # with space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063203#M426679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The # you see is not a # in reality thats why it is not workinf.&lt;/P&gt;&lt;P&gt;It must be TAB character or a page break character.&lt;/P&gt;&lt;P&gt;Use the atrributes of the class CL_ABAP_CHAR_UTILITIES like HORIZONTAL_TAB or NEWLINE etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replace CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB with space in string.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 14:02:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063203#M426679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T14:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Replace # with space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063204#M426680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;translate w_char using '# ' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After # space is mandatory in single quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 14:02:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063204#M426680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T14:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Replace # with space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063205#M426681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replace all occurrences of cl_abap_char_utilities=&amp;gt;HORIZONTAL_TAB&lt;/P&gt;&lt;P&gt;                               in str with space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 14:05:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063205#M426681</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-03-08T14:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Replace # with space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063206#M426682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried this , but the solution is not working for me.&lt;/P&gt;&lt;P&gt;Could you help me with some sample code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To give you more indepth knowhow---&amp;gt;&lt;/P&gt;&lt;P&gt;I have converted  OTF data to PDF into internal table having structure TLINE.&lt;/P&gt;&lt;P&gt;I am trying to replace the ## occurrences from the field TDLINE of this internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 14:15:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063206#M426682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T14:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Replace # with space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063207#M426683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well then maybe they are not horiontal tabs,  maybe they are carriage returns.  Try this next.&lt;/P&gt;&lt;P&gt;&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;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 14:17:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063207#M426683</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-03-08T14:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Replace # with space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063208#M426684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;report oo_deneme1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF TY_OUTPUT,&lt;/P&gt;&lt;P&gt;       TEXT1(10),&lt;/P&gt;&lt;P&gt;       TEXT2(10),&lt;/P&gt;&lt;P&gt;       TEXT3(30),&lt;/P&gt;&lt;P&gt;       END OF TY_OUTPUT.&lt;/P&gt;&lt;P&gt;DATA: OUTPUT_TAB TYPE TY_OUTPUT OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF TY_DATA,&lt;/P&gt;&lt;P&gt;      TEXT(80) ,&lt;/P&gt;&lt;P&gt;      END OF TY_DATA.&lt;/P&gt;&lt;P&gt;DATA: DATA_TAB TYPE TY_DATA OCCURS 0 .&lt;/P&gt;&lt;P&gt;DATA: DATA_WA TYPE TY_DATA.&lt;/P&gt;&lt;P&gt;CALL METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;CLIPBOARD_IMPORT&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    DATA                 = DATA_TAB&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     LENGTH               =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;    CNTL_ERROR           = 1&lt;/P&gt;&lt;P&gt;    ERROR_NO_GUI         = 2&lt;/P&gt;&lt;P&gt;    NOT_SUPPORTED_BY_GUI = 3&lt;/P&gt;&lt;P&gt;    OTHERS               = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT DATA_TAB INTO DATA_WA.&lt;/P&gt;&lt;P&gt;    replace all occurrences of CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB&lt;/P&gt;&lt;P&gt;      in DATA_WA-TEXT with '*'.&lt;/P&gt;&lt;P&gt;    SPLIT DATA_WA-TEXT AT '*' INTO&lt;/P&gt;&lt;P&gt;       OUTPUT_TAB-TEXT1&lt;/P&gt;&lt;P&gt;       OUTPUT_TAB-TEXT2&lt;/P&gt;&lt;P&gt;       OUTPUT_TAB-TEXT3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC = 0 .&lt;/P&gt;&lt;P&gt;     APPEND OUTPUT_TAB.&lt;/P&gt;&lt;P&gt;     WRITE: / OUTPUT_TAB.&lt;/P&gt;&lt;P&gt;    ELSEIF SY-SUBRC = 4.&lt;/P&gt;&lt;P&gt;      WRITE: / 'Split error:', DATA_WA-TEXT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 14:21:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063208#M426684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T14:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Replace # with space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063209#M426685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sheetal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try the following logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data itab type table of tdline.
data wa_itab type tdline.

loop at itab into wa_itab.
   replace all occurrences of 
    cl_abap_char_utilities=&amp;gt;CR_LF in wa_itab-line with space. 
modify itab from wa_itab index sy-tabix.
endloop.

"instead of CR_LF try with HORIZONTAL_TAB also.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Sajan Joseph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 14:23:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063209#M426685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T14:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Replace # with space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063210#M426686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks ...this has solved my initial level problem...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 14:26:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063210#M426686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T14:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Replace # with space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063211#M426687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you want to award points for helpful answers, and mark "Solved my problem" next to the answer that really solved  your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 14:31:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with-space/m-p/2063211#M426687</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-03-08T14:31:50Z</dc:date>
    </item>
  </channel>
</rss>

