‎2008 Aug 11 3:22 PM
Hi All.
I was trying to get the value of a material from EA to KG using a function module MATERIAL_CONVERSION_UNIT with which the data is not correcting properly.
After this I tried with the other Fn Mod MD_CONVERT_MATERIAL_UNIT. But this is calculating the Net Wt of the material where as I need to have the value for the Gross Wt of a Material.
Please hel on this.
Thanks.
Ashok
‎2008 Aug 11 3:35 PM
Hi,
Double click on field type MEINS to navigate to data element, then again on domain and see that convers. routine is CUNIT. Double click on that and pop up window comes up and shows function modules used in conversion
Regards,
Nishant
‎2008 Aug 11 4:37 PM
Try this FM .It works for me so far
CALL FUNCTION 'EHSWA_490_MAT_UNIT_CONVERSION'
EXPORTING
i_matnr = <l_outtab>-matnr
i_source_value = wl_weight
i_source_unit = wl_ergei
i_target_unit = c_lb
IMPORTING
e_target_value = wl_weight.
ENDIF.
Thanks & Regards,
Vivek Gaur