<?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/TRANSLATE not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126604#M986697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Just remove  REGEX  in your replace statement and try it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;padma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Padmavathi Palli on Jul 11, 2008 6:55 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jul 2008 04:55:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-11T04:55:23Z</dc:date>
    <item>
      <title>REPLACE/TRANSLATE not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126603#M986696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frnds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using read_text functional module to read PR line item text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am getting text like this :  " Brass Flareless compression tube fittings### ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont want '###'. so i used below code.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;LOOP AT it_tline.&lt;/P&gt;&lt;P&gt;      REPLACE ALL OCCURRENCES OF REGEX '#' IN it_tline-tdline  WITH ' '.&lt;/P&gt;&lt;P&gt;      CONCATENATE p_v_text it_tline-tdline INTO p_v_text SEPARATED BY space.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no changes in text. It is not removing ###. I used below statement also... no result i got.&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 it_tline-tdline with ' '.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body tel me what may be the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 04:41:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126603#M986696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T04:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE/TRANSLATE not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126604#M986697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Just remove  REGEX  in your replace statement and try it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;padma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Padmavathi Palli on Jul 11, 2008 6:55 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 04:55:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126604#M986697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T04:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE/TRANSLATE not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126605#M986698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kumar,&lt;/P&gt;&lt;P&gt;                  First try with Just remove REGEX in your replace statement and try it. It still not works then Instead of "CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB" try removing the Carrage feed constant variable  in the same class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greetson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 04:55:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126605#M986698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T04:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE/TRANSLATE not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126606#M986699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF '#' IN it_tline-tdline WITH ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wats regex there in that replace statement???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 04:56:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126606#M986699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T04:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE/TRANSLATE not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126607#M986700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use '#' directly in the replace statement like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_tline.&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF &lt;STRONG&gt;'#'&lt;/STRONG&gt; IN it_tline-tdline WITH ' '&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IN CHARACTER MODE&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;CONCATENATE p_v_text it_tline-tdline INTO p_v_text SEPARATED BY space.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 04:59:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126607#M986700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T04:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE/TRANSLATE not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126608#M986701</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 tried all u r suggestions, it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i used in sample report (where we do small practice ) it is working.&lt;/P&gt;&lt;P&gt;like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     data : p_v_text type string.&lt;/P&gt;&lt;P&gt;           p_v_text = 'Brass Flareless compression tube fittings### '.&lt;/P&gt;&lt;P&gt;        REPLACE ALL OCCURRENCES OF  '#' IN p_v_text  WITH ''.&lt;/P&gt;&lt;P&gt; write : p_v_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in my main report it is not working,  I think the text coming from READ_TEXT functional module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ greetson can u tell me how can i use: " try removing the Carrage feed constant variable in the same class."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 05:09:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126608#M986701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T05:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE/TRANSLATE not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126609#M986702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kumar,&lt;/P&gt;&lt;P&gt;                    There is a attribute in the class "CL_ABAP_CHAR_UTILITIES=&amp;gt;" for carriage feed. Check that variabe and use that attribute in your logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greetson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 05:11:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126609#M986702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T05:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE/TRANSLATE not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126610#M986703</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;As per my knowledge Replace and Transalate will work based on the text Environment. So before using this statement please apply the below code. So that it will set the text environemt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SET LOCALE LANGUAGE lang [COUNTRY cntry].&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope this will solves your probelm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Many Thanks,
Raghu.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 05:17:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126610#M986703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T05:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE/TRANSLATE not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126611#M986704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Grretson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no that type of attribute. i tried with other one FORM_FEED  no use.&lt;/P&gt;&lt;P&gt;Can any body give sol. here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM item_text  USING    p_v_objname&lt;/P&gt;&lt;P&gt;                         p_c_a07&lt;/P&gt;&lt;P&gt;                         p_c_ekpo&lt;/P&gt;&lt;P&gt;                CHANGING p_v_text.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;intarnal table declaration&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DATA : it_tline TYPE TABLE OF tline WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR : p_v_text,&lt;/P&gt;&lt;P&gt;          it_tline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REFRESH it_tline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Reading RFQ texts  according to text id.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      client                  = sy-mandt&lt;/P&gt;&lt;P&gt;      id                      = p_c_a07&lt;/P&gt;&lt;P&gt;      language                = sy-langu&lt;/P&gt;&lt;P&gt;      name                    = p_v_objname&lt;/P&gt;&lt;P&gt;      object                  = p_c_ekpo&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      lines                   = it_tline&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      id                      = 1&lt;/P&gt;&lt;P&gt;      language                = 2&lt;/P&gt;&lt;P&gt;      name                    = 3&lt;/P&gt;&lt;P&gt;      not_found               = 4&lt;/P&gt;&lt;P&gt;      object                  = 5&lt;/P&gt;&lt;P&gt;      reference_check         = 6&lt;/P&gt;&lt;P&gt;      wrong_access_to_archive = 7&lt;/P&gt;&lt;P&gt;      OTHERS                  = 8.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0 AND it_tline[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT it_tline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       replace all occurrences of CL_ABAP_CHAR_UTILITIES=&amp;gt;FORM_FEED&lt;/P&gt;&lt;P&gt;       in it_tline-tdline with ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      REPLACE ALL OCCURRENCES OF '#' IN it_tline-tdline  WITH '' IN CHARACTER MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CONCATENATE p_v_text it_tline-tdline INTO p_v_text SEPARATED BY space.&lt;/P&gt;&lt;P&gt;      REPLACE ALL OCCURRENCES OF REGEX '#' IN p_v_text  WITH ''.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 05:23:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126611#M986704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T05:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE/TRANSLATE not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126612#M986705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kumar,&lt;/P&gt;&lt;P&gt;                       Try  the attribute  "CR_LF"  ... My mistake in my previous replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greetson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 05:29:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126612#M986705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T05:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE/TRANSLATE not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126613#M986706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried that also...&lt;/P&gt;&lt;P&gt; regards,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 05:30:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126613#M986706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T05:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE/TRANSLATE not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126614#M986707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If u r getting '#' for every line in table it_tline then u can try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM item_text USING p_v_objname&lt;/P&gt;&lt;P&gt;p_c_a07&lt;/P&gt;&lt;P&gt;p_c_ekpo&lt;/P&gt;&lt;P&gt;CHANGING p_v_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;intarnal table declaration&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : it_tline TYPE TABLE OF tline WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data: len type i.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CLEAR : p_v_text,&lt;/P&gt;&lt;P&gt;it_tline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH it_tline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Reading RFQ texts according to text id.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;client = sy-mandt&lt;/P&gt;&lt;P&gt;id = p_c_a07&lt;/P&gt;&lt;P&gt;language = sy-langu&lt;/P&gt;&lt;P&gt;name = p_v_objname&lt;/P&gt;&lt;P&gt;object = p_c_ekpo&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;lines = it_tline&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;id = 1&lt;/P&gt;&lt;P&gt;language = 2&lt;/P&gt;&lt;P&gt;name = 3&lt;/P&gt;&lt;P&gt;not_found = 4&lt;/P&gt;&lt;P&gt;object = 5&lt;/P&gt;&lt;P&gt;reference_check = 6&lt;/P&gt;&lt;P&gt;wrong_access_to_archive = 7&lt;/P&gt;&lt;P&gt;OTHERS = 8.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0 AND it_tline[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_tline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;len = strlen( it_tline-tdline ).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Say for last 3 char u r getting '#'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;len = len - 3.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if len &amp;gt; 0.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE p_v_text &lt;STRONG&gt;it_tline-tdline+0(len)&lt;/STRONG&gt; INTO p_v_text SEPARATED BY space.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;endif.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;clear len.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also u can split the char string into an internal table based on '#' and then only consider string that have char other than '#'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 05:44:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126614#M986707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T05:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE/TRANSLATE not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126615#M986708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi try this code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : t_hex(2) TYPE c.&lt;/P&gt;&lt;P&gt;DATA :y TYPE x VALUE '0D'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE y ':' INTO t_hex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        TRANSLATE pv_text USING t_hex .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        TRANSLATE pv_text USING ': '.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 05:56:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126615#M986708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T05:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE/TRANSLATE not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126616#M986709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joyjit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried split. but text is not splitting. It seems not working.&lt;/P&gt;&lt;P&gt;Any way this text will not come every time like this.&lt;/P&gt;&lt;P&gt;This is the first time happend in this year.&lt;/P&gt;&lt;P&gt;Any way how can i read that text have the '#' charecter so that if that particular char is there i will execute your code.&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;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 05:57:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126616#M986709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T05:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE/TRANSLATE not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126617#M986710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hay thanks to allll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually problem in Uploading programe. &lt;/P&gt;&lt;P&gt;There is three spaces in the text file which is Uploaded as PR. That is the reason READ_TEXT giving '###'. that means there is 3 tab spaces in the text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Any way still  i have question why i am not able remove that symbols (###) from text line wich is given READ_TEXT functional module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i fnd the sol.. i will post here.... If any body have the answer plz tel me, it will help further..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 06:15:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/4126617#M986710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T06:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE/TRANSLATE not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/13945486#M2037958</link>
      <description>&lt;P&gt;Hi Team,&lt;BR /&gt;Did anyone found any solution to this issue. This issue is happening with me as well till now.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 12:07:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-translate-not-working/m-p/13945486#M2037958</guid>
      <dc:creator>Ashish_23</dc:creator>
      <dc:date>2024-11-22T12:07:31Z</dc:date>
    </item>
  </channel>
</rss>

