on ‎2016 Jul 11 11:47 AM
Hello,
After the BPC update from v. 10.0 to v. 10.1 on HANA we noticed that the BPC Script Logic function SELECT has a different behaviour.
In BPC 10.0 we have Script Logics with SELECT and condition "different from":
*SELECT(%VAR%,ID, DIM, "[PROP]<>X")
where "PROP" is a dimension's property for which we evalueted with "X" some base members.
In BPC 10.0 it works properly.
After the migration to BPC 10.1 on HANA the same script logic gives the following error:
RUN_LOGIC:"DIM" in "VAL" CALC=Y
This happen in different Script Logics but only for some dimensions and we can't understand the reason.
As the property CALC determines whether the value of the member should be calculated (i.e. nodes) or not, It seems that the SELECT doesn't automatically exclude the calculated members.
For the dimensions that give this issue we can solve adding the condition CALC=N:
*SELECT(%VAR%,ID, DIM, "[PROP]<>X AND CALC=N")
or evaluating the property with "X" for the calculated members.
However we would like to undestand the reason why it happen only for some dimension and not for all.
Thanks in advance for any help you are able to provide.
Daniela
Request clarification before answering.
Please show the full test script, generating the error! Simple test case!
P.S. To my mind the error is generated not by SELECT statement...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think the reason of this error is usage of XDIM_MEMBERSET with not base member...
In general it's useless to scope not base members because WHEN/ENDWHEN loop only base members!
Then simply add " AND CALC=N" and everything will be fine. Just a minor issue, in previous version not base members were ignored.
Vadim
| User | Count |
|---|---|
| 41 | |
| 4 | |
| 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.