set_day_info

Frontend Support

Windows

HTML

Java

u

u

u

You can use this method to display additional information on weekdays (public holidays, vacation, ...) in the calendar:

CALL METHOD calendar->set_day_info
     EXPORTING  day_info = day_info
     EXCEPTIONS cntl_error = 1.

Parameter

Meaning

day_info

Table with information on the weekdays. The table is created with reference to cnca_itab_day_info .

Table day_info consists of the following fields:

Field

Meaning

color

Color in which the day is to be displayed:

cnca_color_1 bis cnca_color_8

Report SAPCALENDAR_SET_COLORS gives an overview of these colors.

date

Day that is to be marked

text

Day that is to be displayed as quick info in the calendar