SAP Function BARC_ADD_CALENDAR - Create a calendar

Parameter Reference Type Length Default Optional Text
CALENDAR_TYPE BCCALENDAR-TYPE C 1 SPACE X Calendar type
WINID NET_GRAPH-WINID C 8 SPACE X Window ID

Parameter Reference Type Length Text
ID BCCALENDAR-ID I 4 Calendar ID

Exception Text
INV_WINID Incorrect window ID

This module is also available as the form routine 'ADD_CALENDAR'.
Identification of the calendar
The following calendar types are available:
o 'Normal' calendars:
Calendar type is not specified in this case.
o Merge calendars:
in this case either
the intersection (CALENDAR_TYPE = BC_CONST-MERGE_WORKTIME) or
the union (CALENDAR_TYPE = BC_CONST-MERGE_NONWORKTIME)
of the lost time can be hidden.
In the calendar attributes 'normal' calendars are assigned to the
merge calendars. The merge calendars are assigned to the sections.
If the Window ID is set, it must be 'BARCx', where x must have thevalue SPACE, 1 to 9 or A to Z; see interactive programming.