<?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 problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-problem/m-p/8280739#M1633784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi José,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in all dictionary structure and table fields you can double-clicj on any currency field and it will show you what is the related currency key CUKY field. The same applies for quantity and unit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is used for correct display with right number of decimals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ALV use dictionary structure or give reference in field catalog. With WRITE use CURRENCY addition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Sep 2011 20:06:32 GMT</pubDate>
    <dc:creator>Clemenss</dc:creator>
    <dc:date>2011-09-29T20:06:32Z</dc:date>
    <item>
      <title>Currency problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-problem/m-p/8280734#M1633779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Everyone, I´m working for a Colombian Company and I've some problems with de currency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look, when I post a document with amount for COP 1.000.000 in the document is ok, but in the table is 100.000,00 when I access this table with a ABAP program it show me 100.000,00 but when I saw a SAP standar report the amount is OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have someone fix this problem?.&lt;/P&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>Wed, 28 Sep 2011 18:39:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-problem/m-p/8280734#M1633779</guid>
      <dc:creator>former_member116198</dc:creator>
      <dc:date>2011-09-28T18:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Currency problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-problem/m-p/8280735#M1633780</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;That currency doesn't have decimals, try to check the table TCURX: here you can see how many decimals are used by a currency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a currency is not in that table it means it uses 2 decimals by default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in generally the field for amount is a numeric with 2 decimals, so if a currency doesn't need decimals, the amount is stored divided by 100, in this way SAP can also use the decimal part for this kind of amount and save the space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When an amount has to be displayed, its value is multiplied for 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A convertion routine for input/output does the action above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 18:53:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-problem/m-p/8280735#M1633780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-28T18:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Currency problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-problem/m-p/8280736#M1633781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, is there any function to convert all amounts to format * 100, something like SET COUNTRY?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 20:41:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-problem/m-p/8280736#M1633781</guid>
      <dc:creator>former_member116198</dc:creator>
      <dc:date>2011-09-28T20:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Currency problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-problem/m-p/8280737#M1633782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do you want to convert the format?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 20:51:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-problem/m-p/8280737#M1633782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-28T20:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Currency problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-problem/m-p/8280738#M1633783</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;Use de BAPI BAPI_CURRENCY_CONV_TO_EXTERNAL:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;currency = lc_waers (In your case: COP)&lt;/P&gt;&lt;P&gt;amount_internal = ln_internal_amount (Internal amount)&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;amount_external = ln_external_amount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, with the currency COP, this BAPI convert the value X into X*100.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 18:58:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-problem/m-p/8280738#M1633783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-29T18:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Currency problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-problem/m-p/8280739#M1633784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi José,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in all dictionary structure and table fields you can double-clicj on any currency field and it will show you what is the related currency key CUKY field. The same applies for quantity and unit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is used for correct display with right number of decimals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ALV use dictionary structure or give reference in field catalog. With WRITE use CURRENCY addition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 20:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-problem/m-p/8280739#M1633784</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-09-29T20:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Currency problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-problem/m-p/8280740#M1633785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same issue like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario1: here we read data from data base. so for some currencies value stored as 1.23. then we are calling BAPI, which will convert to 123. this is fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario2: here we are not reading data from data base. means until here we entered value in excel (for example) 123. then this case also BAPI will be called and which is converting into 12300. which is wrong. because calling of BAPI is in same place for both scenarios and at the same time we don't want to distinguish whether this BAPI is calling for Scenario1 or 2. and at the same time we don't want to change decimal places in currnecy table TCURX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please confirm is there anyway to achieve it. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Mar 2015 12:24:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-problem/m-p/8280740#M1633785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-14T12:24:46Z</dc:date>
    </item>
  </channel>
</rss>

