<?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 format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/1685538#M301881</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;See the Table TCURT for currency types&lt;/P&gt;&lt;P&gt;There u can see the currency type for european countryies which u have to make reference while declaring the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs&lt;/P&gt;&lt;P&gt;Manas Ranjan Panda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Nov 2006 14:29:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-14T14:29:06Z</dc:date>
    <item>
      <title>currency format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/1685537#M301880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have a requirement of formating currency field to europe currency field, but i have no idea about the format, i know it is project specific, but it will be greatful if any one can help, where can i find it, is there any table regarding that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 14:26:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/1685537#M301880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-14T14:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: currency format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/1685538#M301881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;See the Table TCURT for currency types&lt;/P&gt;&lt;P&gt;There u can see the currency type for european countryies which u have to make reference while declaring the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs&lt;/P&gt;&lt;P&gt;Manas Ranjan Panda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 14:29:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/1685538#M301881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-14T14:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: currency format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/1685539#M301882</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;check this it may help you......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
       EXPORTING
*    CLIENT                  = 001
        DATE                    = sy-datum
         FOREIGN_CURRENCY        = wa1-WAERS " here you need to declare your foreign currency i.e USD
         LOCAL_CURRENCY          = TCURR-FCURR
         FOREIGN_AMOUNT          = wa1-DMBTR " here you need to declare your amount field.
*    RATE                    = tcurr-ukurs
        TYPE_OF_RATE            = 'M'        " check this also the average rate
*    READ_TCURR              = 'X'
      IMPORTING
        EXCHANGE_RATE           = tcurr-UKURS
*    FOREIGN_FACTOR          =
        LOCAL_AMOUNT            = wa1-TOTAL  " this is the field where the converted amt has to be displayed.
*    LOCAL_FACTOR            =
*    EXCHANGE_RATEX          =
*    FIXED_RATE              =
*    DERIVED_RATE_TYPE       =
*  EXCEPTIONS
*    NO_RATE_FOUND           = 1
*    OVERFLOW                = 2
*    NO_FACTORS_FOUND        = 3
*    NO_SPREAD_FOUND         = 4
*    DERIVED_2_TIMES         = 5
*    OTHERS                  = 6
               .
 IF SY-SUBRC &amp;lt;&amp;gt; 0.
** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
**         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Translate foreign currency amount to local currency&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An amount in local currency is calculated from a specified foreign currency amount.&lt;/P&gt;&lt;P&gt; For this, you may either specify the translation rate manually (Parameter RATE) &lt;/P&gt;&lt;P&gt;or have the system determine it from table TCURR on the basis of the rate type, date and currency key.&lt;/P&gt;&lt;P&gt; Because the ratios for the units of the currencies involved in the translation are significant for this translation,&lt;/P&gt;&lt;P&gt; table TCURF is always read by the program, and there must be a valid entry there for the data specified. IF exchange rate fixing is defined for the exchange rate type TYPE_OF_RATE or an alternative exchange rate is defined for the currency pair, this information is transferred to the calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When table TCURR is read, the foreign currency key is always taken as the first part of the key and the local currency as the second part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if hlped pls mark points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 14:30:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/1685539#M301882</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-14T14:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: currency format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/1685540#M301883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi  venkat , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CHECK THIS CODE ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: num1 TYPE p  DECIMALS 4 VALUE '12.3456',
      num2 TYPE p  DECIMALS 0 VALUE '123456'.
 
SET COUNTRY 'US'.
 
WRITE: 'USD', num1 CURRENCY 'USD', num2 CURRENCY 'USD',
           / 'BEF', num1 CURRENCY 'BEF', num2 CURRENCY 'BEF',
            / 'KUD', num1 CURRENCY 'KUD', num2 CURRENCY 'KUD'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can proceed like this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set the country for Europe ,, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;VIjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 14:38:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/1685540#M301883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-14T14:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: currency format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/1685541#M301884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if the currency field  is t be coverted to euro only then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can go for fm &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CURRENCY_CONVERT_TO_EURO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass the currency key of say italy ITL of table TCURX-CURRKEY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps ,&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;VIjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 14:50:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/1685541#M301884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-14T14:50:16Z</dc:date>
    </item>
  </channel>
</rss>

