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

Exchange rate function

Former Member
0 Likes
1,226

Hi!

I would know if there is a similar function like BAPI_EXCHRATE_CREATEMULTIPLE or if this function really exists in R/3 4.0 version . I´ll reward, I promise!

Thanks in advance,

Éder

2 REPLIES 2
Read only

anversha_s
Active Contributor
0 Likes
508

hi eder,

it realy exists.

other FM are BAPI_EXCHRATE_GETCURRENTRATES

and

BAPI_EXCHRATE_GETLISTRATETYPES

********************

chk this also

*****************

CALL FUNCTION 'READ_EXCHANGE_RATE'

EXPORTING

DATE = SY-DATUM

FOREIGN_CURRENCY = L_CURR

LOCAL_CURRENCY = P_WAERK

IMPORTING

EXCHANGE_RATE = V_RATE

EXCEPTIONS

NO_RATE_FOUND = 1

NO_FACTORS_FOUND = 2

NO_SPREAD_FOUND = 3

DERIVED_2_TIMES = 4

OVERFLOW = 5

ZERO_RATE = 6

OTHERS = 7.

IF SY-SUBRC <> 0.

ENDIF.

X_CURR-CURR = L_CURR.

X_CURR-RATE = V_RATE.

APPEND X_CURR TO IT_CURR.

L_VALUE = L_VALUE * V_RATE.

**************************************

another fm - >CALCULATE_EXCHANGE_RATE

*************************************

rgds

anver

Message was edited by: Anversha s

Read only

Former Member
0 Likes
508

Hi Anver!

I just want to make sure about this, I´ll need to do a downgrade of a program made in the 4.6C version, and this program use this BAPI...But if this BAPI really exists this information helps me...

Thank you!