CONSTRUCTOR

Definition

You can use this method to create a copy of the appointment display. You can use the parameters of the constructor to define the areas of the appointment display that you want to use and to determine the appearance of the appointment display. If you do not specify any parameters, the appointment calendar is displayed with navigation area, appointment overview, task list, and standard toolbar, in accordance with the user settings. You can hide these separate areas using the parameters.

Structure

Import Parameters

Parameter

Default

Description

CONTAINER

 

A reference to the place ( SAP Container) where the calendar is to be displayed. If you do not specify a container, the appointment interface is displayed in the whole screen.

CONTAINER_NAVIGATOR

 

A reference to the place (SAP Container) for the navigation area.

CONTAINER_SCHEDULER

 

A reference to the place (SAP Container) for the appointment overview.

INCLUDE_SHIFT_PLAN

SPACE

Indicates whether the user's daily work schedules are to be highlighted in the appointment overview.

The daily work schedules are only displayed if they have been maintained in the Personnel Time Management component.

TIMEZONE

 

Time zone

Time zone in which the appointments are to be displayed. If you do not specify a time zone, the time zone maintained in the relevant user master record is used.

If this is not maintained, UTC (Greenwich time) is used as the time zone.

SHOW_IN_USER_TIMEZONE

 

Indicates whether the appointments are to be displayed in the user time zone.

NO_AUTHORIZATION_CHECK

 

Indicates whether the authorization check for access to appointments is to be deactivated.

Authorizations are never checked for appointments whose participants are not users.

CALENDAR_PROXY

SY-NAME

Name of the user whose access authorizations are to be checked.

If you do not make an entry, no authorizations are checked. Authorizations are never checked for appointments whose participants are not users.

NO_TOOLBAR

SPACE

Indicates whether the standard toolbar for the appointment overview is to be displayed. The standard toolbar contains functions for:

  • Navigation
  • Processing appointments
  • Calling the calendar settings
  • Switching between the user time view and the appointment time view

The navigation functions can also be executed from the navigation area and the appointment processing functions by double-clicking on an appointment (change or display) or on a free time period (create). The other functions can only be called from the standard toolbar.

OWNER_FOR_VIEW_SETTINGS

SY-NAME

User whose calendar settings determine how the appointment interface is displayed.

The calendar settings, such as the display time period or start of week, are made by the specified user.

DEFAULT_VIEW_SETTINGS

 

Individual calendar settings can be made using this parameter.

Calendar settings

The calendar settings include:

First day of week

Length of week

Length of day

Length of time interval

Factory calendar

WITH_NAVIGATION

'X'

Indicates whether the navigation area is to be shown.

WITH_WORKLIST

'X'

Indicates whether an area for the task list is to be shown.

DISPLAY_MODE

SPACE

Indicates whether the calendar is to be called in display mode.

Events are also sent in display mode.

The calendar appears in display mode, that is, the toolbar functions, such as create, change, cut, and so on, are suppressed and are only displayed when you double-click on an appointment.

This does not apply to the function whereby you create an appointment by double-clicking on a free time period. To suppress this function, the associated ABAP-OO event has be to caught explicitly by a function-free dummy handler.

VIEW_ORDER

'V'

Order of components in the combination display.

Combination display: V = vertical display (default), H = horizontal display.

VIEW_STYLE_NAVIGATOR

 

View style for the navigator.

FOCUS_DATE

 

Date of the day that is to be displayed or for which the week or month is to be displayed.

The display time period is determined by the day focus. It can be set using this parameter.