Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

FM convert_to_local_currency

Hi experts,

i am trying to use the FM covert to local curreny to convert currency to USD. But the local amount shows up 100 times the actual. Please suggest.

Below is my code.

CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'

    EXPORTING

      date              = re_outtab_purchdoc-bedat

      foreign_amount    = re_outtab_purchdoc-netwr

      foreign_currency  = re_outtab_purchdoc-waers

      local_currency    = LV_CURR

*     RATE              = 0

*     TYPE_OF_RATE      = 'M'

*     READ_TCURR        = 'X'

    IMPORTING

*     EXCHANGE_RATE     =

*     FOREIGN_FACTOR    =

      local_amount      = re_outtab_purchdoc-NETVALC

*     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.

Former Member
Not what you were looking for? View more on this topic or Ask a question