‎2007 Oct 11 6:28 PM
Hi Experts,
I have to use convert the value of a field from units 'HL' to 'HHL'. According to me, we can use the function module CONVERSION_FACTOR_GET. However, i am not able to know how to use it?
Can anyone explain how to use the FM, i mean what should be the importing and exporting parameter.... For recap, i need to convert HL to HHL, for example 3 HL to 0.03 HHL.
Please help.
Rewards for sure!
Thanks in advance.
Aksh
‎2007 Oct 11 6:49 PM
Since you really are just going to different increments of the same type of unit, you could just divide your HL units by 100 to get your HHL units. The function module CONVERSION_FACTOR_GET is used to convert between different types of units. You can look at table T006 to see what units it will handle. I hope this helps.
- April King
‎2007 Oct 11 6:39 PM
Hi
If it is Unit Conversion better use the following Fun modules
UNIT_CONVERSION_SIMPLE
MD_CONVERT_MATERIAL_UNIT
goto SE37 first and execute them by entering some value and then use it in the code after confirming it
Regards
Anji
‎2007 Oct 11 6:49 PM
Since you really are just going to different increments of the same type of unit, you could just divide your HL units by 100 to get your HHL units. The function module CONVERSION_FACTOR_GET is used to convert between different types of units. You can look at table T006 to see what units it will handle. I hope this helps.
- April King