SAP ABAP Class CL_EMPLOYEE_CATSXT (Employee - Working Time Recording)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   CA-TS (Application Component) Time Sheet
     CATX (Package) Enhancements for the Cross-Application Time Sheet (CATS)
Properties
Class CL_EMPLOYEE_CATSXT  
Short Description Employee - Working Time Recording    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CATX   Enhancements for the Cross-Application Time Sheet (CATS) 
Created 19991018   SAP 
Last change 20000124   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CATSP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_EMPLOYEE_CATSXT has no interface implemented.
Friends
Class CL_EMPLOYEE_CATSXT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 APPROVAL_AUTHORIZATION Instance attribute Private Type reference (TYPE) CHAR01 Approval Authorization Y = Yes N = No 19991018
2 BUSINESS_ADD_IN Instance attribute Private Object reference (TYPE REF TO) IF_EX_CATSXT_EVENT Customer Exit catsxt_event 20000315
3 CHANGE_AUTHORIZATION Instance attribute Private Type reference (TYPE) CHAR01 Change Authorization ? Y = Yes N = No 19991018
4 CO_APPROVAL_AUTHORIZATION Constant Private Type reference (TYPE) CHAR01 'D' Value for Approval Authorization 19991018
5 CO_CHANGE_AUTHORIZATION Constant Private Type reference (TYPE) CHAR01 'E' Value for Change Authorization 19991018
6 CO_DISPLAY_AUTHORIZATION Constant Private Type reference (TYPE) CHAR01 'R' Value for Display Authorization Check 19991018
7 CO_NO Constant Private Type reference (TYPE) CHAR01 'N' No 19991018
8 CO_X Constant Private Type reference (TYPE) XFELD 'X' X 19991018
9 CO_YES Constant Private Type reference (TYPE) CHAR01 'Y' Yes 19991018
10 DISPLAY_AUTHORIZATION Instance attribute Private Type reference (TYPE) CHAR01 Display Authorization? Y = Yes N = No 19991018
11 EMPLOYEE_BEGIN_DATE Instance attribute Private Type reference (TYPE) D Start Date of Last Valid Infotype 0000 Record 19991215
12 EMPLOYEE_END_DATE Instance attribute Private Type reference (TYPE) D End Date of Last Valid Infotype 0000 Record 19991215
13 ENQUEUE_ACTIVE Instance attribute Private Type reference (TYPE) XFELD Lock for Employee Active 19991018
14 PERNR_NO_ZERO Instance attribute Private Type reference (TYPE) STRING Personnel Number Without Leading Zeros 20000306
15 PERSONNEL_NUMBER Instance attribute Public Type reference (TYPE) PERNR_D Employee's Personnel Number 19991018
16 TSDATA Instance attribute Private Type reference (TYPE) CATSXT_TSDATA Employee's Data Relevant to Time Sheet 19991018
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_APPROVAL_AUTHORIZATION Instance method Public Method Check Approval Authorization for Time Sheet 19991018
2 CHECK_AUTHORIZATION Instance method Private Method Check Authorization for Time Sheet 19991018
3 CHECK_CHANGE_AUTHORIZATION Instance method Public Method Check Change Authorization for Time Sheet 19991018
4 CHECK_DISPLAY_AUTHORIZATION Instance method Public Method Check Display Authorization for Time Sheet 19991018
5 CHECK_PERSONNEL_NUMBER Instance method Private Method Check Personnel Number 19991207
6 CONSTRUCTOR Instance method Public Constructor Initialization 19991018
7 DEQUEUE Instance method Public Method Unlock Employee 19991018
8 ENQUEUE Instance method Public Method Lock Employee 19991018
9 GET_ATTRIBUTES Instance method Public Method Employee Data Valid on Certain Date 19991221
10 GET_COMPANY_CODE_TEXT Static method Public Method Determine Text for Employee's Company Code 19991018
11 GET_PERSONNEL_AREA_TEXT Static method Public Method Determine Text for Employee's Personnel Area 19991018
12 GET_VALIDITY_PERIOD Instance method Public Method Determine Start/End Date of Last Valid Infotype 0000 Record 19991215
13 INIT_CUSTOMER_EXIT Instance method Private Method Initialize Customer Exit 20000315
14 IS_ACTIVE Instance method Public Method Check Whether Employee is Active 19991217
15 SET_AUTHORIZATION Instance method Public Method Set Display/Change/Approval Authorization 20000501
16 SET_CUSTOMER_EXIT Instance method Public Method Initialize Customer Exit from External Program 20000315
Events
# Event Type Visibility Description Created on
1 APPROVAL_AUTHORIZATION_CHECKED Instance Event
(0)
Public
(2)
Check Overtime Approval 20000316
2 CHANGE_AUTHORIZATION_CHECKED Instance Event
(0)
Public
(2)
Check Display Authorization 20000316
3 DISPLAY_AUTHORIZATION_CHECKED Instance Event
(0)
Public
(2)
Check Change Authorization 20000316
Types
Class CL_EMPLOYEE_CATSXT has no local type.
Method Signatures

Method CHECK_APPROVAL_AUTHORIZATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BEGIN_DATE Call by reference Type reference (TYPE) BEGDA SY-DATUM Beginn Datum für Berechtigungsprüfung 19991018
2 Importing IM_END_DATE Call by reference Type reference (TYPE) ENDDA SY-DATUM Ende Datum für Berechtigungsprüfung 19991018
3 Importing IM_SEND_MESSAGE Call by reference Type reference (TYPE) XFELD SPACE 'S' Message CATSXT 066 bei fehlender Berechtigung ausgeben ? 20000809
# Exception Resumable Description Created on
1 FAILED Keine Genehmigungsberechtigung 19991018

Method CHECK_AUTHORIZATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ACTION Call by reference Type reference (TYPE) CATSP_ACTION 'E' = Ändern 'R' = Anzeigen 'D' = Genehmigen 19991018
2 Importing IM_BEGIN_DATE Call by reference Type reference (TYPE) BEGDA SY-DATUM Beginn Datum für Berechtigungsprüfung 19991018
3 Importing IM_END_DATE Call by reference Type reference (TYPE) BEGDA SY-DATUM Ende Datum für Berechtigungsprüfung 19991018
# Exception Resumable Description Created on
1 FAILED Keine Berechtigung für gewünschte Prozessierung 19991018

Method CHECK_CHANGE_AUTHORIZATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BEGIN_DATE Call by reference Type reference (TYPE) BEGDA SY-DATUM Beginn Datum für Berechtigungsprüfung 19991018
2 Importing IM_END_DATE Call by reference Type reference (TYPE) ENDDA SY-DATUM Ende Datum für Berechtigungsprüfung 19991018
# Exception Resumable Description Created on
1 FAILED Keine Anzeigeberechtigung 19991018

Method CHECK_DISPLAY_AUTHORIZATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BEGIN_DATE Call by reference Type reference (TYPE) BEGDA SY-DATUM Beginn Datum für Berechtigungsprüfung 19991018
2 Importing IM_END_DATE Call by reference Type reference (TYPE) ENDDA SY-DATUM Ende Datum für Berechtigungsprüfung 19991018
# Exception Resumable Description Created on
1 FAILED Keine Anzeigeberechtigung 19991018

Method CHECK_PERSONNEL_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_GET_LAST_VALID Call by reference Type reference (TYPE) XFELD 'X' Letzte gültige Daten liefern, wenn keine zum Gültigkeitsdat. 19991215
2 Importing IM_PERSONNEL_NUMBER Call by reference Type reference (TYPE) PERNR_D Personalnummer des Mitarbeiters 19991207
3 Importing IM_VALIDITY_DATE Call by reference Type reference (TYPE) D Gültigkeitsdatum der Personalnummer 19991207
# Exception Resumable Description Created on
1 NOT_AUTHORIZED Keine Berechtigung 19991207
2 PERSONNEL_NUMBER_NOT_FOUND Personalnummer existiert nicht 19991207
3 RECORD_NOT_FOUND Infotyp 0001 existiert nicht 19991207

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PERSONNEL_NUMBER Call by reference Type reference (TYPE) PERNR_D Personalnummer des Mitarbeiters 19991018
# Exception Resumable Description Created on
1 NOT_AUTHORIZED Keine Berechtigung 19991018
2 PERSONNEL_NUMBER_NOT_FOUND Personalnummer existiert nicht 19991018
3 RECORD_NOT_FOUND Infotyp 0001 existiert nicht 19991018

Method DEQUEUE Signature

Method DEQUEUE on class CL_EMPLOYEE_CATSXT has no parameter.
Method DEQUEUE on class CL_EMPLOYEE_CATSXT has no exception.

Method ENQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_ENQUEUE_USER Call by reference Type reference (TYPE) UNAME ID des Benutzers, der das Objekt bereits sperrt 20000126
# Exception Resumable Description Created on
1 FOREIGN_LOCK Mitarbeiter bereits von anderem Benutzer gesperrt 19991018
2 SYSTEM_ERROR Fehler in der Systemsperrverwaltung 19991018

Method GET_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_EMPLOYEE_DATA Call by reference Type reference (TYPE) CATSXT_TSDATA Mitarbeiterdaten zum Gültigkeitsdatum 19991221
2 Importing IM_GET_LAST_VALID Call by reference Type reference (TYPE) XFELD 'X' Letzte gültige Daten liefern, wenn keine zum Gültigkeitsdat. 19991221
3 Importing IM_VALIDITY_DATE Call by reference Type reference (TYPE) SYDATUM SY-DATUM Gültigkeitsdatum 19991221
# Exception Resumable Description Created on
1 FAILED Kein Daten zum angegebenen Gültigkeitsdatum gefunden 19991221

Method GET_COMPANY_CODE_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_COMPANY_CODE Call by reference Type reference (TYPE) BUKRS Buchungskreis 19991018
2 Returning RE_COMPANY_CODE_TEXT Value transfer Type reference (TYPE) BUTXT Buchungskreistext 19991018

Method GET_COMPANY_CODE_TEXT on class CL_EMPLOYEE_CATSXT has no exception.

Method GET_PERSONNEL_AREA_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PERSONNEL_AREA Call by reference Type reference (TYPE) PERSA Personalbereich 19991018
2 Returning RE_PERSONNEL_AREA_TEXT Value transfer Type reference (TYPE) PBTXT Text zum Personalbereich 19991018

Method GET_PERSONNEL_AREA_TEXT on class CL_EMPLOYEE_CATSXT has no exception.

Method GET_VALIDITY_PERIOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_BEGIN_DATE Call by reference Type reference (TYPE) BEGDA Gültigkeitsbeginn 19991215
2 Exporting EX_END_DATE Call by reference Type reference (TYPE) ENDDA Gültigkeitsende 19991215

Method GET_VALIDITY_PERIOD on class CL_EMPLOYEE_CATSXT has no exception.

Method INIT_CUSTOMER_EXIT Signature

Method INIT_CUSTOMER_EXIT on class CL_EMPLOYEE_CATSXT has no parameter.
Method INIT_CUSTOMER_EXIT on class CL_EMPLOYEE_CATSXT has no exception.

Method IS_ACTIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_VALIDITY_DATE Call by reference Type reference (TYPE) SYDATUM SY-DATUM Prüfe, ob Mitarbeiter aktiv ist 19991217
# Exception Resumable Description Created on
1 NOT_ACTIVE Mitarbeiter ist zu angegebenem Datum nicht aktiv 19991217

Method SET_AUTHORIZATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_AUTHORIZATION_TYPE Call by reference Type reference (TYPE) NUMC2 '01' = Ändern '02' = Anzeigen, '03' = Genehmigen 20000501
2 Importing IM_AUTHORIZED Call by reference Type reference (TYPE) CHAR01 'Y' = Ja 'N' = Nein 20000501
# Exception Resumable Description Created on
1 INVALID_AUTHORIZATION_TYPE Nur '01' =Ändern, '02' =Anzeigen, '03'= Genehmigen erlaubt 20000501
2 INVALID_AUTHORIZATION_VALUE Nur 'Y' = Ja und 'N' = Nein erlaubt 20000501

Method SET_CUSTOMER_EXIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BADI_OBJREF Call by reference Object reference (TYPE REF TO) IF_EX_CATSXT_EVENT Objektreferenz auf Business Add In catsxt_event 20000315

Method SET_CUSTOMER_EXIT on class CL_EMPLOYEE_CATSXT has no exception.
Event Signatures

Event APPROVAL_AUTHORIZATION_CHECKED Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 EX_APPROVAL_AUTHORIZATION Exporting Value transfer Type reference (TYPE) CHAR01 'Y' = Berechtigt 'N' = nicht berechtigt 20000316

Event CHANGE_AUTHORIZATION_CHECKED Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 EX_CHANGE_AUTHORIZATION Exporting Value transfer Type reference (TYPE) CHAR01 'Y' = Berechtigt 'N' = nicht berechtigt 20000316

Event DISPLAY_AUTHORIZATION_CHECKED Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 EX_DISPLAY_AUTHORIZATION Exporting Value transfer Type reference (TYPE) CHAR01 'Y' = Berechtigt 'N' = nicht berechtigt 20000316
History
Last changed by/on SAP  20000124 
SAP Release Created in 46C