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 Convert inside ABAP Class ?

Former Member
0 Likes
2,517

Hi,

I see that there are lots of FM that converts a currency from one to another.

I need a Method inside a abap class that do the same!

Any clue where to search for this (i don't what to use FM....)?

//Martin

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,683

Hi Martin,

Do you want to try out CL_REEX_CURRENCY_SERVICES or CL_UA_FORMULA_CURR_CONVERTER ?

regards,

Anand Mandalika.

Hi,

I see that there are lots of FM that converts a currency from one to another.

I need a Method inside a abap class that do the same!

Any clue where to search for this (i don't what to use FM....)?

//Martin

6 REPLIES 6
Read only

Former Member
0 Likes
1,684

Hi Martin,

Do you want to try out CL_REEX_CURRENCY_SERVICES or CL_UA_FORMULA_CURR_CONVERTER ?

regards,

Anand Mandalika.

Read only

0 Likes
1,683

By the way , is there any special reason why you do not want to use an FM ?

Read only

0 Likes
1,683

Hi,

Opppsss... I can't find it... inside SE24.

//MA

Read only

0 Likes
1,683

Which version of SAP are you using ?

Read only

0 Likes
1,683

SAP_BASIS = 620 level 44

SAP_ABA = 620 level 44

SAP_APPL = 470 level 22

//MA

Read only

0 Likes
1,683

Hi,

I'm on 640. so I guess there is some stuff you get only in a later version. Are you okay with using a class that has been specifically been designed for some other application area? For example -

CL_HRPA_LOAN_COMPUTATIONS=>CONVERT_TO_LOCAL_CURRENCY

CL_HRGE_SERVICES=>CONVERT_CURRENCY

and so on...

But I advise you to strongly use the Function Modules instead. They will make more sense, semantically.

Regards,

Anand Mandalika.