function COS6_QUANTITY_ROUND
hola,
provar esta funcion para redondear hacia arriba, con la unidad de medida deseada:
CALL FUNCTION 'COS6_QUANTITY_ROUND'
EXPORTING
i_quantity = v_cantidad
i_unit = v_meins
IMPORTING
e_quantity = v_cantidad
EXCEPTIONS
unit_not_defined = 1
OTHERS = 2.
|