abap单位转换函数 abap单位转换函数 ABAP系统提供了CONVERT_TO_LOCAL_CURRENCY和CONVERT_TO_FOREIGN_CURRENCY两个函数来进行币种转换,CONVERT_TO_LOCAL_CURRENCY用于将外位币转换成本位币,CONVERT_TO_FOREIGN_CURRENCY用于将本位币转换成外位币。©2022 Baidu |由 百度智能云 提供计算服务 | 使用百度前必读 | 文库...
BAPI_CURRENCY_CONV_TO_INTERNAL:转换为数据库中内部存储金额 BAPI_CURRENCY_CONV_TO_EXTERNAL:转换成外部的实际金额 CONVERT_TO_LOCAL_CURRENCY:自动将最近时间多的汇率作为转换的汇率 OB07、OB08:维护各币种之间的汇率 CONVERT_TO_FOREIGN_CURRENCY是将外币转换为本位币 CONVERT_TO_LOCAL_CURRENCY是将本位币转换为其他...
需要调用函数转换,再进行汇率转换3DATA:for_curTYPEwaers,4for_amTYPEukm_comm_actual_item,5loc_curTYPEwaers,6loc_amTYPEukm_comm_actual_item.78loc_cur ='CNY'.9for_cur ='USD'.10for_am ='123'.1112for_am = for_am *100.1314CALLFUNCTION'CONVERT_TO_LOCAL_CURRENCY'15EXPORTING16*CLIENT = SY-MA...
CONVERT_TO_LOCAL_CURRENCY:按照指定日期汇率转换金额为指定货币类型 exporting DATE = T_EKKO-BEDAT "日期 FOREIGN_AMOUNT = T_DATA-NETPR "待转换金额 FOREIGN_CURRENCY = WAERS "当前货币单位 LOCAL_CURRENCY = 'USD' "目标货币 importing LOCAL_AMOUNT = T_DATA-NETPR. "转换后金额 endif. SSF_FUNCTION_MO...
converts a OTF spool to PDF (i.e. Sapscript document) CONVERT_TO_FOREIGN_CURRENCY Convert local currency to foreign currency. CONVERT_TO_LOCAL_CURRENCY Convert from foreign currency to local currency DATE_CHECK_PLAUSIBILITY Check to see if a date is in a valid format for SAP. Works well wh...
[SAPABAP开发技术总结]数据输⼊输出转换、⼩数位单位货币 格式化 15.数据格式化、转换 15.1.数据输⼊输出转换 15.1.1.输出时⾃动转换 如果某个变量参照的数据元素所对应的Domain具有转换规则,那么在输出时(如Write输出、ALV展⽰、⽂本框中显⽰),最后显⽰的结果会⾃动发⽣转换,如参照 ekpo-...
'使用CONVERT_TO_LOCAL_CURRENCY、CONVERT_TO_FOREIGN_CURRENCY函数时,涉及到的金额输入输出参数都是采用内部金额,所以在使用这些函数时,如果是外部金额,应先将它们转换为内部金额后再传入 CALL FUNCTION ‘CONVERT_TO_LOCAL_CURRENCY‘'将一种货币兑换成另一种货币 ...
币别因子: CURRENCY_CONVERTING_FACTOR 转换CONVERT_TO_LOCAL_CURRENCY 3.屏幕参数说明 4.实现效果 5.完整代码 代码语言:javascript 复制 *&---* *& Report ZMMRTEST2 *&---* *& *&---
CONVERT_OTFSPOOLJOB_2_PDFconverts a OTF spool to PDF (i.e. Sapscript document) CONVERT_TO_FOREIGN_CURRENCYConvert local currency to foreign currency. CONVERT_TO_LOCAL_CURRENCYConvert from foreign currency to local currency DATE_CHECK_PLAUSIBILITYCheck to see if a date is in a valid format for...
/ 'after adjusting using currency decimals:', / ' from currency', p_amt1 currency p_curr1, p_curr1, '<-', p_amt1, '(', w_dec1, ')'. CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING * CLIENT = SY-MANDT DATE = pdate FOREIGN_CURRENCY = p_curr2 LOCAL_AMOUNT = p_amt1...