Fonction SAP BARC_ADD_TIME_PROFILE - Create a time profile

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
EMPTY_FULL BCTIMEPROF-EMPTY_FULL C 1 'F' X Profile type
TIMEPROF_TYPE BCTIMEPROF-TYPE C 1 Time profile type
WINID NET_GRAPH-WINID C 8 SPACE X Window ID

Paramètre Reférence Type Long. Description
ID BCTIMEPROF-ID I 4 Identification

Exception Description
INV_WINID Incorrect window ID

This module is also available as the form routine 'ADD_TIME_PROFILE'.

Functionality
Time profile ID

Description
This parameter defines whether the profile is only for working hours oronly for leisure hours. Depending on this, working hours or leisurehours can be added to a profile using its attributes(see BARC_SET_TIME_PROFILE_ATTRIB).

Value range
E --> Empty profile, i.e. a profile containing only leisure hours
Constant in the Include file LBARCCON: BC_CONST-EMPTY_PROFILE
F --> Full profile, i.e. a profile containing only working hours
Constant in Include file LBARCCON: BC_CONST-FULL_PROFILE

Default
F --> Full profile
The time profile type identifies the category of time objects which canbe used by the profile and how the working hours and leisure hours aredefined.
The following time profile types can be distinguished and are describedin the below table.
Type|Meaning
|(Constant for the type in Include file LBARCCON)
----+--------------------------------------------------------------
D |Day profile represented once per day
|(BC_CONST-DAY)
V |Variable profile whose representation always recurs within a
|defined valid time. A variable profile in connection with a day
|profile is used to display shift schedules.
|(BC_CONST-VARIABLE)
W |Week profile for the recurrent day time objects
|(BC_CONST-WEEK)
Y |For unique time objects (single days)
|(BC_CONST-YEAR)

Functionality
If the window ID is set, it must be 'BARCx', where x can be SPACE, 1 to9 and A to Z; see dialog programming.