on 08-22-2016 6:23 PM
Hi,
In clients model, the used dimension type C is not the standard one (CATEGORY), but a copy of it translated to portuguese (Categoria).
When I call standard program CALC_ACCOUNT, I try to set parameters like:
*RUN_PROGRAM CALC_ACCOUNT
Categoria=Realizado
TID_RA=%TEMPO_SET%
*ENDRUN_PROGRAM
But, the program runs for all category members (Members of dimension Categoria, in this situation), like no filter is applied.
My question is... is there a specific way of setting filter in CALC_ACCOUNT for members of a C-type dimension that isn't the standard dimension CATEGORY? Any extra configuration?
Best regards
There is no "standard" dimension CATEGORY, there is a standard dimension type - C in this case.
Look on help: Account-based Calculations as Script Logic - SAP Business Planning and Consolidation, version for SA...
*RUN_PROGRAM CALC_ACCOUNT
CATEGORY = %YourCategoryDimName_SET% //CATEGORY - standard name to be used!
CURRENCY = %YourCurrencyDimName_SET% //CURRENCY - standard name to be used!
TID_RA = %YourTimeDimName_SET% //TID_RA - standard name to be used!
CALC=A //ID of rule!
OTHER = [YourEntityDimName=%YourEntityDimName_SET%]// or OTHER=[YourEntityDimName=C1000] or [YourEntityDimName=%YourEntityDimName_SET%;YourIntcoDimName=%YourIntcoDimName_SET%...]
*ENDRUN_PROGRAM
Where:
YourXXXXXDimName - real name of your dimension!
CATEGORY,CURRENCY,TID_RA,CALC,OTHER - are just fixed parameter names!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vadim,
Hum... I get it! It makes a lot of sense. To me, what does not make any sense is it:
I tried to set parameter CATEGORY like:
CATEGORY = "Realizado" //Because I want to filter just one specific member
But, the system gives an error message that says it is not a base member. So, I created the member "Realizado" in dimension CATEGORY (just to give it try). Now the program works correctly, even though dimension CATEGORY is not even used in my model (remember that my C-type dimension is not CATEGORY, but Categoria). It seems like BPC validates members agaisnt dimension CATEGORY, but filters input records using C-type dimension of the related model.
Have you ever faced the same situation?
Sorry, once again:
CATEGORY in RUN_PROGRAM CALC_ACCOUNT
is not a name of C-type dimension, it's a name of parameter!
And you have to provide the member of C-type dimension to this parameters!
Same for other!
CATEGORY = Realizado //Correct syntax!
P.S. For example, if you want to get the member from user selection, then:
CATEGORY =%Categoria_SET%
User | Count |
---|---|
15 | |
3 | |
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.