Interface IF_CALENDAR_APPT_READER

Definition

Interface used by the class CL_ORGANIZER to read appointments from the database.

Structure

A class that wants to implement the interface has to provide the following methods:

READ_APPOINTMENTS

This method is used to read appointments in a specific time period from the database. The method is called by the CL_ORGANIZER methods SELECT_APPOINTMENTS and REFRESH.

Import Parameters

Parameter

Description

I_DATE_FROM

Start date and end date of selection period.

I_DATE_TO

REFRESH

Indicator that sets the REFRESH method.

Export Parameters

Parameter

Description

E_APPOINTMENTS

Table in which the appointments in the selection period are returned.

Process Flow of Methods

  1. Expansion of links
  2. Expansion of organizational units "downwards"
  3. Expansion of users and organizational units "upwards"
  4. Selection according to owner/participating object
  5. Array selection from expanded links
  6. Formatting of appointments
  7. Elimination of double entries
  8. Determination of times from time zones
  9. Distribution of colors and icons

    The following attributes are color-relevant:

    Appointment type

    Priority

    Status (participant or appointment)

    The color is stored in the relevant Customizing tables. If colors are stored for several attributes, the color is evaluated in the order Priority – Status – Appointment type. This order can be changed using a Customizing table.

  10. Determination of daily work schedules and non-working days
  11. Filling of the private attributes of the class

GET_CUR_DAY

You use this method to return the relevant week for a day.

Import parameter: Day

Export parameter: Week that contains the day

GET_WEEK_FROM_DAY

You use this method to return the current week for a day/date.

Return parameter: Current day