Assign Time Types To Time Pairs
Assign Time Types To Time Pairs
object
Function
use
Function TIMTP compares the time pairs with the daily work schedule. It converts times for which
there is no time data to time pairs of pair type 0. The resulting time pairs are assigned a processing
type and a time type via the Time Type Determination table (T555Z).
Syntax
procedure
Function TIMTP performs three different tasks:
1. Determine time identifier (relative position in the daily work schedule)
The time pairs that have been entered in the internal table TIP up to this point are compared with
the times in the daily work schedule (table TZP).
o Time pairs that encompass times in the daily work schedule are split so that each time pair
can be assigned to an interval formed from a sequence of daily work schedule times. This
determines the time identifier for the time pair. The time identifier describes the position of
the time pair in the daily work schedule.
o If the time pair had already been assigned a time identifier before TIMTP, this remains the
same.
2. Generate time pairs of pair type 0
o Time pairs of pair type 0 are generated to close gaps between time pairs. Pairs of pair type 0
indicate unrecorded times, that is, time intervals for which no data has been recorded. These
times are logged with pair type 0, to detect core time violations, for example.
3. Assign processing and time type according to the Time Type Determination table (T555Z)
o The system reads the Time Type Determination table (T555Z) using the time identifier and
the pair type of the TIP entry. This enables a processing type and time type to be determined
for the TIP entry.
o If the TIP entry already had a processing type and a time type before TIMTP, these remain
the same.
note
Combination with function TYPES:
<DS:HRDS.DSYSLO_ECIFUNT_TYPESAAAAAAAAAAAAAAA___0VVV>Function TYPES
determines the processing type and time type using class CLTIM, which can be derived for
absences and attendances from the subtype, rather than from the relative position in the daily work
schedule. If you want to process time data with and without time specifications, you can combine
functions TYPES and TIMTP in schema using TIME as the fourth parameter.
o Processing procedure for attendances with breaks:
If you want to import attendances that contain data on breaks, the daily work schedule is
changed as follows first: All breaks that intersect with a TIP pair originating from an
attendance you want to import are deleted from the daily work schedule. The breaks from
the absence are then imported into the daily work schedule. The above-mentioned
procedure 1 to 3 follows on from this.
INCLUDE CE_FUNT_01 OBJECT DOKU ID TX
see_also
Once this function has been processed, the breaks are not yet evaluated completely. If you work
with variable or paid breaks, you still have to process function PBRKS.
See also
Function PBRKS
Function TYPES