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

Former Member
0 Likes
1,494

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
Read only

peter_ruiz2
Active Contributor
0 Likes
1,467

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

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.

7 REPLIES 7
Read only

peter_ruiz2
Active Contributor
0 Likes
1,468

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

Read only

Former Member
0 Likes
1,467

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

Read only

Former Member
0 Likes
1,467

Vijaya,

use FM:

CURRENCY_CONVERT

and read its documentation.

Amit.

Read only

Former Member
0 Likes
1,467

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

Read only

Former Member
0 Likes
1,467

Hi,

go through this links:

Regards

Adil

Read only

Former Member
0 Likes
1,467

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

Read only

Former Member
0 Likes
1,467

hi,

FM: CONVERT_TO_LOCAL_CURRENCY

Otherwise go to se37 and check ConvertCurrency and search others

do rewards