Entering content frame

Process documentation Forecast Analysis Using Macros Locate the document in its SAP Library structure


In this process, you track predefined situations in the forecast through the use of macros.


You have installed the Alert Monitor.

Process Flow

This process flow describes just one way in which you can use macros and alerts to monitor the forecast.

  1. Create a planning book and define in it one or more macros. Attach alerts to the macros; in the macro structure the alert is the result of a condition. For an example, see Example of a Macro Alert.
  2. If you want to display only the current forecasting status after the execution of the macro and delete any previous statuses from the Alert Monitor, set a status alert.

    If you want to display the forecasting status after the execution of the macro, and also any previous statuses, set a message alert.

  3. In the Alert Monitor, create an SDP alert profile.
  4. Alert profiles are used to display specific alerts to specific users. They do not affect whether or not alerts are created.

  5. In interactive demand planning (for mass processing, see below*) assign the alert profile you created in step 2 by choosing Edit ® Assign alert profile. Do not select Forecast deletes old alerts automatically.
  6. For the monitoring of macro alerts in mass processing, see below.
  7. Switch to the forecast view of interactive demand planning, using a univariate forecast profile to create a forecast.
  8. Return to the user-defined view, adopting the created forecast.
  9. Execute the macro(s).
  10. From the workspace toolbar, choose Display/refresh alerts This graphic is explained in the accompanying text.
  11. The macro alerts appears at the bottom of the screen.

  12. Check the macro alerts.
  13. Make any necessary adjustments to the forecast model or the forecast results.
  14. Run the forecast again.
  15. In the user-defined data view, refresh the alerts by choosing Edit ® Update alerts.
  16. Study the alerts to see if the adjustments you made in step 7 have corrected the problem.
  17. If you created message alerts in step 1, you can compare the alerts that you viewed in step 7 with the new ones. This is the case if you did not select Forecast deletes old alerts automatically in step 3.

  18. Repeat steps 7 through 10 until no more new alerts appear.


* If you are forecasting in the background, continue as follows at step 3:

  1. On the Forecast tabstrip of the mass processing activity, specify that alerts are to be created.
  2. If desired, specify that old alerts are to be deleted by this forecast.
  3. If you check this box, old alerts are deleted when the mass forecasting job is processed even if no new alerts are created.

  4. Run the forecast in the background as a mass processing job. For more information, see Forecast Execution with Mass Processing.
  5. Open the Alert Monitor by choosing Supply Chain Monitoring → Alert Monitor and check the alerts.
Leaving content frame