<?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 Currency represent in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-represent/m-p/5675498#M1290333</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;I have some problem with currency numbers represent.&lt;/P&gt;&lt;P&gt;I want to convert '50 000.00' number to currency format with 3 digit places '5 000.000'. How can I do it.?&lt;/P&gt;&lt;P&gt;I have wrote some code &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
DATA: brtwr LIKE esll-brtwr.
DATA: lv_brtwr LIKE esll-brtwr.
DATA: lv_string(15) TYPE c.

WRITE brtwr CURRENCY 'CZK3' TO lv_string .
CONDENSE lv_string NO-GAPS.
REPLACE ','  WITH '.' INTO lv_string.
lv_brtwr = lv_string.
WRITE lv_brtwr.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but with no result ..., I have '5 000.00' now, how can I solve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jun 2009 11:01:57 GMT</pubDate>
    <dc:creator>daniel_duras2</dc:creator>
    <dc:date>2009-06-10T11:01:57Z</dc:date>
    <item>
      <title>Currency represent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-represent/m-p/5675498#M1290333</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;I have some problem with currency numbers represent.&lt;/P&gt;&lt;P&gt;I want to convert '50 000.00' number to currency format with 3 digit places '5 000.000'. How can I do it.?&lt;/P&gt;&lt;P&gt;I have wrote some code &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
DATA: brtwr LIKE esll-brtwr.
DATA: lv_brtwr LIKE esll-brtwr.
DATA: lv_string(15) TYPE c.

WRITE brtwr CURRENCY 'CZK3' TO lv_string .
CONDENSE lv_string NO-GAPS.
REPLACE ','  WITH '.' INTO lv_string.
lv_brtwr = lv_string.
WRITE lv_brtwr.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but with no result ..., I have '5 000.00' now, how can I solve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 11:01:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-represent/m-p/5675498#M1290333</guid>
      <dc:creator>daniel_duras2</dc:creator>
      <dc:date>2009-06-10T11:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Currency represent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-represent/m-p/5675499#M1290334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want to increase the dicmal places,you can move the current value into the curreny field with 3 dcimals.&lt;/P&gt;&lt;P&gt;that should solve u r problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 11:10:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-represent/m-p/5675499#M1290334</guid>
      <dc:creator>former_member242255</dc:creator>
      <dc:date>2009-06-10T11:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Currency represent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-represent/m-p/5675500#M1290335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Denielek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of to tell you something about currency, the amount which gets stored in Sap Tables is always with two decimal points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depeding on how you want to display it you can use with reference to Currency key Waers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg: lv_aomunt =  50,000.00,&lt;/P&gt;&lt;P&gt;      lv_waers = 'KWD'&lt;/P&gt;&lt;P&gt;      write lv_amount currency lv_waers to lv_char.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: lv_char.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result: 5,000.000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem for you is that ur equating  string to lv_brtwr which is of type p decimal 2.&lt;/P&gt;&lt;P&gt;Hence  it will always show you 50,000.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vanessa Noronha.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vanessa Noronha on Jun 10, 2009 2:25 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vanessa Noronha on Jun 10, 2009 2:26 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 11:12:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-represent/m-p/5675500#M1290335</guid>
      <dc:creator>former_member609120</dc:creator>
      <dc:date>2009-06-10T11:12:13Z</dc:date>
    </item>
  </channel>
</rss>

