常用到的汇率Function

          CALL FUNCTION 'READ_EXCHANGE_RATE'
            EXPORTING
               client                  =  sy-mandt
               date                    =  lv_erdat
               foreign_currency        =  lv_waerk
               local_currency          =  'CNY'
               type_of_rate            =  'M'
            IMPORTING
               exchange_rate           =   exchange_rate .


lv_erdat:业务日期
lv_waerk:业务币种
exchange_rate:返回lv_waerk币种对'CNY'汇率

你可能感兴趣的:(常用到的汇率Function)