on ‎2015 Jul 10 10:10 AM
Hi,
I need to load transactional data from an Infocube and I want to calculate my BPC amount during my loading process.
I have several key figures available in my Infocube, but I want to calculate the amount on my own.
For example:
BPC amount = KF1 + KF2 / KF3....
Is there any possibility to do something like this with transformation or conversion files?
Thanks in advance!
Request clarification before answering.
Hi Simon,
Not possible with transformation or conversion... Can be done with routine badi! Or with post processing by script!
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"So if I want to use post processing, I have to load all key figures to different dimension members and then calculate my result with script logic?" - Correct!
"Are there any badi examples for doing something like this?"
Vadim
P.S. "and then calculate my result with script logic" - in some cases it's better to use dimension member formulas - for example if you need to show ratio KPI's
Hi Vadmin,
I am trying to use a member formula to calculate my result.
Due to the character limitation, I wanted to move this formula into an .lgf file.
Sth. like you already described here:
Member Formula. 255 Characters limitation and Option file
http://scn.sap.com/thread/3463627
But I don't need any If-Clause and just want to calculate one member.
member1 = member2/member3+member4...
How can I move this calculation into the .lgf file?
Thanks!
OK, if you are 100% sure that you will need 37 members (you can use parents by the way), then:
"But I don't need any If-Clause" - incorrect, you have to test for division by zero!
*FUNCTION KPICALC(%DIV%)
IIF(%DIV%=0,NULL,[0GAVV400]+[0GAVV401]/%DIV%...)
*ENDFUNCTION
And use this function in the member formula:
KPICALC([0GAVV405]);SOLVE_ORDER=10
Hope that 0GAVV400... are members of account type dimension (strange id's starting with 0)
Test with simple formula, then increase the complexity!
Vadim
| User | Count |
|---|---|
| 41 | |
| 9 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.