<?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 Convert decimal for required user format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-decimal-for-required-user-format/m-p/745760#M35735</link>
    <description>&lt;P&gt;hi, &lt;/P&gt;
  &lt;P&gt;I need to convert an amount to user format but not the logged in runtime user. It should be a user I am need. I have a user, ill get the decimal format for the user, and then convert the amount value into that format. Not the sy-uname.&lt;/P&gt;
  &lt;P&gt;its seemingly regular but i cant get any standard code for it.&lt;/P&gt;
  &lt;P&gt;is there any function module in SRM for it ? &lt;/P&gt;</description>
    <pubDate>Sat, 08 Dec 2018 00:06:58 GMT</pubDate>
    <dc:creator>bhakti2</dc:creator>
    <dc:date>2018-12-08T00:06:58Z</dc:date>
    <item>
      <title>Convert decimal for required user format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-decimal-for-required-user-format/m-p/745760#M35735</link>
      <description>&lt;P&gt;hi, &lt;/P&gt;
  &lt;P&gt;I need to convert an amount to user format but not the logged in runtime user. It should be a user I am need. I have a user, ill get the decimal format for the user, and then convert the amount value into that format. Not the sy-uname.&lt;/P&gt;
  &lt;P&gt;its seemingly regular but i cant get any standard code for it.&lt;/P&gt;
  &lt;P&gt;is there any function module in SRM for it ? &lt;/P&gt;</description>
      <pubDate>Sat, 08 Dec 2018 00:06:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-decimal-for-required-user-format/m-p/745760#M35735</guid>
      <dc:creator>bhakti2</dc:creator>
      <dc:date>2018-12-08T00:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Convert decimal for required user format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-decimal-for-required-user-format/m-p/745761#M35736</link>
      <description>&lt;P&gt;I have number in this format 10.000,52.I want to change this format to my User decimal format whcih is entred in SU01.&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;Below sample code to replace dot with comma and viceversa.&lt;/P&gt;&lt;P&gt;while sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;if wf_value eq '.' then&lt;/P&gt;&lt;P&gt;replace '.' with ',' into wf_value&lt;/P&gt;&lt;P&gt;elseif wf_value eq ',' then&lt;/P&gt;&lt;P&gt;replace '.' with '.' into wf_value&lt;/P&gt;&lt;P&gt;endwhile&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;use FM CONVERT_NUMBER.&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Go to System&amp;gt;User Profile&amp;gt;Own data&lt;/P&gt;&lt;P&gt;Defaults Tab, select the decimal notation type u required.&lt;/P&gt;&lt;P&gt;next time when u give input any number, it will display according to that particular notations&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;Please go to SU01 --&amp;gt; Enter user id --&amp;gt; display --&amp;gt; Anc click on default tab and check the decimal notation.&lt;/P&gt;&lt;P&gt;Declare one field to currency type and then try&lt;/P&gt;&lt;P&gt;Use FM BKK_AMOUNT_CONV_TO_INTERN_MAIN.&lt;/P&gt;&lt;P&gt;you can check by changing the values in su01.but remember your change reflect only when you logoff SAP and again login.so once logoff is needed.&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;I can't change the settings in the SU01.The value is coming from flat file like this '10.500,50'.In this value all commas should be replace with '.' and all '.'with ','.&lt;/P&gt;&lt;P&gt;Or i need to convert this is user decimal format.How can i do tat.&lt;/P&gt;&lt;P&gt;is there any FM to solve this pblm.&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;Below sample code to replace dot with comma and viceversa.&lt;/P&gt;&lt;P&gt;while sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;if wf_value eq '.' then&lt;/P&gt;&lt;P&gt;replace '.' with ',' into wf_value&lt;/P&gt;&lt;P&gt;elseif wf_value eq ',' then&lt;/P&gt;&lt;P&gt;replace '.' with '.' into wf_value&lt;/P&gt;&lt;P&gt;endwhile&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;hope this will be usefull&lt;/P&gt;</description>
      <pubDate>Sat, 08 Dec 2018 04:12:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-decimal-for-required-user-format/m-p/745761#M35736</guid>
      <dc:creator>muttepawar-2009</dc:creator>
      <dc:date>2018-12-08T04:12:49Z</dc:date>
    </item>
  </channel>
</rss>

