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

currency conversion function module

Former Member
0 Likes
1,652

hi all,

i want to change the currency to GBP so i need help regarding which standard sap function module will support for my solution.

can any one help me out, thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,019

hi Madan,

Check FM <b>CONVERT_TO_LOCAL_CURRENCY</b>

Regards,

Santosh

3 REPLIES 3
Read only

messier31
Active Contributor
0 Likes
1,019

You can use

<b>CONVERT_TO_LOCAL_CURRENCY</b>

<b>SAP Documentation for the same is as follow :-</b>

Translate foreign currency amount to local currency

An amount in local currency is calculated from a specified foreign currency amount. For this, 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. Because the ratios for the units of the currencies involved in the translation are significant for this translation, table TCURF is always read by the program, and there must be a valid entry there for the data specified. IF exchange rate fixing is defined for the exchange rate type TYPE_OF_RATE or an alternative exchange rate is defined for the currency pair, this information is transferred to the calling program.

When table TCURR is read, the foreign currency key is always taken as the first part of the key and the local currency as the second part.

Sample call-up:

CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'

EXPORTING DATE = BKPF-WWERT

FOREIGN_CURRENCY = BKPF-WAERS

LOCAL_CURRENCY = T001-WAERS

FOREIGN_AMOUNT = BSEG-WRBTR

RATE = BKPF-KURSF

TYPE_OF_RATE = 'M'

IMPORTING EXCHANGE_RATE = KURS

LOCAL_AMOUNT = BSEG-DMBTR

FOREIGN_FACTOR = FAKTOR-F

LOCAL_FACTOR = FAKTOR-L

FIXED_RATE = FIXKURS

EXCEPTIONS NO_RATE_FOUND = 4

NO_FACTORS_FOUND = 8.

Hope this helps you..

Enjoy SAP.

Pankaj Singh

Read only

Former Member
0 Likes
1,020

hi Madan,

Check FM <b>CONVERT_TO_LOCAL_CURRENCY</b>

Regards,

Santosh

Read only

Former Member
0 Likes
1,019

hi,

check these threads...

Cheers

Alfred

Reward points if it is helpful.