<?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 Program for function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-for-function-module/m-p/3603479#M867905</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;Can anyone give a simple program of using the function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Convert_to_local_currency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;simple codes only ,I need to understand the function of that module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Mar 2008 13:00:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-26T13:00:27Z</dc:date>
    <item>
      <title>Program for function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-for-function-module/m-p/3603479#M867905</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;Can anyone give a simple program of using the function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Convert_to_local_currency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;simple codes only ,I need to understand the function of that module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 13:00:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-for-function-module/m-p/3603479#M867905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T13:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Program for function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-for-function-module/m-p/3603480#M867906</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;start transaction SE37, enter the function module name and click on Where used list... You will get lots of program, which uses this FM...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 13:01:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-for-function-module/m-p/3603480#M867906</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-03-26T13:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Program for function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-for-function-module/m-p/3603481#M867907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check This COde&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Report z_test.
data v_amnt type wrbtr.
data v_amnt1 type wrbtr.

move '1000' to v_amnt.


CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
  EXPORTING
*   CLIENT                  = SY-MANDT
    date                    = sy-datum
    foreign_amount          = v_amnt
    foreign_currency        = 'EUR'
    local_currency          = 'INR'
*   RATE                    = 0
*   TYPE_OF_RATE            = 'M'
*   READ_TCURR              = 'X'
 IMPORTING
*   EXCHANGE_RATE           =
*   FOREIGN_FACTOR          =
   LOCAL_AMOUNT            = v_amnt1
*   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;Reward If Helpful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandipan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sandipan Ghosh on Mar 26, 2008 6:37 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 13:06:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-for-function-module/m-p/3603481#M867907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T13:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Program for function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-for-function-module/m-p/3603482#M867908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;got some related answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 13:53:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-for-function-module/m-p/3603482#M867908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T13:53:32Z</dc:date>
    </item>
  </channel>
</rss>

