Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to use the function module CONVERSION_FACTOR_GET?

Former Member
0 Likes
1,124

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
760

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

2 REPLIES 2
Read only

Former Member
0 Likes
760

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

Read only

Former Member
0 Likes
761

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