Show TOC

 Creating and Editing a Calendar SchemaLocate this document in the navigation structure


A calendar schema specifies which days should be considered during the aggregation to weekly, monthly, quarterly, or yearly values. You can create your own schemata or edit existing schemata.

Create a calendar schema to ensure that only the periods that are relevant for you are stored in the Central Performance History (CPH). You can, for example, remove weekends or public holidays from the calculation of aggregates.

  1. You can call the editing of calendar schemata from several functions:
    • In the overview screen of the CPH (transaction RZ23N), choose, in the Data Collection and Reorganization group box, the Calendar Schemata pushbutton.
    • On the screens on which there is an input field for entering a calendar schema, you can use the selection help to obtain a list of all existing calendar schemata. On this screen, choose Display Details ().
  2. In both cases, the Edit Calendar Schema screen appears. Here you can view the definition of the selected calendar schema:

  1. To edit a different calendar schema, enter the desired schema in the Name of the Calendar Schema input field. To create a new calendar schema, choose the Create Schema pushbutton ().
  2. Enter the desired name and a description for the schema.
  3. You can formulate a condition to select certain days in the Day Definition group box. In this way, you can define days using the date and the weekday, and further restrict this set using a public holidays calendar, factory calendar, or a single public holiday.
    Setting Condition

    Day, month, year: any(*); Week day: Saturday; Additional restrictions: None

    All days that fall on a Saturday

    Day, month, year: any(*); Week day: Friday; Additional restrictions: Public Holiday Calendar

    All public holidays, in accordance with the public holiday calendar, that fall on a Friday

    Day, month, year, week day: any(*); Additional restrictions: Individual Public Holiday (Carnival Monday)Holiday (Carnival Monday)

    Carnival Monday, irrespective of the date or week day on which the day falls

    Day, month, week day: any(*); Year: 2003; Additional restrictions: Factory Calendar

    All non-working days during the year 2003, in accordance with the factory calendar


    Edit public holiday and factory calendars using transaction SCAL (see Calendar); you can use the selection help to determine the existing public holiday and factory calendars.

  4. In the Operation group box, you can determine how the days defined above should be handled:
    Setting Description

    Discard Days Above

    The days defined above are not included in the aggregation or reporting

    Keep Days Above

    The days defined above are included in the aggregation and reporting

    Use Day Schema

    For the days defined above, only the hours that are selected in the corresponding day schema are included in the aggregation and reporting

  5. Together, a day definition and an operation form a day assignment, which specifies which days are included in the aggregation, and how they are included. Choose the Add () pushbutton to include the day assignment created above in the definition of the calendar schema.
  6. Repeat steps 5 to 7, until you have created all required day assignments.

    If you have specified different operations in different day assignments for single days, the day assignment that is further down the list of assignments is always the one that is active.

  7. If you want to delete a day assignment, choose the Deletepushbutton () in the Day Assignments group box.
  8. If you want to check how the calendar schema handles the data for which days, choose the pushbutton Check Calendar Schema (). You can see whether the data for the days of the current month is used for the aggregation, not used for the aggregation, or whether only certain hours are used, based on a day schema. To check the consequences of the calendar schema for a different time period, enter the period in the Time Interval group box.
  9. Save your settings.

 Central Performance History of the Monitoring Architecture start page