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.

Former Member
0 Likes
664

Hi All,

I need to build a report where currency is always displayed in USD, If it is in some other unit , I need to convert the same into USD as per the exchange rate,

The rule to calculate the same is as follows:

The u2018Moving Priceu2019 and u2018Standard Priceu2019 attributes used to calculate the average cost per material can be stored in different currencies in the MBEW table. All costs must be calculated in USD.

First determine the Company Code for the Plant (T001W-VKORG). Next, determine the currency for the company code (T001-WAERS). If Currency is NOT EQUAL to USD, the cost attribute must be converted to USD.

u2022 First, determine when the cost attribute was calculated to ensure the correct exchange rate is utilized to convert the currency to USD. Utilize Plant/Material combination to find costing date (KEKO-CPUDT).

u2022 Determine conversion factor (TCURR-UKURS) using the following values:

o Exchange Rate Type (TCURR-KURST) = u201CUSDXu201D

o From Currency (TCURR-FCURR) = Currency of material cost at plant determined above (T001-WAERS)

o To Currency (TCURR-TCURR) = u201CUSDu201D

Thanks,

Debrup.

2 REPLIES 2
Read only

Former Member
0 Likes
562

Hi

Try to use the fm CONVERT_TO_LOCAL_CURRENCY

Max

Read only

0 Likes
562

u can use "BAPI_EXCHANGE_RATE_GETDETAIL" to convert the currency....

Hope this helps..

Regards

Ravish