Fonction SAP BARC_SET_TIME_PROFILE_ATTRIB - Set time profile attributes

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
FL BCVALS-FL C 2 Attribute type
ID BCVALS-ID I 4 Time profile identification
VAL BCVALS-VAL C 80 Attribute value

This module is also available as the form routine'SET_TIME_PROFILE_ATTRIB'.
The attribute type determines how a value is used.
All possible values, used according to the time profile type (= workinghours, leisure hours and variables profile), are listed below.
Values for working hours profiles
Ty.|Input value for the field VAL
|(Constant for the time profile type in INCLUDE file LBARCCON)
---+-----------------------------------------------------------------
a |Time object ID of the time object to which the time profile is to
|be assigned. (BC_CONST-ADD_NW_TIME):
r |Time object ID of the time object to be deleted from the time
|profile. (BC_CONST-REMOVE_NW_TIME)
b |Time interval ID of the interval to which the time profile is to
|be assigned. (BC_CONST-ADD_NW_INTERVAL):
s |Time interval ID of the interval to be deleted from the time
|profile. (BC_CONST-REMOVE_NW_INTERVAL)
Values for leisure and non-working time profiles
Ty.|Input value for the field VAL
|(Constant for the time profile type in INCLUDE file LBARCCON)
---+-----------------------------------------------------------------
c |Time object ID of the time object to be assigned to the time
|profile. ( BC_CONST-ADD_WORK_TIME)
t |Time object ID of the time object to be deleted from the time
|profile. (BC_CONST-REMOVE_WORK_TIME)
d |Time interval ID of the interval to the assigned to the time
|profile. (BC_CONST-ADD_NW_INTERVAL)
u |Time interval ID of the interval to be deleted from the time
|profile. (BC_CONST-REMOVE_NW_INTERVAL)
Values for variable profiles used for mapping work schedules
Ty.|Input value for field VAL
|(Constant for time profile type in INCLUDE file LBARCCON)
---+-----------------------------------------------------------------
p |Time profile ID of the profile to be assigned to the variable
|time profile. (BC_CONST-ADD_PROFILE)
m |Time profile ID of the profile from which the variable time profile
|is to be deleted. (BC_CONST-REMOVE_PROFILE)

Functionality
Identifies the time profile whose attributes need to be changed.