Application Development 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: 

currency

Former Member
0 Kudos
94

hello SAP Gurus,

can anybody tell me what is the function module to cinvert local currency into another currency?

and can u tell me the example how we can use this ?

Thank you very much.

Regards,

Vijaya.

1 ACCEPTED SOLUTION

peter_ruiz2
Active Contributor
0 Kudos
67

hi,

CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY'

EXPORTING

date = sy-datum

foreign_currency = 'USD'

local_amount = 1000

local_currency = 'PHP

READ_TCURR = 'X'

IMPORTING

EXCHANGE_RATE = v_rate

FOREIGN_AMOUNT = v_amount

EXCEPTIONS

NO_RATE_FOUND = 1

OVERFLOW = 2

NO_FACTORS_FOUND = 3

NO_SPREAD_FOUND = 4

DERIVED_2_TIMES = 5

OTHERS = 6.

regards,

Peter

Edited by: Peter Ruiz on Jun 25, 2008 8:48 PM

7 REPLIES 7

peter_ruiz2
Active Contributor
0 Kudos
68

hi,

CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY'

EXPORTING

date = sy-datum

foreign_currency = 'USD'

local_amount = 1000

local_currency = 'PHP

READ_TCURR = 'X'

IMPORTING

EXCHANGE_RATE = v_rate

FOREIGN_AMOUNT = v_amount

EXCEPTIONS

NO_RATE_FOUND = 1

OVERFLOW = 2

NO_FACTORS_FOUND = 3

NO_SPREAD_FOUND = 4

DERIVED_2_TIMES = 5

OTHERS = 6.

regards,

Peter

Edited by: Peter Ruiz on Jun 25, 2008 8:48 PM

Former Member
0 Kudos
67

Hi,

Try this function module.

UNIT_CONVERSION_SIMPLE

SORRY IT IS FOR UNIT CONVERSION

Edited by: Ravi Kumar on Jun 25, 2008 2:55 PM

former_member181995
Active Contributor
0 Kudos
67

Vijaya,

use FM:

CURRENCY_CONVERT

and read its documentation.

Amit.

Former Member
0 Kudos
67

Hello,

Use the function module...

CONVERT_TO_FOREIGN_CURRENCY

You have a good documentation maintained for it..check in T-code se37.

Hope it is useful.

Regards,

Bhumika

former_member705122
Active Contributor
0 Kudos
67

Hi,

go through this links:

Regards

Adil

Former Member
0 Kudos
67

hi

u can use any one of this

FM

HR_CONVERT_TO_LOCAL_CURRENCY

CONVERT_COUNTRY_CURRENCY

<REMOVED BY MODERATOR>

Cheers

Snehi

Edited by: Alvaro Tejada Galindo on Jun 25, 2008 4:35 PM

Former Member
0 Kudos
67

hi,

FM: CONVERT_TO_LOCAL_CURRENCY

Otherwise go to se37 and check ConvertCurrency and search others

do rewards