09-14-2015 6:30 AM
Hi ,
I have one requirement for Quantity Conversion .I am using FM: ' MD_CONVERT_MATERIAL_UNIT' .For particular Unit it rises exception : 'Error_in_application'.
CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'
EXPORTING
I_MATNR = LS_VBRP-MATNR
I_IN_ME = LS_VBRP-VRKME
I_OUT_ME = LS_VBRP-MEINS
I_MENGE = LS_VBRP-FKIMG
IMPORTING
E_MENGE = LS_FINAL-BASE_QUAN
EXCEPTIONS
ERROR_IN_APPLICATION = 1
ERROR = 2
OTHERS = 3.
09-14-2015 7:29 AM
Dear Mahesh,
please check conversion factor is maintained or not for the units of I_MENGE w.r.t base unit for the material you are getting error. Also check in mm02 tcode additional data ->units of measure tab.
09-14-2015 8:51 AM
Hi Mahesh,
Exception ERROR_IN_APPLICATION is triggered if the conversion factor cannot be determined OR if the calculated quantity in Base Unit of measurement is higher than "9999999999".
Regards
Oliver