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 | 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 | Instance attribute | Private | Type reference (TYPE) | CHAR01 | Approval Authorization Y = Yes N = No | 19991018 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_EX_CATSXT_EVENT | Customer Exit catsxt_event | 20000315 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | CHAR01 | Change Authorization ? Y = Yes N = No | 19991018 | |||
| 4 | Constant | Private | Type reference (TYPE) | CHAR01 | 'D' | Value for Approval Authorization | 19991018 | ||
| 5 | Constant | Private | Type reference (TYPE) | CHAR01 | 'E' | Value for Change Authorization | 19991018 | ||
| 6 | Constant | Private | Type reference (TYPE) | CHAR01 | 'R' | Value for Display Authorization Check | 19991018 | ||
| 7 | Constant | Private | Type reference (TYPE) | CHAR01 | 'N' | No | 19991018 | ||
| 8 | Constant | Private | Type reference (TYPE) | XFELD | 'X' | X | 19991018 | ||
| 9 | Constant | Private | Type reference (TYPE) | CHAR01 | 'Y' | Yes | 19991018 | ||
| 10 | Instance attribute | Private | Type reference (TYPE) | CHAR01 | Display Authorization? Y = Yes N = No | 19991018 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | D | Start Date of Last Valid Infotype 0000 Record | 19991215 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | D | End Date of Last Valid Infotype 0000 Record | 19991215 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | XFELD | Lock for Employee Active | 19991018 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | STRING | Personnel Number Without Leading Zeros | 20000306 | |||
| 15 | Instance attribute | Public | Type reference (TYPE) | PERNR_D | Employee's Personnel Number | 19991018 | |||
| 16 | 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 | Instance method | Public | Method | Check Approval Authorization for Time Sheet | 19991018 | |
| 2 | Instance method | Private | Method | Check Authorization for Time Sheet | 19991018 | |
| 3 | Instance method | Public | Method | Check Change Authorization for Time Sheet | 19991018 | |
| 4 | Instance method | Public | Method | Check Display Authorization for Time Sheet | 19991018 | |
| 5 | Instance method | Private | Method | Check Personnel Number | 19991207 | |
| 6 | Instance method | Public | Constructor | Initialization | 19991018 | |
| 7 | Instance method | Public | Method | Unlock Employee | 19991018 | |
| 8 | Instance method | Public | Method | Lock Employee | 19991018 | |
| 9 | Instance method | Public | Method | Employee Data Valid on Certain Date | 19991221 | |
| 10 | Static method | Public | Method | Determine Text for Employee's Company Code | 19991018 | |
| 11 | Static method | Public | Method | Determine Text for Employee's Personnel Area | 19991018 | |
| 12 | Instance method | Public | Method | Determine Start/End Date of Last Valid Infotype 0000 Record | 19991215 | |
| 13 | Instance method | Private | Method | Initialize Customer Exit | 20000315 | |
| 14 | Instance method | Public | Method | Check Whether Employee is Active | 19991217 | |
| 15 | Instance method | Public | Method | Set Display/Change/Approval Authorization | 20000501 | |
| 16 | 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 | IM_BEGIN_DATE | Call by reference | Type reference (TYPE) | BEGDA | SY-DATUM | Beginn Datum für Berechtigungsprüfung | 19991018 | ||
| 2 | IM_END_DATE | Call by reference | Type reference (TYPE) | ENDDA | SY-DATUM | Ende Datum für Berechtigungsprüfung | 19991018 | ||
| 3 | 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 | Keine Genehmigungsberechtigung | 19991018 |
Method CHECK_AUTHORIZATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_ACTION | Call by reference | Type reference (TYPE) | CATSP_ACTION | 'E' = Ändern 'R' = Anzeigen 'D' = Genehmigen | 19991018 | |||
| 2 | IM_BEGIN_DATE | Call by reference | Type reference (TYPE) | BEGDA | SY-DATUM | Beginn Datum für Berechtigungsprüfung | 19991018 | ||
| 3 | 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 | 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 | IM_BEGIN_DATE | Call by reference | Type reference (TYPE) | BEGDA | SY-DATUM | Beginn Datum für Berechtigungsprüfung | 19991018 | ||
| 2 | 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 | Keine Anzeigeberechtigung | 19991018 |
Method CHECK_DISPLAY_AUTHORIZATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_BEGIN_DATE | Call by reference | Type reference (TYPE) | BEGDA | SY-DATUM | Beginn Datum für Berechtigungsprüfung | 19991018 | ||
| 2 | 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 | Keine Anzeigeberechtigung | 19991018 |
Method CHECK_PERSONNEL_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_GET_LAST_VALID | Call by reference | Type reference (TYPE) | XFELD | 'X' | Letzte gültige Daten liefern, wenn keine zum Gültigkeitsdat. | 19991215 | ||
| 2 | IM_PERSONNEL_NUMBER | Call by reference | Type reference (TYPE) | PERNR_D | Personalnummer des Mitarbeiters | 19991207 | |||
| 3 | IM_VALIDITY_DATE | Call by reference | Type reference (TYPE) | D | Gültigkeitsdatum der Personalnummer | 19991207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Berechtigung | 19991207 | ||
| 2 | Personalnummer existiert nicht | 19991207 | ||
| 3 | Infotyp 0001 existiert nicht | 19991207 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_PERSONNEL_NUMBER | Call by reference | Type reference (TYPE) | PERNR_D | Personalnummer des Mitarbeiters | 19991018 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Berechtigung | 19991018 | ||
| 2 | Personalnummer existiert nicht | 19991018 | ||
| 3 | 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 | 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 | Mitarbeiter bereits von anderem Benutzer gesperrt | 19991018 | ||
| 2 | Fehler in der Systemsperrverwaltung | 19991018 |
Method GET_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_EMPLOYEE_DATA | Call by reference | Type reference (TYPE) | CATSXT_TSDATA | Mitarbeiterdaten zum Gültigkeitsdatum | 19991221 | |||
| 2 | IM_GET_LAST_VALID | Call by reference | Type reference (TYPE) | XFELD | 'X' | Letzte gültige Daten liefern, wenn keine zum Gültigkeitsdat. | 19991221 | ||
| 3 | IM_VALIDITY_DATE | Call by reference | Type reference (TYPE) | SYDATUM | SY-DATUM | Gültigkeitsdatum | 19991221 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IM_COMPANY_CODE | Call by reference | Type reference (TYPE) | BUKRS | Buchungskreis | 19991018 | |||
| 2 | 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 | IM_PERSONNEL_AREA | Call by reference | Type reference (TYPE) | PERSA | Personalbereich | 19991018 | |||
| 2 | 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 | EX_BEGIN_DATE | Call by reference | Type reference (TYPE) | BEGDA | Gültigkeitsbeginn | 19991215 | |||
| 2 | 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 | 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 | 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 | IM_AUTHORIZATION_TYPE | Call by reference | Type reference (TYPE) | NUMC2 | '01' = Ändern '02' = Anzeigen, '03' = Genehmigen | 20000501 | |||
| 2 | IM_AUTHORIZED | Call by reference | Type reference (TYPE) | CHAR01 | 'Y' = Ja 'N' = Nein | 20000501 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Nur '01' =Ändern, '02' =Anzeigen, '03'= Genehmigen erlaubt | 20000501 | ||
| 2 | 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 | 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 |