Fonction SAP BARC_SET_CALENDAR_ATTRIB - Set attributes for a calendar

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
FL BCVALS-FL C 2 Attribute type
ID BCVALS-ID I 4 Identification
INTERVALL_ID BCVALS-ID I 4 0 X Validity interval ID
VAL BCVALS-VAL C 80 Attribute value


The attribute type determines the use of the value.
The following lists all types, the values resulting from them for thefield VAL and the constants reserved for the types in the Include fileLBARCCON.
Type|Value/meaning |Constant in LBARCCON
----+-------------------------------------+-----------------------
a |Time profile ID of the profile to |BC_CONST-ADD_PROFILE
|be added to the calendar |
r |Time profile ID of the profile to |BC_CONST-REMOVE_PROFILE
|be deleted from the calendar |
u |Time interval ID of the interval to |BC_CONST-UNIQUE_INTERVAL
|be added to the calendar. |
|Non-work time is added |
t |Time interval ID of the interval |BC_CONST-UNIQUE_WORK_INTERVAL
|to be added to the calendar. |
|Work time is added |
x |Set start time |BC_CONST-ADD_START
y |Set end time for non work time |BC_CONST-ADD_END_NONWORKTIME
z |Set end time for work time |BC_CONST-ADD_END_WORKTIME
w |as a. |BC_CONST-ADD_PROFILE_XYZ
|If x, y, z are used then use this for|
|adding new profiles |
d |Adds a calendar to a merge calendar |BC_CONST-ADD_TO_MCAL
e |Removes a calendar from a merge |BC_CONST-REMOVE_FROM_MCAL
|calendar |
Identification of the calendar where attributes are to be changed.
ID of the interval that defines the validity period for a time profile.When the profile is added to the calendar, via calendar attributes, thevalidity period for the time profile is also set.
If you do not specify anything at this point, the following applies:The validity period extends over the section that the grid, containingthe calendar with the time profile, is added to.
The value specified here depends on the type of attribute (comp. field'FL').