on 03-23-2007 2:55 PM
I have a situation where a key figure, Override, is entered for future time buckets. The disaggregate is set to I (initial based on KF, else pro rata), based of the statistical forecast key figure. The next month, proportional factors are recalculated before the generation of the statistical forecast.
The issue is that the override key figure was disaggregated based on last months proportional factors. I am looking for a way to keep the same value in override but have the disaggregate reset.
I tried writing a macro that uses the following steps:
1. Copies the KF to an aux KF
2. Enters zero into the KF (to try and reset so that the disaggregate is back to initial)
3. Copy the aux KF to KF
Doing this with the macro is not resetting the KF to use initial for the disaggregate. If there is a way to have the enter key pressed in the macro, I think this would help.
If there is another option, I would greatly appreciate it.
-Bill
Hi Bill
confirm the following
what level are you copying the the Kf to Aux KF.What level are you copying back
(it has to be at a aggregated level).
How does the auxillary KF look when disaggregated. Does it have a disaggregation set?
I would say try this with a RTScopy from KF to a spare KF or the same Kf in a different version keeping in mind the aggregate levels, zero the KF and copy back
If you are in SCM 5.0 there is a macro setting for re disaggregation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill
I think though it zeros out the KF detials on the interactive planning book it is still "remembering" it
Can you ( for the sake of testing ) break this macro into two and check?
The first one to copy and zero out
The second to copy back
If it works (it worked for me:) you need to device some means of commiting the zero before running the last step
Try putting in the zero out macro as a separate job.
Please note zero out (macro to put zero in keyfigure) can be executed at the most aggregate level both in terms of characteristic and time bucket.
Only if the macro computation is a separate activity the data actually gets written to the keyfigure and that way it will not "remember" the earlier disaggregation.
Thanks,
somnath
I seem to have found a solution.
First I am using an aux KF created in the planning book, not in the macro.
Next, I split up the macro into multiple steps executed in a collective macro.
Last, I added a drill down and drill up (internal) after I zero the KF and before I recopy the values. This seems to cause the system to accept the changes and reset the dissaggregation to initial.
Thank you everyone for your ideas and assistance.
User | Count |
---|---|
7 | |
4 | |
3 | |
2 | |
2 | |
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.