on 10-25-2012 12:33 PM
Hi Experts,
I m new to this forum.
I want to ask you question. I have 2 products say prod A & prod B.
Product A
Open Orders : 100 50 30 20
Op Forecast : 50 30 30 70
Op Orders Adj: 50 20 0 0
Product B
Open Orders : 10 20 300 120
Op Forecast : 50 30 30 70
Op Orders Adj: 0 0 270 50
I have written a macro for this logic Like
if (Open Orders > Op Forecast)
Op Orders Adj = Open Orders - Op Forecast
Else
Op Ordrers Adj =0
This macro is working fine at dissagg level.
But when i check the result at agg level it shows like this:
Open Orders : 110 70 330 140
Op Forecast : 100 60 60 140
Op Orders Adj: 50 20 270 50
But i required instead of above result it should show this:
Op Orders Adj: 10 10 270 0
How to do it.Please explain?
Hello Nitish,
Could you please check one thing.
Go to /sapapo/advm Open your macro , double click on your macro name.
In the 'setting of the Execution' see if you have checked the check box "Certain levels " and selected the "AGG LEVEL".
If not please try doing this.This should help you.
Regards,
Anurag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anurag,
Thanks for your response.
I have maintained the settings of the macro as u suggested.
But it's not working.Same result is coming
Is i have to change my key fig settings for Op Orders Adj.
I have maintained it as calculation type "S" and time based Dissaggregation as "P".
Can u please give your suggestion?
Hi Anurag,
Thanks for your quick response.
By making it a default macro logic is working.
But when i run this macro through a job it is not working at aggregated level.
So what settings could be done to a JOB,so it may get working??
Please suggest as this job have to be included in next Forecast Cycle.
User | Count |
---|---|
11 | |
2 | |
1 | |
1 | |
1 | |
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.