Problem about currency conversion
HI,
I have added one field KWERT from KONV to copa data source.Then value is coming in USD.
I want currency conversion means i want value into EUR and INR .
SO please tell me how to write code for currency conversion?
Thanks
Regards
Devesh Babu
Hi,
Create Currency Translation Type
T-code for Creating Currency Translation Type in BI 7.0 is RSCUR.
Select Source and Target Currency.
Give Time Reference.
For the Currency translation to take place in the Business Explorer you must have already created a currency translation type.
Currency Translation in Business explorer can be done in two ways:
Currency translation in query definition.
Currency translation in the executed query.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2056ef93-2004-2d10-21ae-f973bb48d7a1?QuickLink=index&overridelayout=true
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0d5bf96-b19b-2c10-e3b6-e2f12a3de99a?QuickLink=index&overridelayout=true u2013 currency concersion
Regards,
rvc
Similar Messages
-
Problem in currency conversion rate
Dear Experts,
I'm facing a problem in client place , here when the Sales invoice is posted it shows wrong currency conversion rate, whearas In excise invoice its showing correct conversion rate which I maintained at OB08. In customer master also exchange rate given correct one.
Plz guide me a solution.Can you give us more details?
-
Problem in Currency Conversion of Labour costs
Hi All,
In my system i have some MOs where object currency and controlling area currency are different ..
Example : Our Controlling area currency in USD and MO is created in EUR .., Now when we select object currency and controlling area currency in costing tab of MO , do a factor of EUR to USD of costs then for labour plan/actual costs it is taking different conversion rate... this is not matching with the latest entry in TCURR Table .. for material and services it is matching with the latest entry ... not sure why it is happening in this way . We maintain rate in KP26 for activity type in USD [controlling area currency]and I would like to know if any one has ever faced this type of issue ? if yes what is the solution ..
Thanks in Advance
Regards
Pushpa KHi ,
regrets for late reply ... , in our project normally business updates the exchange rates and they do it monthly .. but while calculation is it not taking latest valid rate as per TCURR Table it is taking some other rate and somethings these exchange rates match with some rate of 2009 .. but not always .. , i would like to know whether you had faced this issue ever .. if yes then let me know the solution ..
regrds
pushpa -
PROBLEM WITH CURRENCY CONVERSION IN ALV
HI..
When iam trying to convert currency field from one currency to
another (eg: usd to inr) iam getting error.
iam using the fm 'convert_to_local_currency'.
i want to display both the coloumns i.e usd,inr in the same grid.
help me....
thanks.Rk,
Pass all these parameters.
CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
EXPORTING
* CLIENT = SY-MANDT
date = p_ekko_bedat
foreign_amount = p_i_po_info_ntval
foreign_currency = p_ekko_waers
local_currency = r_buk-waers
* RATE = 0
type_of_rate = 'M'
* READ_TCURR = 'X'
IMPORTING
* EXCHANGE_RATE =
* FOREIGN_FACTOR =
local_amount = p_i_po_info_ntval
* LOCAL_FACTOR =
* EXCHANGE_RATEX =
* FIXED_RATE =
* DERIVED_RATE_TYPE =
EXCEPTIONS
no_rate_found = 1
overflow = 2
no_factors_found = 3
no_spread_found = 4
derived_2_times = 5
OTHERS = 6
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF. -
Problem in currency conversion
hi to all,
help me in this issue
READ TABLE IT_IN WITH KEY 'MHND-DMSHB'.
CHECK SY-SUBRC = 0.
WRITE IT_IN-VALUE TO AMOUNT.
when the value is mhnd-dmshb it is giving correct value whenit is paased to it_in_value it is chenged to ome other pattern related to customer country. ie 5,000.00
is ther indata base but it is changing to 5.000,00
how to get correct value from the table
thanks in advance
kiran kumarhi vikrath it is not matter of setting its dunnning procedure we r doing in that it is stopping at these non europian customers and giving error as more than two decimals.so plz suggest possible solution to set it for both europe as well as others,.
thanks in advance
kiran kumar
Message was edited by: kiran kumar -
Problems about SQL (conversion to a form that Oracle can understand)
how can I convert this SQL into a form that Oracle can understand??
Select Temp.Country_name, number1
from (Select L.CID, C.country_name, count(*) as number from Leagues L, Countries C
where L.cid = C.cid and L.season = 'Autumn'
Group By L.CID, C.country_name) AS Temp
where number1 = (Select MAX(Temp. number1) from Temp)
ORDER BY Temp.Country ASC;
this query is to find the country that held the maximum number of leagues in "Autumn". Display the country_name and number. Sort the result according to country_name in alphabetical order and it should be allowed in SQL/92.
relational schema of Leagues ( LID(PRIMARY KEY), LEAGUE NAME, CHAMPION_TID, YEAR, SEASON, CID)
COUNTRIES (CID, COUNTRY_NAME, FOOTBALL_RANKING)
Thank You.Hi,
Welcome to the forum!
Sorry, I don't know what's allowed in SQL/92.
This works in Oracle 9 (and up) and doesn't rely on anything that I know is an Oracle-specific feature:
WITH country_summary AS
SELECT c.country_name
, COUNT (*) AS country_total
FROM leagues l
JOIN countries c ON c.cid = l.cid
WHERE l.season = 'Autumn'
GROUP BY c.country_name
-- , c.cid -- needed only if country_name is not unique
SELECT *
FROM country_summary
WHERE cnt = (
SELECT MAX (cnt)
FROM country_summary
;Here's another way, which works in Oracle 8.1 (and up):
SELECT *
FROM (
SELECT c.country_name
, COUNT (*) AS country_total
, RANK () OVER (ORDER BY COUNT (*) DESC) AS rnk
FROM leagues l
, countries c
WHERE c.cid = l.cid
AND l.season = 'Autumn'
GROUP BY c.country_name
-- , c.cid -- needed only if country_name is not unique
WHERE rnk = 1
;By the way, do you find it easier to read and understand code when it's formatted like the examples above, or as you posted it?
Help the people who want to help you. Always format your code. When posting any formatted text on this site, type these 6 characters:
\(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.
Edited by: Frank Kulash on Nov 4, 2010 10:35 AM
Revised 2nd option, because Oracle 8.1 can't use ANSI join syntax. -
I have a question regarding currency conversion variable.
We have USD and CAD currencies in BW. I created a currency conversion variable in the properties of a key figure using average rate for current date (0MEANTODAY) and that variable was working fine for a long time. Now I noticed that variable got corrupted in BWD but still works in BWQ and BWP systems. I can see in BWD that variable has nothing in a Variable Represent box and Ready for Input checkbox is not checked. It doesnt let me to fix or repair this variable. I cannot run any existing queries in BWD that use this variable. The error message is Variable 0MEANTODAY is not permitted for the target currency
I created another currency conversion variable that works in BWD. I know it is ok to have multiple variables for a dimension, lets say Cal Year/Month has a number of variables. I am not sure whether it is allowed to have multiple currency conversion variables and use different currency conversion variables in different queries. We have about 40 queries that use old currency conversion variable in BWP. If Ill move new query with a new currency conversion variable to BWP, will it cause any problems for the existing reports that use an old variable? I want to know whether it will present a problem running 40 reports that are already in prod besides the fact it will be inconsistent for a while until Ill switch all reports to use a new variable.
I dont know why that variable got corrupted. A few weeks ago basis applied some patches in BWP and copied it to BWQ and BWD systems but I am not sure that caused a problem.
I am relatively new to BW and will very much appreciate any help. I havent done transport to production for more that a week and cannot wait any more.
Thanks,
Polina
BWD DEV; BWQ QA and BWP - ProductionI was dealing with this problem for more than a week. Finally I got help from SAP today. As it was explained to me, we were using very old version of BW front end (part of SAP GUI) which became incompatible with the new patches we applied in BWP and copied to BWQ and BWD. Basically, I was told to upgrade BW front end that caused problems especially in the Variable Wizard area.
I repaired the currency conversion variable and move it to production. So far all reports run ok in production.
If anybody will have problems with currency conversion variables, please check your front end version.
Thanks. -
Currency Conversion is not happenig in webform
Hi,
I have created three more members in period dimension along with BegBalance and YearTotal.
My period hierarchy looks like this.
Period
BegBalance
YearTotal
Q1
Q2
Q3
Q4
2008 Actual thru Sept (Formula: = Actual->Q1 + Actual->Q2 + Actual->Q3;)
Estimated Oct-Dec 2008 (Formula: = Budget->Q4;)
Estimated Total Cost 2008 (Formula: = "2008 Actual thru Sept" + "Estimated Oct-Dec 2008 ";)
First tell me can we craete more mebers like this in Perion dimension?
I have created the above members and tagged a formula to it as shown in braces.
Now my problem is data is coming for local currency only. When i change my currency, YearTotal members are converting but these newly added members are not converting and showing blank fileds.
My doubt is can we add extra members like above in period dimension?
Whether currency conversion happens to formula tagged members also?
If yes, what could be the problem in my scenario?
Thanks,
NaveenNaveen,
I suspect that your currency conversion business rule is excluding these new members. It was probably created before the new members were added. (I don't have a standard FX conversion rule in front of me, but I think it fixes on specific time periods - I could be wrong. ) You can either:
1) Make sure your new Period members are in fact included in the currency conversion business rule and re-run that script.
2) Make your new time period members dynamic. (and not have to worry about currency conversion and what calc's first (your new members vs. the FX conversion))
I would try #2 first, as it's a quick fix. Just switch the data storage, refresh the cube, and re-test.
I assume you have Period and Accounts as Dense, with the remainder of your dimensions Sparse. Is this correct?
Let me know how it goes.
Hope this helps,
- Jake -
Hi guys,
I’m having performance problems with currency conversion script. Suddenly, the script is taking too long to run. I executed the script last night and today, he was still running. In my application i have about 50 currencies, but i’ve tested just with one and only with a few values to conversion. I deleted the scripts, the exchange rate table, and i create them again, refresh the database but the problem continues. If i am in a data form and run the BR to calculate currencies, everything works fine and he does the conversion with no problems.
Anyone had the same/similar problem? How do you resolved it?
All sugestions will be appreciated
Cheers
Edit: 11.1.2.1
Edited by: user12218542 on 18/Jul/2012 12:08'Quick' is a relative term. Are you sure that nothing has changed between the time of your quick calc and this time? Did you try changing any cache settings? Maybe, defrag the database using 'restructure' or level 0 export + clear data + import.
Did you check which part of the calculation takes long? You can do this by evaluating the application log to see which fix statement takes the longest and optimize the parts accordingly.
As for me, I usually create one or 2 custom dimensions for currency depending on whether users will input in local or multiple currencies. Then, with UDA on entity or other dimension, you can copy data from local to 'USD' or other reporting currency. Once data is copied, currency conversion is simple multiply/divide. -
Currency Conversion for Exchange rate type "AS02"
Hi Experts,
I am gonna post the most challenging problem (regarding currency conversion) I ever faced in my 1 year of BW Carrier.Kindly provide a solution.
There are three types of currency to be used in the query for Key Figure 0NET_VALUE (so total 3 Key Figures to be created)
1.Document currency (may be any currency)
2.Local Currency (must be EURO)
3.Global Currency (must be USD)
From Document currency to Local Currency(EURO) we are using Exchange rate Type "M" (in Conversion Type created in Trans RRC1) [There is no problem in this conversion]
Problem starts now--->
From Local Currency(EURO) to Global Currency(USD) we have to use Exchange rate type "AS02" (in conversion type to be created in RRC1)
but there is a Business requirement that currency rate should be as per the last day of the entered period;and this logic should work for the range of periods also.
Example :
we are executing query for the period 006/2006 (posting Period)
Last day of this period is 06/30/2006,
Currency rate would be as per 06/30/2006
And this currency rate should be same throughout the period 006/2006 in query
The example was for single period,but logic must be incorporated for the range of the periods.Hi..
There is no corresponding source key figure in the InfoSource for the target key figureof the InfoCube.
a. A source key figure of the same type can be assigned to the target key figure
(for example, sales revenue instead of sales quantity revenue).
If the currencies of both of the key figures are the same, no currency
translation can take place.
If the currencies are different, a translation can take place either using a
currency translation type or by simply assigning a currency.
The following table provides an overview of possible combinations with different
currencies in the source and target key figures:
if Source key figure currency is fixed , Target key figure currency is variable then Currency translation (CT) No CT
if Source key figure currency is fixed , Target key figure currency is fixed then Currency translation (CT) CT
if Source key figure currency is variable , Target key figure currency is fixed then Currency translation (CT) CT
if Source key figure currency is variable , Target key figure currency is variable then Currency translation (CT) CT or assignment
b. If there is no corresponding source key figure of the same type, then you have
to fill the key figure for the data target from a routine.
If the target key figure has a fixed currency, no currency translation is
carried out. This means that if translation is required, you have to execute
it in the routine.
If the target key figure has a variable currency, you also have to assign
a variable source currency to the routine. Using the F4 help you can
select a currency from the variable currencies in the communication
structure. You have two options:
You can select a variable currency and assign it.
You select a currency translation type and a currency into which you
wish to translate (To currency).
The To currency is, by default, the target currency if it is included in the
communication structure.
Creating a Routine for Currency Translation:
If you want to translate currencies in the update even though the currency translation is not
available for one of the above reasons, you can create a routine. Choose Routine, set the
Unit Calculation in the Routine and choose Create Routine. In the routine editor you get
the additional return parameter UNIT, the value of which is used to determine the target
1. save the query and it under role
see to it is in : Restricted and calculated key figures ---> properties of k.f
2. exeute the query
3. the currency translation --> by target currency usd choose OK
conversion type : MEANTODAY Fixed target currency current date (MT)
4. Go back to the query definition by chossing chage query ( global definiton)
5. in the context menu for % share sales vouume of incoming orders, choose properties --> formula collision --> result form this formula choose OK
Note that -
your should alos set the currency translation in the properties for the two key figures sales voule EUR , choose properties ---> currency conversion key : fixed target currency , currrent date ( MT) --> target currency : American Dollar . choose OK
<b>The translation key is a combination of different parameters that establish how the exchange rate for the translation is executed.
The parameters that determine the exchange rate are the source and the target currency, the exchange rate type and the time reference for the translation.</b>
The source currency is determined from the data record or dynamically from the master data of the specified InfoObject (currency attribute)
The target currency can either be fixed in the translation key or selected at the time of translation.
You can also use an InfoObject (currency attribute) to determine the target currency.
The exchange rate type distinguishes exchange rates that are valid in the same time frame next to each other, for example, the bid rate, ask rate or middle rate. The exchange rate types are stored and can be maintained in a central table (TCURV).
The time reference for the currency translation can be either fixed or variable
The fixed time reference can either be a fixed key date that is stored in the translation type, or be determined using the system date when executing the currency translation.
If the time reference is variable, then the point in time for the exchange rate determination comes from the value of a time characteristic (InfoObject). The reference can, for example, be the end or the start of a fiscal year or a calendar year, a period and a month or even to the exact day. It can also be determined using a customer-specific InfoObject (for example, trading day).
Currency translation in the BEx
When selecting a translation key with a fixed target currency this currency will be added automatically to the query definition
Also, you can use translation keys selecting their target currency at the time of translation. These can be applied in two different ways:
Selection of a specific target currency in the query definition (1)
Entry by variable (2)
Dynamic translation keys require input from the InfoCube !
InfoObject value will be read during query execution
Examples:
dynamic time reference (p.eg. 0CALDAY)
time characteristic
target currency determined by InfoObject (currency attribute)
characteristic which contains currency in its attribute table
the corresponding InfoObject has to be part of the InfoCube
1.Define the currency attribute in the InfoObject maintenance
The currency attribute has to be a unit InfoObject of type currency
The unit InfoObject must be an attribute of the characteristic
The currency attribute should be filled in the master data table of the corresponding InfoObject (manual maintenance or upload via InfoSource)
2.Enter the InfoObject in the translation key maintenance
Only InfoObjects with a currency attribute can be used in translation keys (p.eg. 0COMP_CODE)
At the time of currency translation the value for the source currency / target currency is then derived for every record from the master data table of the specified InfoObject
All values for a query are translated ad hoc (after having executed the query) using a translation key
Depending on the translation key a fixed target currency will be used for translation or you will be able to select the target currency
The ad hoc currency translation offers only restricted functionality (selection of translation key and target currency) compared to the currency translation in the query definition
Do not forget to create your translation keys before starting your work in the Business Explorer Analyzer
Example:
You load the following record to your InfoCube:
Company Code: 1000
Amount in Source Currency: 500,-
Source Currency: FRF
Target Currency: ?
In the Update rules, you are now using a translation key which derives the target currency from the InfoObject 0COMP_CODE. During the Update Process the target currency will then be read for Company Code 1000 from the master date table of 0COMP_CODE.
With the currency translation in the Business Explorer, the source currency can currently only be determined from the data record.
Only translation keys with a fixed exchange rate type can be used in the BEx
Translation keys with a dynamic time reference (from an InfoObject) can only be used in the query definition. It is not possible to fill the InfoObject by a variable !
Translation keys getting their target currency from a currency attribute can only be selected in the query definition
When getting the dynamic reference from an InfoObject (p.eg. 0CALDAY) the currency translation will apply to each record read from the database. That means it will use the date in this record for the currency translation.
When using a variable you will restrict the output of your query to a certain amount of data. For example, you would translate all invoices of March 11 with the translation date March 11
This means, the requirement show me all invoices in my cube in group currency, conversion date: 14.07.2001 could not be solved by a variable input for 0CALDAY
I hope this would help...
with regards,
hari -
How to move currency conversion types
Dear All
my problem is currency conversion types and fixed&target currency is showing development but in production its not showing aft i came to know i hav to move
currency conversion types to production. i checked in rscur tcode where i got this list here i cant understand which currency type i hav to move
1.0HRFIXCUR Fixed Target Currency, Current Date
0MEANDAILY Middle rate using exact days
USD_VAR usd with var rate
VAR_ALL Multiple Curencies
ZCC01 Cost Center
ZCUR_1 Target currency type
ZCUSTTR Local currency
ZNEWCUR New Currency Type
ZTEST1 Conversion currency translation
2.in development i hav seen currency variables are there but for the same i hav checkded production currency variables are not there
its mandatory to move currency variables also production
iam in bi7 sp13 actually previously its working we applied some patches in r/3 fi then only we are facing this problem
can you please help me to close this issure
thanx for allplease close this thread and see the other one...
-
Currency Conversion Error from KRW to EUR in for March 2011
Hi,
We are facing problem in Currency conversion from KRW to EUR in BW Production.
The report shows proper value for JAN, FEB 2011, but when we execute the report for March2011 it shows wrong value.
Month | BW Production Value | BW TEST Value
Jan2011 u2013 | 102,459 | 102,459
Feb2011 u2013 | 120,008 | 120,008
March2011 u2013 | 12,056,385 | 120,564
As we can see the value for BW Production for the month of March is 2 decimals higher than the value in BW test.
Regards,
Nix
Edited by: nix_mania on Apr 18, 2011 4:20 PMHi,
My problem here is that the values for JAN and FEB are correct with their decimal values but only for March it is 2 decimals higher.
Hence the TCURX table wonu2019t come into picture, since if TCURX entry was incorrect then it should show wrong values for JAN and FEB also.
When I checked the data in cubes for BW Test and Production the values for March are same still in the report I am getting the difference.
Report Output:-
March2011:-
BW Test 12,056,385
BW Production 120,564
Feb 2011:-
BW Test 120,008
BW Production 120,008
Jan2011:-
BW Test 102,459
BW Production 102,459
Regards,
Nix -
FX restatement/currency conversion
Hi all, what kind of questions should be asked to business when thinking about currency conversion using BPC fx restatement? thanks.
Hi Zack,
Take a look at this How To Guide for currency conversion:
[How to do Currency Translation for Financial Application using SAP BPC 7.0 version for Microsoft SQL Server|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d0907bdb-e908-2d10-ca9e-f67166e2147e]
You should find some useful information in the Introduction and Background sections.
You should also ask the business what their current process is.
Thanks,
John -
Hi frndz,
I am facing a problem with the currency conversion.
In my Report i have used two keyfgures.
One is directly calculating the values from R/3 side and converting into EURO.
the other one is calculating through update rule.
These teo keyfigures should have the same value.
In this update rule i have used one function module "Convert into foreign currency".
This function module is calculating the value correct for all other currency only in Korean(KRW)currency i am getting probelm.
Like R/3 side value converting in EURO in coming as
507.35
and through function module value is coming as 50,736.00.
Please if any one having this problem or any one could suggest some solution then it would be great help.
I have also tried the solution of deleting the values from SPRO but still the problem is there.
Thanks in advanceRevab,
The admin may delete the record for KRW from TCURX table.
BUT, it may affect the other applications. It should be carefully considered.
Though, after deletion end users may check if theirs applications results with regard to KRW have been changed.
If yes, then the record in TCURX may be added again.
If not, then it might be a solution. Though, not recommended.
Best regards,
Eugene -
Problem with ENTITY FX TYPE in Currency Conversion
Hi Experts,
I have a problem regarding currency translation. I tried to use the property FX_TYPE so as to use the value in this as filter in the ENTITY FX TYPE field of the currency conversion table. I want some rules to apply only to specific entities so I used this filter but what seems to be happening is that I doesn't seem to filter it. It still applies to other entities as well thus I get wrong translation. I validated it by removing all other rules except for the ones that's being used by the entity I am analyzing and my values translation is OK but when I put the other rules again, which I have already filtered to run on specific entities only using the FX_TYPE property, my translations are wrong again. Does ENTITY FX TYPE really work or I'm just missing some set up?
Thanks,
MarvinHello Martin,
Could you solve this issue, Im having the same problem.
Im trying to use this functionality but it seems that it does not apply the filter. When I run the currency convertion it stills run the business rule I have configure for all the other entities.
Best regards,
Aldrin Liendo
Maybe you are looking for
-
Hang on startup due to Ultrabay disk check
I've had trouble ejecting the superbay hard drive. It's less useful if it's not hot-swappable, but I can live with powering off and switching between it and the dvd. A program installer I have on the hd stopped working, so I figured I'd do a disk c
-
What are the Oracle development tools
Hiii, I hav just started learning about oracle...i have been given my very first task and it is about exploring oracle development tools. I have been searching about it since two days...i just need some guidance that what are the oracle development t
-
Transfer Multiple Thunderbird emails Accounts to Microsoft Outlook 2013
I am using multiple email accounts on Thunderbird in my office.Now i want to shift my mails to MS Outlook.but the problem is that MS Outlook is creating different PST files from different accounts.i want to retrieve my mails in single PST Files. I al
-
File in Root Macintosh HD Visible?
I've done a search, but can't find anything. Is it just me, or are all the files in the Root Macintosh HD now visible, whereas in Tiger all the Unix files and directories were hidden? Is this standard with Leopard, or is my install screwed up?
-
Help wanted in data conversion!
How can I translate files from an EBCDIC format to an ASCII format the purpose of which is for upload data into Oracle tables using SQL*LOADER? Thank u for your answer!