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

Convert USD Amount to local amount - function modules not working.

Former Member
0 Likes
519

I need to convert USD Amount to local amount using SAP standard function module.

I tried with

CALL FUNCTION 'READ_EXCHANGE_RATE',

CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' and

CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY'.

However I am not getting result

CLIENT 040

DATE 02/05/2010

FOREIGN_CURRENCY USD

LOCAL_AMOUNT 200

LOCAL_CURRENCY INR

RATE 0

TYPE_OF_RATE M

READ_TCURR X

Export parameters Value

EXCHANGE_RATE

FOREIGN_AMOUNT

FOREIGN_FACTOR

LOCAL_FACTOR

EXCHANGE_RATEX

DERIVED_RATE_TYPE

FIXED_RATE

Can you suggest what is the problem ? Thanks in advance...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
457

SAM,

check this

HR_ECM_CONVERT_CURRENCY

Thanks

Bala Duvvuri

3 REPLIES 3
Read only

Former Member
0 Likes
458

SAM,

check this

HR_ECM_CONVERT_CURRENCY

Thanks

Bala Duvvuri

Read only

Former Member
0 Likes
457

Hi,

There are some settings need to be done at functional side. Ask your FICO guy to do settings related to Exchange rate.

Edited by: Sadhna Achhra on Aug 3, 2010 8:59 AM

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
457

I am tired of saying this. For released FMs make a habit of reading the FM documentation (if available).

It is clearly stated there

... you may either specify the translation rate manually (Parameter RATE) or have the system determine it from table TCURR on the basis of the rate type, date and currency key ...

Now i think you have a lead to check why your FM is not working

Cheers,

Suhas