on 03-26-2008 4:24 PM
I am using APO DP V5.
Ideally I would like to have a macro which:
- performs some calculations
- runs a forecast using a defined profile
- performs some further calculations
Does anyone have any ideas about how to do this?
Thanks,
Bob Austin, Atos Origin
Hello Bob,
It seems that your main question is you want macro to run the forecast with the desired profile. This is possible, please find below the answer.
Performs some calculations
- For this you need to be clear on what kind of calculations you require. You must be aware of the different calculations can be made with macro.
Runs a forecast using a defined profile
- For this you can use the macro as shown below to release the forecast.
(Macro)FORECAST_PROFILE_SET(): Forecast Profile (Step) input : ( 1 Iterations :INITIAL;INITIAL )
(Actionbox)set profile
(Op/Fun)LAYOUTVARIABLE_SET( 'X' ;
(Op/Fun)CHAR_VALUES_INPUT 'need_forecast_profile_name' ;
(Op/Fun)'PROFILE:'
(Op/Fun) )
(Op/Fun) )
(Step) operate : ( 1 Iterations :INITIAL;INITIAL )
(Actionbox)get profile
(Op/Fun)
FORECAST_PROFILE_SET( LAYOUTVARIABLE( 'X' ) ;
(Op/Fun) 'S' ;
(Op/Fun) ACT_VERSION
(Op/Fun) )
Performs some further calculations
- Again same please give more input on the type of calculations you require.
Hope this answer is helpful to you.
Prafulla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can try the REPORT_SUBMIT() macro function that can invoke a background job. the job needs to be pre-configured with appriopriate settings to make sure the univariate forecast is called. (using prog /sapapo/ts_batch_run)
Or try with a user exit macro.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.