Data Realignment for Changes to Calendar Master Data
The system scales the demand history of a location product according to the calendar assigned to its location. If you change, delete, or add periods in this calendar, the system sets the SPP_CLD_CHG
trigger, which starts the "SPP Calendar Change Realignment" planning service. This planning service rescales the demand history, taking into account the changes you made to the calendar periods.
Caution
If you assign a new calendar to a location, the system does not realign the demand histories of the location products concerned, which may lead to inconsistent data in the scaled demand histories of these location products. In this case, the system generates an alert of type 7892.
If you change the calendar master data on the Header Data
or Calculation Rule
tab page, the system does not realign the demand histories of the location products concerned, which may lead to inconsistent data in the scaled demand histories of these location products. If you change the calendar master data on the Header Data
tab page, the system generates an alert of type 7983. If you change the data on the Calculation Rule
tab page, it generates an alert of type 7894.
You have scheduled the "SPP: Calendar Change Realignment" (SPP_PDEM_CLD_RLG) planning service in the Planning Service Manager (PSM). You have selected both Location Product
and Location
as package creation methods.
Note
You define calendars independent of version. However, the definition of this planning service is version-dependent.
For more information, see Use of the Planning Service Manager for SPP and PSM Services for Demand History Creation.
The planning service checks which periodicity you have selected for planning in Customizing for Advanced Planning and Optimization
under . The planning service checks which periods are affected by the changes made to the calendar master data and rescales the raw demand for these periods.
Once the planning service has rescaled the demand histories of the location products concerned, it deletes the SPP_CLD_CHG
trigger from the database and sets the SPP_RLG_DONE
trigger. This starts the forecasting service.
According to the calendar maintained by you, calendar week 22 in 2007 has 5 working days.
The total historical raw demand for calendar week 22/2007 is 60 pieces.
You delete the period May 28, 2007 from the calendar master data because this is a public holiday.
You have selected Week
as the periodicity for planning.
You have specified 5
as the number of working days, that is, as the scaling factor for weeks.
You can specify standard scaling factors in Customizing for Advanced Planning and Optimization
by choosing .
The system now proceeds as follows:
It determines Week
as the selected periodicity.
It identifies the period 22/2007 as the period for which it has to realign the relevant demand histories. (Affected are demand histories of location products for which the changed calendar is assigned to the location).
It removes May 28, 2007 (which you deleted) from the 5 working days previously specified.
It executes the scaling again with 4 working days instead of 5 and determines a new scaled demand for the period 22/2007 of 75 pieces rather than 60 pieces as previously.
Previous scaling with 5 working days:
Scaling factor/number of working days * demand = 5/5 * 60 = 60 pieces
New scaling with 4 working days:
Scaling factor/number of working days * demand = 5/4 * 60 = 75 pieces