1. 示例 PARAMETERS: p_waers TYPE mseg-waers OBLIGATORY DEFAULT 'USD'.SELECT SUM( currency_conversion( amount = a~hsl, "转换的金额source_currency = b~isocd, "源货币target_currency = @p_waers, "目标货币exchange_rate_date = @sy-datum, "汇率日期exchange_rate_type = 'M', "汇率类型round = @abap_true, "是否Roundon_error = @sql_currency_conversion=>c_on_error-fail ) ) AS amount_totalFROM acdoca AS aLEFT JOIN tcurc AS b ON a~rhcur = b~waersWHERE a~rhcur = 'RMB'INTO TABLE @DATA(lt_data)UP TO 100 ROWS.cl_demo_output=>display( lt_data ). 2. 效果 转换为 USD 转换为JPY