<?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 Accented Character from string in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-accented-character-from-string/m-p/6404247#M1406751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mars,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this code snippet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: gv_in TYPE string,
      gv_out TYPE string.
gv_in = 'Rössing Uranium Limited" &amp;amp; "Prüflos für Prüfung freigeben'.

CALL FUNCTION 'SCP_REPLACE_STRANGE_CHARS'
  EXPORTING
    intext  = gv_in
  IMPORTING
    outtext = gv_out.
WRITE gv_out.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Input: Rössing Uranium Limited" &amp;amp; "Prüflos für Prüfung freigeben'
Output: Roessing Uranium Limited" &amp;amp; "Prueflos fuer Pruefung freigeben&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Nov 2009 06:43:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-27T06:43:44Z</dc:date>
    <item>
      <title>Remove Accented Character from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-accented-character-from-string/m-p/6404242#M1406746</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 need to replace the accented characters from a string with normal character . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  In the string "Rössing Uranium Limited" &amp;amp; "Prüflos für Prüfung freigeben" i need to remove accented characters with "o" and "u" respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I have tried using below FMs but this could not help&lt;/P&gt;&lt;P&gt;  1.  SF_SPECIALCHAR_DELETE.&lt;/P&gt;&lt;P&gt;  2.  SCP_REPLACE_STRANGE_CHARS.&lt;/P&gt;&lt;P&gt;  3.  TELNUMBER_REMOVE_SPECIAL_CHAR and some other FMs too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Please could you let me know if there is any FM or logic to replace such characters.&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;Mars&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 23:20:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-accented-character-from-string/m-p/6404242#M1406746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-26T23:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Accented Character from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-accented-character-from-string/m-p/6404243#M1406747</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;do you want to find a FM that can replace all special character automatically?&lt;/P&gt;&lt;P&gt;if not, I think you can just use replace statement like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_tmp = 'Prüflos für Prüfung freigeben'.&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF REGEX 'ü' IN lv_tmp WITH 'u'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2009 02:57:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-accented-character-from-string/m-p/6404243#M1406747</guid>
      <dc:creator>peter_peng</dc:creator>
      <dc:date>2009-11-27T02:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Accented Character from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-accented-character-from-string/m-p/6404244#M1406748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not think there is FM to process this. you may need create on FM to process it by yourself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2009 03:21:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-accented-character-from-string/m-p/6404244#M1406748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-27T03:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Accented Character from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-accented-character-from-string/m-p/6404245#M1406749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to code your own logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will be easy if you know what will be the special characters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2009 03:24:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-accented-character-from-string/m-p/6404245#M1406749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-27T03:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Accented Character from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-accented-character-from-string/m-p/6404246#M1406750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;fm &lt;STRONG&gt;SCP_REPLACE_STRANGE_CHARS&lt;/STRONG&gt; should work for sure.&lt;/P&gt;&lt;P&gt;Read the documentation its says that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you test this .. just a try&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPLACE ALL OCCURRENCES OF REGEX '[$1(\P{M}\p{M})]' IN lv_str WITH space.

or

REPLACE ALL OCCURRENCES OF REGEX '[$1(\P{M}\p{M})]' IN lv_str WITH '([aeiou])'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Edited by: ksd on Nov 27, 2009 11:15 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2009 05:35:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-accented-character-from-string/m-p/6404246#M1406750</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-11-27T05:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Accented Character from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-accented-character-from-string/m-p/6404247#M1406751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mars,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this code snippet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: gv_in TYPE string,
      gv_out TYPE string.
gv_in = 'Rössing Uranium Limited" &amp;amp; "Prüflos für Prüfung freigeben'.

CALL FUNCTION 'SCP_REPLACE_STRANGE_CHARS'
  EXPORTING
    intext  = gv_in
  IMPORTING
    outtext = gv_out.
WRITE gv_out.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Input: Rössing Uranium Limited" &amp;amp; "Prüflos für Prüfung freigeben'
Output: Roessing Uranium Limited" &amp;amp; "Prueflos fuer Pruefung freigeben&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2009 06:43:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-accented-character-from-string/m-p/6404247#M1406751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-27T06:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Accented Character from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-accented-character-from-string/m-p/6404248#M1406752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To convert accents in non-accented chars you can use the FM&amp;nbsp; "HR_BR_CONVERT_ACCENTS".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 17:47:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-accented-character-from-string/m-p/6404248#M1406752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-06T17:47:28Z</dc:date>
    </item>
  </channel>
</rss>

