Hi,
In BI Cube I am having 2 Currency Type values 00 and 10.
And for some GL Accounts Cost Centres are Empty. So for these Empty 0COSTCENTER I am inserting a String CC_NONE.
My requirement is to load Data into BPC by validating 2 Conditions for 0COSTCENTER,
C1. Where 0CURTYPE (Currency Type) = 10 only. *IF(0CURTYPE=*STR(10) THEN
C2. Check where 0COSTCENTER are Empty. *IF(*STR(CC_)+0COMP_CODE+0COSTCENTER = *STR(CC_)+0COMP_CODE
then load the string CC_NONE. THEN *STR(CC_NONE);
else load 0COSTCENTER's *STR(CC_)+0COMP_CODE+0COSTCENTER))
So entire code will be as below to load 0CostCenter into BPC
COST_CENTER=*IF(0CURTYPE=*STR(10) THEN *IF(*STR(CC_)+0COMP_CODE+0COSTCENTER = *STR(CC_)+0COMP_CODE THEN *STR(CC_NONE); *STR(CC_)+0COMP_CODE+0COSTCENTER))
For this, while validating the Transformation File I am getting error as,
Command Error: STR(PC_NONE
If there is any possibility let me know.
Thank you,
Hemanth