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

Issues with the FM:UNIT_CONVERSION_SIMPLE

Neslinn
Participant
0 Likes
1,051

Hello All,

I am using the function module UNIT_CONVERSION_SIMPLE. The paramets which i have passed as below.

input = '0.001'

unit_in = EUR

unit_out = EUR

round_sign = X

Instead of getting the output as '0.001' i am getting the value as '0.000'. Kindly let me know the reason.

Thanks,

Neslin.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
702

Hi Nelsin,

The FM listed below, takes Units of measure, but no Units of currency.

Check the same and use appropriate FM.

Regards,

Shashikanth. D

Hello All,

I am using the function module UNIT_CONVERSION_SIMPLE. The paramets which i have passed as below.

input = '0.001'

unit_in = EUR

unit_out = EUR

round_sign = X

Instead of getting the output as '0.001' i am getting the value as '0.000'. Kindly let me know the reason.

Thanks,

Neslin.

3 REPLIES 3
Read only

Former Member
0 Likes
703

Hi Nelsin,

The FM listed below, takes Units of measure, but no Units of currency.

Check the same and use appropriate FM.

Regards,

Shashikanth. D

Read only

Former Member
0 Likes
702

Hello Neslin,

Use this FM CONVERT_TO_LOCAL_CURRENCY instead of using UNIT_CONVERSION_SIMPLE FM.

Best Regards.

Read only

Former Member
0 Likes
702

Hi Neslin,

Units of Measures and Units of Currency use different Function modules.

There are lots of function modules.

Try this FM CONVERT_CURRENCY_BY_RATE.

This is a simple FM used for currency conversion.

May this info helps you.

Regards.

Deepak Sharma