‎2008 Oct 14 6:38 PM
Hi ,
Can anyone please provide a FM which converts Any Unit of Measure to Base Unit of Measure for that Material.
Suppose my input is in yards or feet or KM ,it should be converted to the material's Base Unit Of Measure.
Thanks in advance,
Sudhaa........
‎2008 Oct 14 6:49 PM
Use FM MD_CONVERT_MATERIAL_UNIT for UOM conversion.
CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'
EXPORTING
I_MATNR = I_MATNR
I_IN_ME = I_MEINS " Input UOM
I_OUT_ME = LF_MEINS " Output UOM - for you BASE UOM
I_MENGE = LF_E_MENGE " Input Quantity
IMPORTING
E_MENGE = LF_I_MENGE. " Qty after Conversion
Regards,
Naimesh Patel
‎2008 Oct 14 7:04 PM
‎2008 Oct 14 7:06 PM
check the function MATERIAL_UNIT_CONVERSION
read the documentation of the function