|
Hi,
I have a 3 cubes: 1 for input data, 1 for ventilation percentage and 1 for output data.
My cubes are made of the following dimensions:
1. Input data (in this order):
4_Product_P&L_Category
4_Version
2_Sites
3_Month_Year
2_Budget_Lines
2_Cost_Centers
1_Category
2. Ventilation (in this order):
4_Version
2_Budget_Lines (each element is allocated to the elements of the 2_Product_List dimension by percentage)
3_Month_Year
2_Product_List
1_Ventilation
3. Output data (in this order):
4_Product_P&L_Category
4_Version
3_Month_Year
2_P&L_Structure
2_Product_List
1_Category
In my process, as default view I have:
V1 = 1_Category
V2 = 4_Product_P&L_Category
P1 = 4_Version
V6 = 2_Budget_Lines
V7 = 3_Month_Year
Then I wrote the ventillation process in 3 steps:
vValue = CellGetN('INPUT_CUBE', V2, P1, 'TOTAL ALL SITES', V7, V6, 'TOTAL', 'Value');
vVentil1 = CellGetN('VENTILLATION', P1, V6, V7, 'Product_A', 'Percent');
vSend1 = vValue * vVentil1;
IF(CellIsUpdateable('OUTPUT_Cube', V2, P1, V7, 'Costs', 'Product_A', V1)=1);
CellPutN(vSend1, 'PRODUCT_P&L_OUTPUT', V2, P1, V7, 'Costs', 'Product_A', V1);
ENDIF;
The process runs successfully but no data are transferring.
Can anybody help me on this issue ? What is wrong in the coding ? I dream of this code at night without finding where the mistake is
Thanks for your help. |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|