<?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: Function module CONVERT_TO_FOREIGN_CURRENCY does not work in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990732#M1162570</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jolly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Yes for these details it has 40.5. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when i change the input as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLIENT                          200
DATE                            13.01.2009
FOREIGN_CURRENCY                INR
LOCAL_AMOUNT                    10000
LOCAL_CURRENCY                  USD
RATE                            0
TYPE_OF_RATE                    M
READ_TCURR                      X&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it correctly picks EXCHANGE_RATE = 48.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain why ? FOREIGN_CURRENCY is supposed to be USD ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jan 2009 09:58:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-13T09:58:36Z</dc:date>
    <item>
      <title>Function module CONVERT_TO_FOREIGN_CURRENCY does not work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990725#M1162563</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;&lt;/P&gt;&lt;P&gt; I am using function module CONVERT_TO_FOREIGN_CURRENCY for converting INR to USD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; My input data is below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLIENT                          200
DATE                            13.01.2009
FOREIGN_CURRENCY                USD
LOCAL_AMOUNT                    10000
LOCAL_CURRENCY                  INR
RATE                            0
TYPE_OF_RATE                    M
READ_TCURR                      X&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think data needs to be picked from table TCURR where i have 3 entries for this data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MANDT KURST  FCURR   TCURR   GDATU      UKURS        FFACT       TFACT

200   M      INR     USD     79918898      48,00000           0           0
200   M      INR     USD     79919498      50,00000           0           0
200   M      INR     USD     79989898      47,00000           0           0&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the CONVERT_TO_FOREIGN_CURRENCY  does not return any value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_EXCHANGERATE_GETDETAIL gives the exchange rate details correctly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions on how to make this work. Any other settings or table to check ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: R V on Jan 13, 2009 10:08 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 08:56:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990725#M1162563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T08:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Function module CONVERT_TO_FOREIGN_CURRENCY does not work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990726#M1162564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you testing it through se37 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 09:12:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990726#M1162564</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2009-01-13T09:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Function module CONVERT_TO_FOREIGN_CURRENCY does not work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990727#M1162565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello RV,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you write a code to text this FM? Plz paste the same here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are testing through SE37, plz scroll the screen to the extreme right, you will find the values there. Remember amounts are right justified &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The param READ_TCURR reads exchange rate from table TCURR. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the same with your params &amp;amp; it works for me &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Jan 13, 2009 10:14 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 09:14:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990727#M1162565</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-01-13T09:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Function module CONVERT_TO_FOREIGN_CURRENCY does not work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990728#M1162566</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;you can try these CONVERT_AMOUNT_TO_CURRENCY&lt;/P&gt;&lt;P&gt;CONVERT_TO_FOREIGN_CURRENCY &lt;/P&gt;&lt;P&gt;CONVERT_TO_LOCAL_CURRENCY&lt;/P&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;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aakash Banga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 09:22:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990728#M1162566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T09:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Function module CONVERT_TO_FOREIGN_CURRENCY does not work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990729#M1162567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ...if u r trying using se37...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put the date as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE : 01132009&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and execute..scroll to rt ..ull get output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 09:26:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990729#M1162567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T09:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Function module CONVERT_TO_FOREIGN_CURRENCY does not work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990730#M1162568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Sorry i did not check properly and directly executed from SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; One thing is that EXCHANGE_RATE returns 40.50000 but according to my TCURR tablei don't have this entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The latest entry is the first record on 01.11.2008  (48,00000). Why does it pick 40.5 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 09:31:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990730#M1162568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T09:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Function module CONVERT_TO_FOREIGN_CURRENCY does not work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990731#M1162569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u check the data in TCURR table with&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;KURST = M&lt;/P&gt;&lt;P&gt;FCURR = USD&lt;/P&gt;&lt;P&gt;TCURR = INR ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 09:39:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990731#M1162569</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2009-01-13T09:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Function module CONVERT_TO_FOREIGN_CURRENCY does not work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990732#M1162570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jolly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Yes for these details it has 40.5. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when i change the input as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLIENT                          200
DATE                            13.01.2009
FOREIGN_CURRENCY                INR
LOCAL_AMOUNT                    10000
LOCAL_CURRENCY                  USD
RATE                            0
TYPE_OF_RATE                    M
READ_TCURR                      X&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it correctly picks EXCHANGE_RATE = 48.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain why ? FOREIGN_CURRENCY is supposed to be USD ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 09:58:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990732#M1162570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T09:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Function module CONVERT_TO_FOREIGN_CURRENCY does not work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990733#M1162571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you read the documentation of the FM, it says.&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&lt;/P&gt;&lt;P&gt; the first part of the key and the local currency as the second part. If&lt;/P&gt;&lt;P&gt; this entry is not in the table, the key is re-read in reverse sequence."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when you provide data like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CLIENT                          200
DATE                            13.01.2009
FOREIGN_CURRENCY                INR
LOCAL_AMOUNT                    10000
LOCAL_CURRENCY                  USD
RATE                            0
TYPE_OF_RATE                    M
READ_TCURR                      X
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data is read from the table TCURR with FCURR = INR ( Foreign_currency) and TCURR = USD (Local Currency)&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;Aj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 10:21:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990733#M1162571</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2009-01-13T10:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Function module CONVERT_TO_FOREIGN_CURRENCY does not work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990734#M1162572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jolly and Saha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: R V on Jan 13, 2009 11:25 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 10:25:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-convert-to-foreign-currency-does-not-work/m-p/4990734#M1162572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T10:25:14Z</dc:date>
    </item>
  </channel>
</rss>

