2013 Aug 29 10:49 AM
Hi,
I got a requirement to Convert Units for one KPI. from source i am getting different kind of Units and i need to convert that units to M3. Source Units have different Dimension ID's compared to M3.
is there any function module available to do this?
i tried with "UNIT_CONVERSION_SAMPLE" .its not working in this case may be because of different dimension ID's
any help on this?
Hi,
I got a requirement to Convert Units for one KPI. from source i am getting different kind of Units and i need to convert that units to M3. Source Units have different Dimension ID's compared to M3.
is there any function module available to do this?
i tried with "UNIT_CONVERSION_SAMPLE" .its not working in this case may be because of different dimension ID's
any help on this?
2013 Aug 29 10:52 AM
Hi Kool,
try
CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'
EXPORTING
i_matnr = itp_matnr
i_in_me = itp_unit_in
i_out_me = itp_unit_out
i_menge = ltp_menge
IMPORTING
e_menge = ltp_menge
EXCEPTIONS
error_in_application = 1
error = 2
OTHERS = 3.
Regards,
Roy
2013 Sep 10 8:22 AM
Hi Roy,
Thanks for reply
i tried with the above code but it is not accepting the conversion when the units belongs to different dimension.
in my case if it is in a different dimension also i need to do the conversion.
any help on this?
2013 Sep 23 10:57 AM
Hi Kool,
sorry for the late reply, but my daughter got born in the meantime!
How can you go from one dimension to the other? I have seen my share of Star Trak, but we are not there yet in this era . I mean how on earth can you convert from meters to cubic meters for instance?
Roy
2013 Sep 18 11:46 AM
Hi,
Anybody has idea about business content object " 0TM_VOL - Conversion to Cubic meter" . did it convert if the units are in different dimension?
i cannot install in my firm to check so, pls help me
2013 Sep 18 12:11 PM
Which kind of unit are you converting ?
Regards,
Raymond