Quantcast
Channel: SCN : Discussion List - SAP APO - Demand and Supply Network Planning
Viewing all articles
Browse latest Browse all 835

Cyclical DP Macro Help

$
0
0

APO DP Macro Help

 

I have a problem where I have created a 2 step macro where the result of step 1 is an input into step 2. The result of step 2 is then an input to the NEXT TIME BUCKET of step 1 and so on..(e.g. Step 2 result for March16, affects the Step 1 for April 16)

(Its a replenishment forecast calculation followed by a stock projection)

 

 

The standard macro logic appears to run step one for all periods before moving onto step 2 for all periods. Which does not meet my requirements.

 

In my mind I have 3 options, somehow combine 2 separate tasks into the same step.. (how can this be done?)

 

OR

 

Find a way where the macro will look at one period for BOTH steps before moving onto the next

 

OR

 

Have a macro function that will run the macro 24 times automatically. (Loop?) (I'm am unable to understand the coding for loop when its set number of times)

 

Thanks

SSB


Viewing all articles
Browse latest Browse all 835

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>