SAP ABAP Class CL_HRPAYBR_ELEC_TIME_CLOCK (Main class for electronic time clock)
Hierarchy
SAP_HRCBR (Software Component) Sub component SAP_HRCBR of SAP_HR
   PY-BR (Application Component) Brazil
     PC37 (Package) HR settlement: Brazil
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_HRPAYBR_REPORT 20110310
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_HRPAYBR_ELEC_TIME_AFDT Class for time sheet statement 20110316
2 Inheritance (c INHERITING FROM c_ref)  CL_HRPAYBR_ELEC_TIME_TMSH Class for time sheet statement 20110310
Properties
Class CL_HRPAYBR_ELEC_TIME_CLOCK  
Short Description Main class for electronic time clock    
Super Class CL_HRPAYBR_REPORT  
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PC37   HR settlement: Brazil 
Created 20110217   SAP 
Last change 20131127   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 PBR06 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 PBR41 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_HRPAYBR_ELEC_TIME_CLOCK has no interface implemented.
Friends
Class CL_HRPAYBR_ELEC_TIME_CLOCK has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_ATTRIB_CLASS Static Attribute Private Type reference (TYPE) P_99B_HRATTRIBUTE 'CL_T550A_KEY' HR attribute 20110310
2 MC_DISREGARDED Static Attribute Protected Type reference (TYPE) C 'D' 20110310
3 MC_ENTERED_MANUALLY Static Attribute Protected Type reference (TYPE) C 'I' 20110310
4 MC_HR_ATTRIBUTE Static Attribute Private Type reference (TYPE) P_99B_HRATTRIBUTE 'AT_TPROG' HR attribute 20110310
5 MC_INTERVAL_PRE_MARKED Static Attribute Protected Type reference (TYPE) C 'P' 20110310
6 MC_MOLGA Static Attribute Private Type reference (TYPE) MOLGA 37 Country grouping 20110310
7 MC_ORIGINAL Static Attribute Protected Type reference (TYPE) C 'O' 20110310
8 MC_PRESENCE_INFTY Constant Private Type reference (TYPE) INFTY '2002' Infotype 20111116
9 MC_TEVEN_ESS Static Attribute Protected Type reference (TYPE) C 'E' 20110310
10 MC_TEVEN_MANUAL Static Attribute Protected Type reference (TYPE) C 'M' 20110310
11 MO_READER Instance attribute Private Object reference (TYPE REF TO) LIF_HRPAYBR_ELEC_TIME_CLOCK 20130130
12 MT_BREAK_SCHEDULE Instance attribute Protected Type reference (TYPE) PBR41_T_T550P 20110310
13 MT_CACHE_BREAK_SCHEDULE Instance attribute Private Type reference (TYPE) PBR41_T_READ_T550P 20110310
14 MT_INFTY_2001_2002 Instance attribute Protected Type reference (TYPE) PBR41_T_INFTY_2001_2002 Infotypes 2001 and 2002 20110310
15 MT_P0007 Instance attribute Protected Type reference (TYPE) P0007_TAB HR master record: infotype 0007 (Planned working time) 20110310
16 MT_P0050 Instance attribute Private Type reference (TYPE) PBR41_T_P0050 20110310
17 MT_P0398 Instance attribute Private Type reference (TYPE) PBR_T_P0398 Homolognet: Infotype 0398 20110310
18 MT_P2002 Instance attribute Private Type reference (TYPE) P2002_TAB Infotype 2002 personnel time recording (presences) 20110310
19 MT_PERS_AVAIL Instance attribute Protected Type reference (TYPE) PBR41_T_PDPSP 20110310
20 MT_PLANNED_HOUR Instance attribute Protected Type reference (TYPE) PBR41_T_PLANNED_HR 20110310
21 MT_T001P Instance attribute Private Type reference (TYPE) PBR41_T_T001P 20110310
22 MT_T503 Instance attribute Private Type reference (TYPE) PBR41_T_T503 20110310
23 MT_T554T Instance attribute Private Type reference (TYPE) PBR41_T_T554T 20110310
24 MT_T705H Instance attribute Private Type reference (TYPE) PBR41_T_T705H to 20110310
25 MT_TEVEN Instance attribute Protected Type reference (TYPE) PBR41_T_TEVEN 20110310
26 MT_WORKED_HOUR Instance attribute Protected Type reference (TYPE) PBR41_T_WORKED_HR 20110310
27 MV_HIRE_DATE Instance attribute Protected Type reference (TYPE) DATS Hiring date 20110310
28 MV_PISNR Instance attribute Protected Type reference (TYPE) P0465-PIS_NR SIP/PSHFP number 20110310
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_FLEXIBLE_INTERVAL Instance method Protected Method Checks if the employee has a flexible interval 20110310
2 CHECK_REASON_TEVEN Instance method Protected Method Checks if there is any time event manipulated w/o reason 20110310
3 COMPLETE_WITH_INFOTYPE_DATA Instance method Protected Method Completes schedule performed w/data from IT2001 and IT2002 20110310
4 COMPLETE_WITH_TEVEN_DATA Instance method Protected Method Completes the schedule performed with data from IT2011 20110310
5 COMPLETE_WORKED_HOURS Instance method Protected Method Completes worked hours 20110310
6 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20110310
7 GET_BREAKS Instance method Private Method 20111116
8 GET_CURRENT_PERIOD Instance method Protected Method Delimits begda and endda according to hiring and termination 20110310
9 GET_ENTRANCE_HOUR Instance method Private Method 20111116
10 GET_EXIT_HOUR Instance method Private Method 20130604
11 GET_PLANNED_HOURS Instance method Public Method Returns the planned schedule of the employee 20110310
12 GET_REASON_TXT_SUBTY Instance method Protected Method Reading of description of subtypes for 2001 and 2002 20110310
13 GET_REASON_TXT_TEVEN Instance method Protected Method Reading of justification of manual change of time events 20110310
14 IS_EE_REGISTER_BREAK Instance method Private Method 20111116
15 READ_ABSCENCE_ATTENDANCE Instance method Protected Method Reading of infotypes 2001 and 2002 20110310
16 READ_BREAK_FOR_WORKED_DAYS Instance method Protected Method Reading of breaks for worked days 20110310
17 READ_BREAK_SCHEDULES Instance method Protected Method Reading of planned breaks of the employee 20110310
18 READ_PLANNED_HOURS Instance method Protected Method Reading of planned schedule of the employee 20110310
19 READ_WORKED_HOURS Instance method Protected Method Reading of time events TEVEN 20110310
20 SET_EMPLOYEE Instance method Public Method Defines the employee to be processed 20110310
Events
Class CL_HRPAYBR_ELEC_TIME_CLOCK has no event.
Types
Class CL_HRPAYBR_ELEC_TIME_CLOCK has no local type.
Method Signatures

Method CHECK_FLEXIBLE_INTERVAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_HOUR Call by reference Type reference (TYPE) PBR_BEGHR Entry hour 20110310
2 Importing IV_PABEG Call by reference Type reference (TYPE) T550P-PABEG Break start 20110310
3 Importing IV_PAEND Call by reference Type reference (TYPE) T550P-PAEND End of break 20110310
4 Importing IV_PDBEZ Call by reference Type reference (TYPE) T550P-PDBEZ Duration of paid break 20110310
5 Importing IV_PDUNB Call by reference Type reference (TYPE) T550P-PDUNB Duration of unpaid break 20110310

Method CHECK_FLEXIBLE_INTERVAL on class CL_HRPAYBR_ELEC_TIME_CLOCK has no exception.

Method CHECK_REASON_TEVEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_SUCCESS Call by reference Type reference (TYPE) ABAP_BOOL 20110310
2 Importing IT_TEVEN Call by reference Type reference (TYPE) PBR41_T_TEVEN 20110310

Method CHECK_REASON_TEVEN on class CL_HRPAYBR_ELEC_TIME_CLOCK has no exception.

Method COMPLETE_WITH_INFOTYPE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_WORKED_HOUR Call by reference Type reference (TYPE) PBR41_T_WORKED_HR 20110310
2 Exporting EV_SUCCESS Call by reference Type reference (TYPE) ABAP_BOOL 20110310
3 Importing IS_P0001 Call by reference Type reference (TYPE) P0001 20110310
4 Importing IS_PERS_AVAIL Call by reference Type reference (TYPE) PBR41_PDPSP Personnel shift schedule incl.abs./presence/availab.work etc 20110310
5 Importing IS_TPROG_BEFORE Call by reference Type reference (TYPE) TPROG Daily work schedule 20110310
6 Importing IT_INFTY_2001_2002 Call by reference Type reference (TYPE) PBR41_T_INFTY_2001_2002 20110310

Method COMPLETE_WITH_INFOTYPE_DATA on class CL_HRPAYBR_ELEC_TIME_CLOCK has no exception.

Method COMPLETE_WITH_TEVEN_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_WORKED_HOUR Call by reference Type reference (TYPE) PBR41_T_WORKED_HR 20110310
2 Exporting EV_SUCCESS Call by reference Type reference (TYPE) ABAP_BOOL 20110310
3 Importing IS_P0001 Call by reference Type reference (TYPE) P0001 HR master record: infotype 0001 (organizational assignment) 20110310
4 Importing IS_P0050 Call by reference Type reference (TYPE) P0050 HR master record: infotype 0050 (time record info) 20110310
5 Importing IS_PERS_AVAIL Call by reference Type reference (TYPE) PBR41_PDPSP Personnel shift schedule incl.abs./presence/availab.work etc 20110310
6 Importing IT_TEVEN Call by reference Type reference (TYPE) PBR41_T_TEVEN 20110310

Method COMPLETE_WITH_TEVEN_DATA on class CL_HRPAYBR_ELEC_TIME_CLOCK has no exception.

Method COMPLETE_WORKED_HOURS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_WORKED_HOUR Call by reference Type reference (TYPE) PBR41_T_WORKED_HR 20110310
2 Exporting EV_SUCCESS Call by reference Type reference (TYPE) ABAP_BOOL 20110310
3 Importing IT_INFTY_2001_2002 Call by reference Type reference (TYPE) PBR41_T_INFTY_2001_2002 20110310
4 Importing IT_PERS_AVAIL Call by reference Type reference (TYPE) PBR41_T_PDPSP 20110310
5 Importing IT_TEVEN Call by reference Type reference (TYPE) PBR41_T_TEVEN 20110310

Method COMPLETE_WORKED_HOURS on class CL_HRPAYBR_ELEC_TIME_CLOCK has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BEGDA Call by reference Type reference (TYPE) BEGDA Valid from date 20110310
2 Importing IV_ENDDA Call by reference Type reference (TYPE) ENDDA Valid to date 20110310

Method CONSTRUCTOR on class CL_HRPAYBR_ELEC_TIME_CLOCK has no exception.

Method GET_BREAKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_TEVEN Call by reference Type reference (TYPE) PBR41_T_TEVEN 20111116
2 Importing IT_BREAK_SCHEDULE Call by reference Type reference (TYPE) PBR41_T_T550P 20111116
3 Importing IV_BEG_HOUR Call by reference Type reference (TYPE) PABEG 20111116
4 Importing IV_DATUM Call by reference Type reference (TYPE) DATUM 20111116
5 Importing IV_END_HOUR Call by reference Type reference (TYPE) PAEND 20111116
6 Importing IV_MOTPR Call by reference Type reference (TYPE) MOTPR 20111116
7 Importing IV_PAMOD Call by reference Type reference (TYPE) PAMOD 20111116

Method GET_BREAKS on class CL_HRPAYBR_ELEC_TIME_CLOCK has no exception.

Method GET_CURRENT_PERIOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CURRENT_BEGDA Call by reference Type reference (TYPE) BEGDA Valid from date 20110310
2 Exporting EV_CURRENT_ENDDA Call by reference Type reference (TYPE) ENDDA Valid to date 20110310
3 Importing IV_BEGDA Call by reference Type reference (TYPE) BEGDA Valid from date 20110310
4 Importing IV_ENDDA Call by reference Type reference (TYPE) ENDDA Valid to date 20110310

Method GET_CURRENT_PERIOD on class CL_HRPAYBR_ELEC_TIME_CLOCK has no exception.

Method GET_ENTRANCE_HOUR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TEVEN Call by reference Type reference (TYPE) PBR41_T_TEVEN 20111116
2 Importing IV_DATUM Call by reference Type reference (TYPE) DATUM Date 20111116
3 Returning RV_BEG_HOUR Value transfer Type reference (TYPE) LTIME Logical hour 20111116
# Exception Resumable Description Created on
1 CX_HRPAYBR_INFTY_NOT_FOUND Infotypes not found 20111116

Method GET_EXIT_HOUR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TEVEN Call by reference Type reference (TYPE) PBR41_T_TEVEN 20130604
2 Importing IV_DATUM Call by reference Type reference (TYPE) DATUM Date 20130604
3 Returning RV_END_HOUR Value transfer Type reference (TYPE) LTIME Logical hour 20130604
# Exception Resumable Description Created on
1 CX_HRPAYBR_INFTY_NOT_FOUND Infotypes not found 20130604

Method GET_PLANNED_HOURS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PLANNED_HOUR Call by reference Type reference (TYPE) PBR41_T_PLANNED_HR 20110310

Method GET_PLANNED_HOURS on class CL_HRPAYBR_ELEC_TIME_CLOCK has no exception.

Method GET_REASON_TXT_SUBTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_REASON_TXT Call by reference Type reference (TYPE) ABANGRTXT Denomination of type of presence/absence 20110310
2 Importing IS_T001P Call by reference Type reference (TYPE) T001P HR areas/subareas 20110310
3 Importing IV_AWART Call by reference Type reference (TYPE) AWART Personnel shift schedule incl.abs./presence/availab.work etc 20110310

Method GET_REASON_TXT_SUBTY on class CL_HRPAYBR_ELEC_TIME_CLOCK has no exception.

Method GET_REASON_TXT_TEVEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_REASON_TXT Call by reference Type reference (TYPE) ABANGRTXT 20110310
2 Importing IS_P0001 Call by reference Type reference (TYPE) P0001 HR master record: infotype 0001 (organizational assignment) 20110310
3 Importing IS_P0050 Call by reference Type reference (TYPE) P0050 HR master record: infotype 0050 (time record info) 20110310
4 Importing IS_PERS_AVAIL Call by reference Type reference (TYPE) PBR41_PDPSP Personnel shift schedule incl.abs./presence/availab.work etc 20110310
5 Importing IS_TEVEN Call by reference Type reference (TYPE) PBR41_S_TEVEN 20110310

Method GET_REASON_TXT_TEVEN on class CL_HRPAYBR_ELEC_TIME_CLOCK has no exception.

Method IS_EE_REGISTER_BREAK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATUM Call by reference Type reference (TYPE) DATUM Date 20111116
2 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20111116

Method IS_EE_REGISTER_BREAK on class CL_HRPAYBR_ELEC_TIME_CLOCK has no exception.

Method READ_ABSCENCE_ATTENDANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_INFTY_2001_2002 Call by reference Type reference (TYPE) PBR41_T_INFTY_2001_2002 20110310
2 Importing IT_P2001 Call by reference Type reference (TYPE) P2001_TAB Personnel time recording: infotype 2001 (absences) 20110310
3 Importing IT_P2002 Call by reference Type reference (TYPE) P2002_TAB Infotype 2002 personnel time recording (presences) 20110310
4 Importing IV_BEGDA Call by reference Type reference (TYPE) BEGDA Valid from date 20110310
5 Importing IV_ENDDA Call by reference Type reference (TYPE) ENDDA Valid to date 20110310

Method READ_ABSCENCE_ATTENDANCE on class CL_HRPAYBR_ELEC_TIME_CLOCK has no exception.

Method READ_BREAK_FOR_WORKED_DAYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_TEVEN Call by reference Type reference (TYPE) PBR41_T_TEVEN 20110310
2 Importing IT_BREAK_SCHEDULE Call by reference Type reference (TYPE) PBR41_T_T550P 20110310
3 Importing IT_PERS_AVAIL Call by reference Type reference (TYPE) PBR41_T_PDPSP 20110310

Method READ_BREAK_FOR_WORKED_DAYS on class CL_HRPAYBR_ELEC_TIME_CLOCK has no exception.

Method READ_BREAK_SCHEDULES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_BREAK_SCHEDULE Call by reference Type reference (TYPE) PBR41_T_T550P 20110310
2 Importing IV_MOTPR Call by reference Type reference (TYPE) PBR41_PDPSP-MOTPR Personnel subarea grouping for daily work schedules 20110310
3 Importing IV_PAMOD Call by reference Type reference (TYPE) PBR41_PDPSP-PAMOD Work break schedule 20110310

Method READ_BREAK_SCHEDULES on class CL_HRPAYBR_ELEC_TIME_CLOCK has no exception.

Method READ_PLANNED_HOURS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_BREAK_SCHEDULE Call by reference Type reference (TYPE) PBR41_T_T550P 20110310
2 Changing CT_PERS_AVAIL Call by reference Type reference (TYPE) PBR41_T_PDPSP 20110310
3 Changing CT_PLANNED_HOUR Call by reference Type reference (TYPE) PBR41_T_PLANNED_HR 20110310
4 Exporting EV_SUCCESS Value transfer Type reference (TYPE) ABAP_BOOL 20110310
5 Importing IV_BEGDA Call by reference Type reference (TYPE) BEGDA Valid from date 20110310
6 Importing IV_ENDDA Call by reference Type reference (TYPE) ENDDA Valid to date 20110310

Method READ_PLANNED_HOURS on class CL_HRPAYBR_ELEC_TIME_CLOCK has no exception.

Method READ_WORKED_HOURS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_TEVEN Call by reference Type reference (TYPE) PBR41_T_TEVEN 20110310
2 Exporting EV_SUCCESS Value transfer Type reference (TYPE) ABAP_BOOL 20110310
3 Importing IT_BREAK_SCHEDULE Call by reference Type reference (TYPE) PBR41_T_T550P 20110310
4 Importing IT_PERS_AVAIL Call by reference Type reference (TYPE) PBR41_T_PDPSP 20110310
5 Importing IV_BEGDA Call by reference Type reference (TYPE) BEGDA Company code 20110310
6 Importing IV_ENDDA Call by reference Type reference (TYPE) ENDDA Valid to date 20110310

Method READ_WORKED_HOURS on class CL_HRPAYBR_ELEC_TIME_CLOCK has no exception.

Method SET_EMPLOYEE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PERNR Call by reference Type reference (TYPE) PERNR Standard selections for reporting HR master data 20110310
2 Importing IT_P0000 Call by reference Type reference (TYPE) P0000_TAB HR master record: infotype 0000 (Personnel actions) 20110310
3 Importing IT_P0001 Call by reference Type reference (TYPE) P0001_TAB HR master record: infotype 0001 (organizational assignment) 20110310
4 Importing IT_P0002 Call by reference Type reference (TYPE) P0002_TAB HR master record infotype 0002 (personal data) 20110310
5 Importing IT_P0007 Call by reference Type reference (TYPE) P0007_TAB HR master record: infotype 0007 (Planned working time) 20110310
6 Importing IT_P0050 Call by reference Type reference (TYPE) PBR41_T_P0050 20110310
7 Importing IT_P0398 Call by reference Type reference (TYPE) PBR_T_P0398 Homolognet: Infotype 0398 20110310
8 Importing IT_P0465 Call by reference Type reference (TYPE) P0465_TAB Internal table for P0465 20110310
9 Importing IT_P2001 Call by reference Type reference (TYPE) P2001_TAB Personnel time recording: infotype 2001 (absences) 20110310
10 Importing IT_P2002 Call by reference Type reference (TYPE) P2002_TAB Infotype 2002 personnel time recording (presences) 20110310

Method SET_EMPLOYEE on class CL_HRPAYBR_ELEC_TIME_CLOCK has no exception.
History
Last changed by/on SAP  20131127 
SAP Release Created in