CALL FUNCTION ‘UNIT_CONVERSION_SIMPLE‘
EXPORTING
input = wa_items-brgew
round_sign = ‘X‘
unit_in = wa_items-gewei
unit_out = ‘TO‘
IMPORTING
output = wa_items-brgew
EXCEPTIONS
conversion_not_found = 01
division_by_zero = 02
input_invalid = 03.
时间: 2024-10-13 14:40:12