<?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 '.' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/1924715#M383865</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;Donot change the user profile options as the . and , setting are user dependent and vary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For display - Use the WRITE statment to write the currency/quant fields to a CHAR17/18 variable - WRITE automatically takes care of the user settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Feb 2007 13:43:09 GMT</pubDate>
    <dc:creator>anilnal</dc:creator>
    <dc:date>2007-02-20T13:43:09Z</dc:date>
    <item>
      <title>replace ',' with '.'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/1924710#M383860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to replace this kind of things  : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1234.89 with 1.234,89. -&amp;gt; it is needed the '.' too.&lt;/P&gt;&lt;P&gt;234.23 with 234,23.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any FM known to do this? The idea is not only to replace '.' with ',' but to insert '.' in case it is needed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 12:45:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/1924710#M383860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T12:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: replace ',' with '.'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/1924711#M383861</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;Please change the settings of user profle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;System &amp;gt; user profile &amp;gt; own data &amp;gt; defaults tab.&lt;/P&gt;&lt;P&gt;Chaneg teh decimal notation&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Change the format to the desired one.&lt;/P&gt;&lt;P&gt;This will automatically take care of the foramtting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else u have to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REPLACE '.' with ',' INTO string.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Judith Jessie Selvi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 12:46:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/1924711#M383861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T12:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: replace ',' with '.'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/1924712#M383862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maria,&lt;/P&gt;&lt;P&gt;You need to have definite logic how you want to include '.' or ','. If u can give the detail we can come to a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 12:48:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/1924712#M383862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T12:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: replace ',' with '.'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/1924713#M383863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. u can simply use WRITE number TO StrVar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. It will automatically write the number&lt;/P&gt;&lt;P&gt;1234.89 into the user format to StrVar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 12:49:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/1924713#M383863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T12:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: replace ',' with '.'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/1924714#M383864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to 'Defaults' tab of the User Profile and change the Decimal notation radio button to the first one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 12:52:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/1924714#M383864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T12:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: replace ',' with '.'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/1924715#M383865</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;Donot change the user profile options as the . and , setting are user dependent and vary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For display - Use the WRITE statment to write the currency/quant fields to a CHAR17/18 variable - WRITE automatically takes care of the user settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 13:43:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/1924715#M383865</guid>
      <dc:creator>anilnal</dc:creator>
      <dc:date>2007-02-20T13:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: replace ',' with '.'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/1924716#M383866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi u have not specified that u r getting the problem while printing d value....&lt;/P&gt;&lt;P&gt;or where exactly u r griiong this this problem...ok&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check these points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Please change the settings of user profle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System &amp;gt; user profile &amp;gt; own data &amp;gt; defaults tab.&lt;/P&gt;&lt;P&gt;Chaneg teh decimal notation (Change the format which u required)&lt;/P&gt;&lt;P&gt;This will automatically take care of the foramtting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. or u can use REPLACE '.' with ',' INTO string. ( u have to take the value into character variable or in string)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.or if r printing    write:/  variable CURRENCY variable related currency field.&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;The output of the WRITE statement is "123456,78". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA int TYPE i VALUE 12345678. &lt;/P&gt;&lt;P&gt;WRITE int NO-GROUPING CURRENCY 'EUR'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;write&amp;lt;/b&amp;gt; XXXXX &amp;lt;b&amp;gt;to&amp;lt;/b&amp;gt; YYYYYY... &amp;lt;b&amp;gt;CURRENCY&amp;lt;/b&amp;gt; cur &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This addition cannot be used together with the addition TIME ZONE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;This addition defines currency-dependent decimal places for the output of data objects of data types i or p. For all other data types, except for f, the addition is ignored. For cur, a three-digit, character-type field is expected that contains a currency key from the column CURRKEY of the database table TCURX in uppercase letters. The system determines the number of decimal places from the column CURRDEC of the respective row in the database table TCURX. If the content of cur is not found in TCURX, two decimal places are used. The following applies for numeric data types: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case of data types of type i, a decimal separator is inserted at the position determined by cur and the thousands separators are moved accordingly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case of data objects of type p, the decimal places defined in the definition of the data type are ignored completely. Irrespective of the actual value and without rounding actions, the decimal separators and the thousand separators are inserted at the positions in the numbers determined by cur. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case of data objects of type f, the addition CURRENCY has the same effect as the addition DECIMALS (see below). Here, the number of decimal places is determined by cur. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the addition CURRENCY with length specification * or ** is used after AT, it is used first and the output length is determined from the result. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;The addition CURRENCY is appropriate for the display of data objects of type i or p without decimal places, whose contents are currency amounts in the smallest unit of the currency. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;The output of the WRITE statement is "123456,78". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA int TYPE i VALUE 12345678. &lt;/P&gt;&lt;P&gt;WRITE int NO-GROUPING CURRENCY 'EUR'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 14:01:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/1924716#M383866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T14:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: replace ',' with '.'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/1924717#M383867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just use the statement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write &amp;lt;number variable&amp;gt;  to &amp;lt;string variable&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &amp;lt;string Variable&amp;gt; will have the desired result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 14:08:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-with/m-p/1924717#M383867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T14:08:14Z</dc:date>
    </item>
  </channel>
</rss>

