tldr: RUNALLOCATION needs to use reference data from another model. How to do it?
Dear experts,
I have the following issue. I have two cubes/models with actual and plan data.
The planning is done on aggregated level and now I try to distribute it using the reference data from "actual" model.
In the MS version I could use the *APP syntax, but it is not supported in NW.
So I tried to run *RUNALLOCATION on "actual" model using *DESTINATION_APP in order to copy the actual data into plan model and distribute the plan data.
*DESTINATION_APP = PLAN
*WHEN CATEGORY
*IS "ACTUAL"
*REC(EXPRESSION=%VALUE%)
*ENDWHEN
*RUNALLOCATION
*FACTOR = USING/TOTAL
*DIM CATEGORY WHAT = PLAN; WHERE = <<<; USING = ACTUAL; TOTAL = <<<;
But it wont work since the script is executed on "actual" model and where is no plan data to distribute.
So I have to copy the data in the first step and distribute it in another step.
However, I don't need the actual data in the planning application (model/cube)!
So I tried to *LOOKUP the plan data to be distributed, distribute it on the actual model and write the results to the plan cube with *DESTINATION_APP
Unfortunately the following syntax produces the "Allocation Format Error" message.
*RUNALLOCATION
*FACTOR = USING/TOTAL
*DIM ACCOUNT WHAT = LOOKUP(ACC); WHERE = SAAMO; USING = <<<; TOTAL = <<<;
*DIM CATEGORY WHAT = PLAN; WHERE = <<<; USING = ACTUAL; TOTAL = <<<;
tldr: RUNALLOCATION needs to use reference data from another model. How to do it?