CALL FUNCTION 'MATERIAL_UNIT_CONVERSION'
EXPORTING
input = lv_sls_closed_qty
kzmeinh = '' "X输出为基本单位 : ''
matnr = <fs_item>-matnr
meinh = <fs_item>-ack_vrkme
* meins = 'EA'
IMPORTING
output = lv_sls_open_vrkme "-->销售单位的数量
EXCEPTIONS
conversion_not_found = 1
input_invalid = 2
material_not_found = 3
meinh_not_found = 4
meins_missing = 5
no_meinh = 6
output_invalid = 7
overflow = 8
OTHERS = 9.