ITPub博客

首页 > IT职业 > IT生活 > 每日一函數(2007/10/24)

每日一函數(2007/10/24)

原创 IT生活 作者:tolyhuang 时间:2007-10-24 16:57:18 0 删除 编辑
货币之间转换函数: READ_EXCHANGE_RATE[@more@] call function 'READ_EXCHANGE_RATE'
exporting
* CLIENT = SY-MANDT
date =
foreign_currency =
local_currency =
* TYPE_OF_RATE = 'M'
* EXACT_DATE = ' '
* IMPORTING
* EXCHANGE_RATE =
* FOREIGN_FACTOR =
* LOCAL_FACTOR =
* VALID_FROM_DATE =
* DERIVED_RATE_TYPE =
* FIXED_RATE =
* OLDEST_RATE_FROM =
* EXCEPTIONS
* NO_RATE_FOUND = 1
* NO_FACTORS_FOUND = 2
* NO_SPREAD_FOUND = 3
* DERIVED_2_TIMES = 4
* OVERFLOW = 5
* ZERO_RATE = 6
* OTHERS = 7
.
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9437124/viewspace-978408/,如需转载,请注明出处,否则将追究法律责任。

下一篇: SAP採購資訊記錄
请登录后发表评论 登录
全部评论

注册时间:2010-07-22

  • 博文量
    268
  • 访问量
    1411179