on 11-09-2015 1:38 PM
Dear All
we have recently upgraded SAP BPC from SP09 to SP 16 and EPM addin from SP13 to SP18.
The data posted in LC is not getting converted to CAD.
is there any limitation or bug in currency conversion for SP16.
Please advise.
The currency conversion is done by script logic, which we have placed it in Default logic. It did work well in Production environment where it was with BPC10.0 SP09. However after upgrading to SP16 and epm addin upgraded to SP18, the currency conversion not working. This is preventing gollive.
Attaching script logic.
Please advise .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"we are not converting by account, however we are proceeding with all at a time whenver input has been loaded. Thats why we placed it in default logic." - what do you mean by "not converting by account"??? CURR_CONVERSION will process all accounts! And it can be placed in default logic...
What dimensions do you have in the cube?
If you switch engine back to JavaScript the scripts will run slower then with ABAP engine! But with ABAP there is no replacement of JavaScript keyword math.round!
I still do not understand why you are reinventing the wheel instead of CURR_CONVERSION???
The other line can be improved to reduce scope like:
OTHER = [ENTITY=%ENTITY_SET%;FLOW=%FLOW_SET%;AUDITTRAIL=%AUDITTRAIL_SET%]
Where ENTITY, FLOW and AUDITTRAIL are the real dimension names. If you have some user defined dimension you can also add it to OTHER...
hi Vadim
I am sorry for confusion. We are not using RUN_Curr , its commented in script.
here is the piece of code
--------------------
*LOOKUP RATE
*DIM R_ACCT = AVG
*DIM R_ENTITY = GLOBAL
*DIM L_RATE_USD:INPUTCURRENCY = USD
*DIM L_RATE_GBP:INPUTCURRENCY = GBP
*DIM L_RATE_EUR:INPUTCURRENCY = EUR
*DIM L_RATE_NOK:INPUTCURRENCY = NOK
*ENDLOOKUP
*XDIM_MAXMEMBERS COST_CTR=5000
*WHEN CURRENCY
*IS LC
*WHEN COST_CTR.CURRENCY
*IS CAD
*REC(EXPRESSION=%VALUE%,CURRENCY=CAD)
*IS USD
*REC(EXPRESSION=Math.round(%VALUE%/LOOKUP(L_RATE_USD)*100)/100,CURRENCY=CAD)
*IS GBP
*REC(EXPRESSION=Math.round(%VALUE%/LOOKUP(L_RATE_GBP)*100)/100,CURRENCY=CAD)
*IS EUR
*REC(EXPRESSION=Math.round(%VALUE%/LOOKUP(L_RATE_EUR)*100)/100,CURRENCY=CAD)
*IS NOK
*REC(EXPRESSION=Math.round(%VALUE%/LOOKUP(L_RATE_NOK)*100)/100,CURRENCY=CAD)
*ENDWHEN
*ENDWHEN
*COMMIT
------------------------------
as you said if we switch back to javascript performance slows down and also you mentioned no replacement for math.round.
Please advise how to overcome this issue
Here are the dimensions
Account_Pay_bank
Cost_CTR=
Costy_Type=CT_NULL
Currency=LC
PART_COST_CTR
Scenario
Sender_Receiver
Time=
Version
Measures=Periodic
thanks
User | Count |
---|---|
14 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.