Currency Conversion - YTD - for experts
Hello,
I have following scenario in BEx.
YTD BEx variable with "From" and "To" value.
Example: User enters: 02.2007 - 05.2007 and wants to convert in USD.
The requirement is that all months (02.2007, 03.2007, 04.2007 and 05.2007)
are converted with the currency conversion of 05.2007 (in this example).
In rrc2 I saw as time reference: "Fixed time reference" and "Time Base from variable".
Where can I create a variable for "Time base from variable"?
In cube I have 0FISCPER and 0CALMONTH.
Any idea?
Create a step 2 OLAP variable in cmod based on Fiscal Period - this then gets the data from the To section of the YTD BEx variable
Then use this variable in Time Base from Variable
Similar Messages
-
Currency Conversion issue for YTD model
Hello,
Currently our Client is using YTD (year to date) model to maintain data into BPC 7.5NW, and planning to use BPC for currency conversion from LC to USD. They are not converting the values in Transactional system. When performing this all Balance sheet accounts will be using YTD model for conversion, but income statement accounts should be using Periodic values for conversion.
We have two different Entity FX types: one is USDFNC - USD functional and NUSDFNC - Non USD functional. One of the differences between these two FX types is CTA account, USDFNC is using expense Account to Book CTA and NUSDFNC is using Equity Account to book CTA.
To achieve the above mentioned requirement, I did configure BPC as follows:
1) Use RATE type AVG (average for Income statement accounts)
2) Use RATE type END (spot rate for Balance sheet Accounts)
3) In business rules for Account rate type AVG- formula would be [AVG], apply to periodic flag will be checked.
5) in business rules for Account Rate Type END - Formula would be [END], apply to periodic flag will be blank.
6) To calculate CTA for ENTITY FX type- NUSDFNC, I configured the following in Account Rate type AVG - destination account is equity account, Formula is [END]-[AVG], apply to periodic flag will be blank and Entity FX type is NUSDFNC.
7) To calculate CTA for ENTITY FX type- USDFNC, I configured the following in Account Rate type AVG - destination account is expense account, Formula is [END]-[AVG], apply to periodic flag will be blank and Entity FX type is USDFNC.
Above configuration is giving me correct converted result for all Balance sheet accounts and income statement accounts are showing the correct values when I use the formula (current period LC amount-previous period LC amount)*(current period AVG rate). But I saw difference in Balance sheet, so further analyzed CTA (currency Translation Accounts) and found that the difference is because of CTA amount only. Similar CTA differences exist for both USDFNC entities and NUSDFNC entities. So, I think my logic to calculate CTA is not working.
I am using the standard script logic to run Currency Conversion:
*RUN_PROGRAM CURR_CONVERSION
CATEGORY = %CATEGORY_SET%
TID_RA = %TIME_SET%
CURRENCY = %RPTCURRENCY_SET%
RATEENTITY = GLOBAL
*ENDRUN_PROGRAM
*COMMIT
Can any one help me to understand whether this configuration is correct? I feel that I may need to change the logic for calculating CTA. But not sure about what and where
Edited by: amarnathputta on Nov 24, 2011 5:36 AMThank you Ethan,
Let me try to explain this with few dollar amounts:
Let us consider that I have data for 1st month (Jan) of the year 2011,
Net income for Jan. 2011 in LC = 59916152.19
Net income for Jan. 2011 in USD calculated using Average rate is = $ 9,223,013.14
CTA for the same month is (net income in LC X spot rate) - net income in USD at average rate =((59916152.19)*(0.154617))-9223013.14 = 41,042.564
This value is correct.
For the month of Feb 2011:
Net income for Feb.2011in LC = 60415519.01
Net income for Feb.2011 in USD at average rate (with periodic flag on) = 9,300,112.38 ( I calculated this value manually and it is correct after conversion)
calculated CTA for the same month is (60415519.01*0.154083)-9300112.38 = 8,892.035.
But actually BPC calculated CTA is 18,547.56 (I felt that this may be because I am not using the Flag apply periodic value while calculating CTA and when I flagged that, BPC is giving me a very big difference in CTA)
My balance sheet is exactly off with the difference in CTA.
Hope this helps you to understand my problem.
Edited by: amarnathputta on Nov 25, 2011 2:43 PM -
Get variable in Target currency under currency conversion Tab for Key Figure
Hi Experts,
In one of the query in BEx Designer, for particular set of key figures I am unable to edit Target Currency under currency conversion.
We created user exit and using a variable in BEx.
When I chose currency conversion parameter in "Currency Conversion", Value in Target currency is empty but I am expecting the variable to get displayed over there.
Please suggest me how to get variable in target currency. or how to edit property of key figure "Target Currency"
Thanks,
Saravanan.HI,
which parameter you maintained in conversion type that is currency translation type which is maintained at T-code RSCUR and see which info object you maintained at currency tab after defining the currency translation type i.e at Target currency -> Info object for determining Target currency which is FROM INFO OBJECT in Target currency .
Hope this will help you. -
Currency conversion issue for condition type
Hello,
I am creating two invoice document.
1. Customs Invoice (ZCDS)
2. Inter company invoice.(IVA)
both the invoices should be similar. Same pricing procedure is used to create both the documents but in Customs invoice YUMU condition type is not getting converted whereas in IVA the condition type is getting converted. Can anyone tell me the possible reason for this?
ZCDS
IVA
Regards,
JagjeetHi Jagjeet,
For IVA invoice type -(For condition type- YUMU)
Below highlighted part of code is changing KSTEU from 'E' to 'C' for IVA invoice using std prog RVIVAUFT.
For ZCDS Invoice Type -(For condition type- YUMU)
Program RVIVAUFT is not called since ZCDS is not trigerried using Output type unlike IVA.
Hence KSTEU is not getting updated from 'E' to 'C' in case of ZCDS.
To solve your problem write code in User exit - userexit_pricing_copy to change konv-ksteu to 'C' for YUMU condition type at runtime.This will definately solve your problem.This will ensure you get correct/same condition value for IVA and ZCDS...:)
Regards,
Vikas Mulay. -
Currency Conversion issue in BW reporting
Hello Experts - I have a Revenue KF in COPA cube. For one specific record the currency type is TWD. When I run the report using the Key Figure (along with other Chars), the value is multiplied by 100. I do not have any scaling factor set at the report level or currency conversion set for the Key Figures. It works fine for other records with other currency types. Does it has any thing to do with the TCURF / TCURV tables? Appreciate your help.
Rgds,
Venu.Hi Venu,
For different currency types there are scaling factors set by default. When you will run the report, the displayed result is calculated with the scaling factor.
Regards,
VA -
Adventure Works - Financial Reporting - Amount - Currency Conversion
Hi all,
I was looking into currency conversion in the Adventure Works cube (SQL2008R2).
For each measure that need to be converted, a measure expression is used (e.g.: [Internet Sales Amount] / [Average Rate]), except for Amout in the measure group Financial Reporting.
When creating a pivot table with that measure and changing the destination currency, the Amount is converted to the selected currency.
How is it done ? (because there is no measure expression for that one)
(I had a look at the MDX script of that cube, but could not find anything about that)
Thanks for your answers.
Kind Regards,
GuillaumeHi Guillaume,
According to your description, you are looking for currency conversion in the Adventure Works cube. In Analysis Services, we can use the Business Intelligence Wizard to define currency conversion functionality for a cube, or you can manually define currency
conversions using MDX scripts. For the detail information about it, please see:
Currency Conversions (Analysis Services - Multidimensional Data)
Currency Conversion in Analysis Services
Regards,
Charlie Liao
If you have any feedback on our support, please click
here.
Charlie Liao
TechNet Community Support -
Hyperion Planning - Exclude some accounts from currency conversion
Hi,
I am using a multi currency application. I don't want to apply the currency conversion for few accounts although I am specifying the a/c members property exchange rate table to No rate. But still the currency conversion happens for these accounts. Please help.
Thanks,I got an answer for you, I was able to replicate the issue.
Issue: When its creating Calc in the back ground HspCRtB its using wrong UDA: "NoRate" which should be "No Rate".
Edit the script, save it and execute both the scripts HspCRtB and Currency Conversion and you will be good .
I will update the details in my blog soon today!
Cheers...!!
Rahul S. -
(Strange) Currency Conversion on YTD Application
Hi experts
I found a wrong currency conversion on YTD Application and my customer also has the same problem.
Here is the example:
Rate Application
2008.JAN 1 EUR = 1.2 USD
2008.FEB 1 EUR = 1.2 USD
2008.MAR 1 EUR = 1.4 USD
Finance Application (a YTD application)
CV Time: YTD
2008.JAN 10 EUR
2008.FEB 20 EUR
2008.MAR 30 EUR
CV Time: Periodic
2008.JAN 10 EUR
2008.FEB 10 EUR
2008.MAR 10 EUR
For the correct currency conversion (to USD), I should get
2008.JAN 12 USD (10x1.2)
2008.FEB 12 USD (10x1.2)
2008.MAR 14 USD (10x1.4)
2008.Q1 38 USD
But the result is
2008.JAN 12 USD (10x1.2)
2008.FEB 12 USD (10x1.2)
2008.MAR <wrong> USD (10x???)
Is it a bug or my wrong configuration ?
ps. you can try it
Regards,
Halomoan
Edited by: Halomoan Zhou on Jun 20, 2008 8:54 AMWhat you see is normal behaviour:
when you do a ytd currency conversion, the YTD LC amount will be translated against the entered rates.
If you then look to periodic data, the ytd previous period amount will be deducted from the ytd current perid amount by OLAP.
This then means that you cannot calculate the periodic LC amounts against the entered rates.
If this wasn't the case, the calculation below will not work on converted numbers:
YTD februari + periodic march = YTD march
I think that the calculation above must always work. BUT I know of one customer that didn't wanted this behaviour, they wanted that the periodic values AND the ytd values calculated against the same entered rate. There are several ways to achieve this; we added a member in the subtables dimensions to store the difference and then adjusted the measures calculation so that this difference was picked up by OLAP when selecting the periodic measure.
AGAIN: I didn't like this because the calculation of "YTD februari + periodic march = YTD march" is in my opinion a holy one.... But the customer is always right
Hope this helps,
Alwin -
Currency Conversion for historical Amount
Hello Experts,
Can some one help me to find a solution for my reporting requirement.
As part of GL reporting, I have a report which shows accumulated balance for given fiscal year/period. If the currency is in USD,I have no issues. When the currency is in non USD(Ex: EUR) I need to convert it into USD at BW side.
Here is the example:
User Enters: Fiscal Year/Period : 2007003
Accumulated Balance for particular GL account might be 300 EUR.
But actual posting might be happened in 2006012.
While converting it to USD it should take the 2006012 exchage rate from TCURR and convert it.
I have created a RRC1 object and used it in Query but it is using 2007003 exchange rate.
Please help me to solve this problem.
Thanks,
BobbyHi,
make your currency conversion type time dependent that is the the exchange rates should be picked based on the date when the G/L account was posted.
Go to transaction RRC1 chose your exchange rate type and in the time ref. tab give key date as the posting date it will pick the exchange rate as the date when the doc was posted.
Hope it clears
Thanks -
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 -
Currency conversion not working for foreign entity
I am having an issue with currency conversion not generating the correct values for foreign entities. For entities where the currency is USD, I am able to see the LC amount being written to USD. However, for entites that have currencies other than USD, I just see zeros. I have double-checked to make sure that rates exist for the given currencies. Below is the logic script I am using which is a modificatio nof the multicurrency.lgl. Any help would be greatly appreciated.
// filter the appropriate currencies and rates
*SELECT(%REPORTING_CURRENCIES%, "[ID]", "RptCurrency", "[REPORTING] = 'Y'")
*SELECT(%FX_RATES%,"[ID]","RATE","[GROUP]='FX RATE'")
// set the appropriate region to clear
//(all reporting currencies)
*CLEAR_DESTINATION
*DESTINATION RPTCURRENCY=%REPORTING_CURRENCIES%
// load the rates from the RATE cube
*LOOKUP RATE
*DIM RATESRC="RATECALC"
*DIM Rate=ARFIELD.RATETYPE
*DIM SOURCECURR: INPUTCURRENCY=LOC_MILLOTH.CURRENCY
*FOR %CURR%=%REPORTING_CURRENCIES%
*DIM %CURR%:INPUTCURRENCY="%CURR%"
*NEXT
*ENDLOOKUP
// define the translation rule
*WHEN ARFIELD.RATETYPE
*IS "NOTRANS"
// translate
*IS %FX_RATES%
*FOR %CURR%=%REPORTING_CURRENCIES%
*REC(FACTOR=LOOKUP(SOURCECURR)/LOOKUP(%CURR%),RptCurrency="%CURR%")
*NEXT
*ELSE
*FOR %CURR%=%REPORTING_CURRENCIES%
*REC(RptCurrency="%CURR%")
*NEXT
*ENDWHEN
*FOR %CURR%=%REPORTING_CURRENCIES%
[RptCurrency].[#%CURR%]=null
*NEXT
*COMMIT
Regards,
KarenHi Karen,
I'm no script logic expert so I won't comment on your code. If it's working for USD then the code is probably fine.
There are a few other things you could check (these are based on investigation using the standard multicurrency script). They should line up with the standard Finance application from AppSet
In the InputCurrency dimension for the currencies you want to convert into :
Check property Reporting is equal to "Y"
Check property Group is set to "Report"
Check propoerty MD has a value of "M" or "D"
In the RptCurrency dimension you need to have entries for the the currencies you want to convert into (AppSet only has USD and EUR to start). Also for each of the currencies :
Check property Reporting is equal to "Y"
Check property Group is equal to "Report"
Check property Transfer is equal to "Y"
I'm not convinced that the Transfer value is required but from my testing if you get the above set up and use the standard multicurrency script it will work.
The testing I did was translating into USD, EUR, GBP, CHF, AUD etc
Hope this helps.
Thanks.
Bradley Newcombe.
Edited by: Bradley Newcombe on Apr 28, 2009 1:30 PM -
End routine for Currency conversion
Hi,
I have a requirement in which i have to convert sales and cost into three types of currency as GBP, INR and EUR in cube. i made 3 different fields for sales as well as for cost. But i am unable to write end routine for it.
Can anyone please help me that how can i solve this problem.
RomaHi,
In transformation itself you can do your currency conversion.
http://help.sap.com/saphelp_nw70/helpdata/en/de/6372426f0f9041e10000000a1550b0/content.htm
If you want to write a routine in to do conversion, you have to go for start routine instead of end routine.
Thanks
BVR -
Remove Currency conversion for some accounts
Hi,
I got a requirement to remove currency conversion for few accounts only, I have separte currency cube assigned to this cube. Can you please tell me how to achieve this.
Thanks,
UBDid you not already posted this question a few weeks back :- Removal of Currency conversion for some accounts
Cheers
John
http://john-goodwin.blogspot.com/ -
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 -
Currency Conversion types not visible for KF in BEx report
Hi Gurus,
I'm facing a strange issue with the curr conversion types.
I had created a KF with 0currency for my requirement. when i'm trying to create a report on the top of the MP i'm facing this issue.
When i right click on the KF --> selected "properties" at the bottom - we have "curr conversion types" -- here i can't see all the curr conversion types for my KF.
Where as i checked for other KF i can see the missing currency conversion types.
Did any one faced such issue...? please throw some light on this issue.HI,
Goto RSA1 ,
double click on you KF info Object ,
there you can see the unit 0currency is been selected , Only those key figure which has been assigned 0currency can only be converted in Bex query.
Regards
BVR
Maybe you are looking for
-
Strange Table Problem in IE/OPERA
I have strange problem displaying a table, the rest of the site uses the same structure. A template file (indexTemplate.php): with the table structure and a include (<?=$ListingTable?>) The Table Structure looks like this: <table width="100%" border
-
Hi gurus, I need help to solve basic problem ^^ I want to copy a field of IT0002 into a field of IT0105 ( P0002-inits to P0105-userid ) I must do that using dynamic action but I dont knwo the exact parameters to fill and them syntax :/ (condition ne
-
Following on from the large uploads post, I'm trying to get http://code.google.com/p/as3httpclientlib/ working in my Javascript Air app. But not getting too far on that: <script type="application/x-shockwave-flash" src="js/as3httpclientlib-1_0_6.swc"
-
I am giving my wife my MacBook Pro to replace her MacBook. I have been able to transfer documents, iTunes and photo's (thanks Terence Devlin) to my former MacBook Pro. I am now trying to make her the administrator. I have gone into system preferen
-
CUCM security password recover on a UCS c220
Hello i'm trying to recover my security password on my cucm v10 but there a step saying that i have to insert a CD , i have a C220 where the hell i will insert this CD so i can recover it???? its confusing there is no disk drive on C220!!!! Thanks &