ABAP 单位转换函数

CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
        EXPORTING
          input                = wa_all-btgew
          round_sign           'X'
          unit_in              'G'
          unit_out             'KG'
        IMPORTING
          output               = wa_all-btgew
        EXCEPTIONS
          conversion_not_found 01
          division_by_zero     02
          input_invalid        03.

你可能感兴趣的:(ABAP 单位转换函数)