I have the following code in which I try to make a unit conversion. In my example it is from KG to LBS but I get sy-subrc=1, which is CONVERSION_NOT_FOUND I think.
This is in my development system. Does anyone know how I get the unit conversion through?
IF TRAN_STRUCTURE-meins <> TRAN_STRUCTURE-vrkme.
meng = 0.
CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
input = TRAN_STRUCTURE-kcmeng
unit_in = TRAN_STRUCTURE-meins
unit_out = TRAN_STRUCTURE-vrkme
output = meng