<?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: currency amount data problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-amount-data-problem/m-p/2234036#M480989</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Try this below code&lt;/P&gt;&lt;P&gt; DATA: val TYPE string .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  val = amount.&lt;/P&gt;&lt;P&gt;  REPLACE ',' WITH space INTO val.&lt;/P&gt;&lt;P&gt;  REPLACE '$' WITH space INTO val.&lt;/P&gt;&lt;P&gt;  CONDENSE val.&lt;/P&gt;&lt;P&gt;  WRITE val DECIMALS 2 TO amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2007 13:31:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-03T13:31:19Z</dc:date>
    <item>
      <title>currency amount data problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-amount-data-problem/m-p/2234034#M480987</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;In FB03 to create a document if the amount is given with 5 decimal places this data stores in PAYR table wrongly coz the field PAYR-RWBTR is of curr 13 and 2 decimal places.&lt;/P&gt;&lt;P&gt;In my program when i fetch data from PAYR as this data is wrong we are getting wrong output. Is there any conversion routine avaliable to convert this to correct 2 decimal places?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;Amount entered in FB03 is 1000.120000 - US5 currency &lt;/P&gt;&lt;P&gt;but in table it is showing - 1000120.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Anil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 13:05:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-amount-data-problem/m-p/2234034#M480987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T13:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: currency amount data problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-amount-data-problem/m-p/2234035#M480988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Use the WRITE TO using the CURRY key option of the WRITE statement. It will automatically adjust the values according to the currency key of the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Hoep this helps.&lt;/P&gt;&lt;P&gt; Cheers&lt;/P&gt;&lt;P&gt; VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 13:07:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-amount-data-problem/m-p/2234035#M480988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T13:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: currency amount data problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-amount-data-problem/m-p/2234036#M480989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Try this below code&lt;/P&gt;&lt;P&gt; DATA: val TYPE string .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  val = amount.&lt;/P&gt;&lt;P&gt;  REPLACE ',' WITH space INTO val.&lt;/P&gt;&lt;P&gt;  REPLACE '$' WITH space INTO val.&lt;/P&gt;&lt;P&gt;  CONDENSE val.&lt;/P&gt;&lt;P&gt;  WRITE val DECIMALS 2 TO amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 13:31:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-amount-data-problem/m-p/2234036#M480989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T13:31:19Z</dc:date>
    </item>
  </channel>
</rss>

