<?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 Conversion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111217#M1185741</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;Give USD and INR in quotes as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY'
  EXPORTING
*   CLIENT                  = SY-MANDT
    DATE                    = sy-datum
    FOREIGN_CURRENCY        = 'USD'
    LOCAL_AMOUNT            = 1000
    LOCAL_CURRENCY          = 'INR'
*   RATE                    = 0
*   TYPE_OF_RATE            = 'M'
*   READ_TCURR              = 'X'
* IMPORTING
*   EXCHANGE_RATE           =
*   FOREIGN_AMOUNT          =
*   FOREIGN_FACTOR          =
*   LOCAL_FACTOR            =
*   EXCHANGE_RATEX          =
*   DERIVED_RATE_TYPE       =
*   FIXED_RATE              =
* 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;It doesnt give error now.&lt;/P&gt;&lt;P&gt;Hope this helps &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jayanthi.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jan 2009 08:56:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-28T08:56:51Z</dc:date>
    <item>
      <title>Currency Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111212#M1185736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;    I have a requirement where i need to convert my currency INR to USD. I used the FM '  CONVERT_TO_FOREIGN_CURRENCY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      CLIENT                  = SY-MANDT&lt;/P&gt;&lt;P&gt;      DATE                    = SY-DATUM&lt;/P&gt;&lt;P&gt;      FOREIGN_CURRENCY        = USD&lt;/P&gt;&lt;P&gt;      LOCAL_AMOUNT            = 1000&lt;/P&gt;&lt;P&gt;      LOCAL_CURRENCY          = INR&lt;/P&gt;&lt;P&gt;      RATE                    = 0&lt;/P&gt;&lt;P&gt;      TYPE_OF_RATE            = 'M'&lt;/P&gt;&lt;P&gt;      READ_TCURR              = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; But when i execute the program it says that "Field "USD" is unknown. It is neither in one of the specified tables".  How do i rectify this error please help me out. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; Can anyone tell me, in which table-field is the currency USD and INR are stored?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Abhishek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 08:50:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111212#M1185736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T08:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111213#M1185737</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 table TCURR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fields are FCURR and TCURR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currency codes maintained in TCURC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also see TCODE S_BCE_68000174 for maintaining the exchange rates&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;Edited by: Rajvansh Ravi on Jan 28, 2009 9:52 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 08:52:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111213#M1185737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T08:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111214#M1185738</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;As USD, 1000, INR are constants we need to keep them in single quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;CLIENT = SY-MANDT&lt;/P&gt;&lt;P&gt;DATE = SY-DATUM&lt;/P&gt;&lt;P&gt;FOREIGN_CURRENCY = 'USD'&lt;/P&gt;&lt;P&gt;LOCAL_AMOUNT = '1000'&lt;/P&gt;&lt;P&gt;LOCAL_CURRENCY = 'INR'&lt;/P&gt;&lt;P&gt;RATE = '0'&lt;/P&gt;&lt;P&gt;TYPE_OF_RATE = 'M'&lt;/P&gt;&lt;P&gt;READ_TCURR = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swarna Munukoti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 08:53:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111214#M1185738</guid>
      <dc:creator>former_member217544</dc:creator>
      <dc:date>2009-01-28T08:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111215#M1185739</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;   The values to these variables should be passed in single quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOREIGN_CURRENCY = 'USD'&lt;/P&gt;&lt;P&gt;LOCAL_AMOUNT = '1000'&lt;/P&gt;&lt;P&gt;LOCAL_CURRENCY = 'INR'&lt;/P&gt;&lt;P&gt;RATE = '0'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 08:55:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111215#M1185739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T08:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111216#M1185740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In table TCURR, fields FCURR and TCURR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 08:56:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111216#M1185740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T08:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111217#M1185741</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;Give USD and INR in quotes as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY'
  EXPORTING
*   CLIENT                  = SY-MANDT
    DATE                    = sy-datum
    FOREIGN_CURRENCY        = 'USD'
    LOCAL_AMOUNT            = 1000
    LOCAL_CURRENCY          = 'INR'
*   RATE                    = 0
*   TYPE_OF_RATE            = 'M'
*   READ_TCURR              = 'X'
* IMPORTING
*   EXCHANGE_RATE           =
*   FOREIGN_AMOUNT          =
*   FOREIGN_FACTOR          =
*   LOCAL_FACTOR            =
*   EXCHANGE_RATEX          =
*   DERIVED_RATE_TYPE       =
*   FIXED_RATE              =
* 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;It doesnt give error now.&lt;/P&gt;&lt;P&gt;Hope this helps &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jayanthi.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 08:56:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111217#M1185741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T08:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111218#M1185742</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 to use the fm CONVERT_TO_LOCAL_CURRENCY&lt;/P&gt;&lt;P&gt;BAPI_EXCHANGE_RATE_GETDETAIL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 08:58:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111218#M1185742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T08:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111219#M1185743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abshiek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use ur functionm module like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    EXPORTING   DATE             = BKPF-WWERT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                FOREIGN_CURRENCY = BKPF-WAERS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                LOCAL_CURRENCY   = T001-WAERS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 LOCAL_AMOUNT     = BSEG-DMBTR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 RATE             = BKPF-KURSF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 TYPE_OF_RATE     = 'M'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IMPORTING   EXCHANGE_RATE    = KURS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                FOREIGN_AMOUNT   = BSEG-WRBTR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                FOREIGN_FACTOR   = FAKTOR-F&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 LOCAL_FACTOR     = FAKTOR-L&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    EXCEPTIONS  NO_RATE_FOUND    = 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                NO_FACTORS_FOUND = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GO through the function module documenttaion of this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there u have the clear information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 08:59:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111219#M1185743</guid>
      <dc:creator>tarangini_katta</dc:creator>
      <dc:date>2009-01-28T08:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111220#M1185744</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 the table TCURC...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 09:00:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111220#M1185744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T09:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111221#M1185745</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;Maintain data in TCURR table parameter FCURR = USD, TCURR = INR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Md.Mahaboobkhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 09:02:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111221#M1185745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T09:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111222#M1185746</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;Jus try changing the code as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    date                    = sy-datum&lt;/P&gt;&lt;P&gt;    foreign_currency        = 'USD'&lt;/P&gt;&lt;P&gt;    local_amount            = '1000.00'&lt;/P&gt;&lt;P&gt;    local_currency          = 'INR'&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   FOREIGN_AMOUNT          = l_amount         .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only the above are mandatory . Also specify your fields within quotes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 09:06:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111222#M1185746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T09:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111223#M1185747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swarna, &lt;/P&gt;&lt;P&gt;    My question is partly is answered, I have given the values in quotes. But when i execute the program it does not retrieve any value. Where is the value of USD is being stored?.. Do i have to take another variable to store the USD value and print it?. &lt;/P&gt;&lt;P&gt;  How do i do it? Can you please explain me with an example.&lt;/P&gt;&lt;P&gt; Please help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Abhishek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 09:13:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111223#M1185747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T09:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111224#M1185748</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 table TCURR for exchange rate&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, 28 Jan 2009 09:14:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111224#M1185748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T09:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111225#M1185749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martina,&lt;/P&gt;&lt;P&gt;  Do i have to declare the field I_amount, as you suggested. If so, what type of declaration should be given to the variable I_amount. ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have already taken a variable and declared it in importing-foreign amount. And i printed it at the end of the program. But the value retrived in the output is 0.00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i rectify this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: abhishek  sunkari on Jan 28, 2009 10:18 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 09:16:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111225#M1185749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T09:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111226#M1185750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  you can also use the below FM for the conversion &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'CRM_CONVERT_CURRENCY'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      iv_exch_rate_date       = sy-datlo&lt;/P&gt;&lt;P&gt;      iv_source_currency      = 'INR'&lt;/P&gt;&lt;P&gt;      iv_local_currency       = 'INR'&lt;/P&gt;&lt;P&gt;      iv_target_currency      = 'USD'&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      cv_value                = lv_amnt&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      conversion_not_possible = 1&lt;/P&gt;&lt;P&gt;      OTHERS                  = 2.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 INTO lv_dummy.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the value of lv_amnt, will be in INR before the FM is called &amp;amp; it will be converted to USD after execution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 10:39:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111226#M1185750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T10:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111227#M1185751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY'
EXPORTING
CLIENT = SY-MANDT
DATE = SY-DATUM
FOREIGN_CURRENCY = USD
LOCAL_AMOUNT = 1000
LOCAL_CURRENCY = INR
RATE = 0
TYPE_OF_RATE = 'M'   "--&amp;gt; Error may be because of this x-rate type
READ_TCURR = 'X'
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check in TCURR what is the value in KURST (Exchange rate type) for the curr. conversion from INR --&amp;gt; USD. I doubt it is not 'M'. I will ask you to check in TCURR and modify your code accordingly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY'
EXPORTING
CLIENT = SY-MANDT
DATE = SY-DATUM
FOREIGN_CURRENCY = USD
LOCAL_AMOUNT = 1000
LOCAL_CURRENCY = INR
RATE = 0
TYPE_OF_RATE = TCURR-KURST
READ_TCURR = 'X'
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 10:49:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111227#M1185751</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-01-28T10:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111228#M1185752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Seemanthini,&lt;/P&gt;&lt;P&gt;   Thanks a lot for the reply, i had a doubt regarding the variable 'lv_amount', i just wanted to know the declaration type. Should it be declared at the starting, if yes what should be the type of declaration.&lt;/P&gt;&lt;P&gt;Please help me out!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 11:54:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111228#M1185752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T11:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111229#M1185753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  DATA : lv_amnt  TYPE crmt_net_value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just convert whatever amount type you have to lv_amnt type before calling conversion &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;   Seema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 11:58:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111229#M1185753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T11:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111230#M1185754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Suhas, &lt;/P&gt;&lt;P&gt;    Thanks a lot for the reply, you were rite, the problem mite have occurred due to the "TYPE_OF_RATE".&lt;/P&gt;&lt;P&gt;Its default value is 'M' always. Like you said i have checked the KURST field value in TCURR table for INR. But am afraid there no KURST value maintained for INR in TCURR, which means that the currency cannot be converted from or into INR. If i consider any other currency in FM i used to be dipalyed in USD, The output value is being displayed, but if i take INR, the value shows as 0. &lt;/P&gt;&lt;P&gt;    Can you suggest me in solving this query. Can you give the reason or the process to check the INR value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Abhishek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 12:33:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111230#M1185754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T12:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111231#M1185755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You got to have the x-rate maintained in TCURR table else this FM will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you should consult with your functional team regarding this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 12:48:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/5111231#M1185755</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-01-28T12:48:01Z</dc:date>
    </item>
  </channel>
</rss>

