SAP ABAP Class CL_HR_PAY_ACCESS (Access to payroll results)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PY-XX (Application Component) Payroll: General Parts
     PCAL_CLST (Package) Payroll Result: Display
Properties
Class CL_HR_PAY_ACCESS  
Short Description Access to payroll results    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PCAL_CLST   Payroll Result: Display 
Created 20011026   SAP 
Last change 20060208   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_HRCE_MASTERSWITCHES Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_HR_PAY_ACCESS has no interface implemented.
Friends
Class CL_HR_PAY_ACCESS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 A_AUTHORIZATION_CHECK Instance attribute Private Type reference (TYPE) XFLAG 'X' 'X' = perform authorization check 20020220
2 A_AUTHORIZATION_TABLE Static Attribute Private Type reference (TYPE) TT_AUTHORIZATION_TABLE Buffers authorization checks 20020220
3 A_BUFFER Instance attribute Private Object reference (TYPE REF TO) CL_HR_PAY_BUFFER Buffer of payroll results 20020102
4 A_CALLING_PROGRAM Instance attribute Private Type reference (TYPE) OLD_PROG ABAP: program name 20020108
5 A_CE_IS_ACTIVE Instance attribute Private Type reference (TYPE) XFLAG New input values 20020117
6 A_RUN_DATE Instance attribute Private Type reference (TYPE) SYDATUM Date, current (application server) date 20020117
7 A_RUN_TIME Instance attribute Private Type reference (TYPE) SYTIME Time, current (application server) time 20020826
8 C_CA_VERSION Constant Private Type reference (TYPE) RPVNR '01' 20050801
9 C_CU_VERSION Constant Private Type reference (TYPE) RPVNR '99' 20050801
10 C_FALSE Constant Public Type reference (TYPE) XFLAG ' ' Boolean false 20011026
11 C_READ Constant Private Type reference (TYPE) CHAR08 'READ' Operation READ 20020220
12 C_TRUE Constant Public Type reference (TYPE) XFLAG 'X' Boolean true 20011026
13 C_UPDATE Constant Private Type reference (TYPE) CHAR08 'UPDATE' Operation UPDATE 20020220
14 C_WRITE Constant Private Type reference (TYPE) CHAR08 'WRITE' Operation WRITE 20020220
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_AUTHORIZATION Static method Private Method Check read/write authorization for cluster 20020220
2 CHECK_RGDIR_ENTRIES Instance method Private Method Check, if transparent table HRPY_RGDIR is filled 20011026
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20011026
4 DETERMINE_MOLGA Instance method Private Method Determine molga of pernr 20011026
5 GET_PARTICIPATING_PERNRS Instance method Public Method Find pernrs participating in payroll run (CE) 20020220
6 GET_PR_PERAS_INSTANCE Static method Public Method 20040730
7 GET_PR_PERSON_INSTANCE Static method Public Method 20040730
8 INITIALIZE_BUFFER_FROM_TBUFF Instance method Public Method Initialize read/write buffer from "old" payroll TBUFF buffer 20020426
9 READ_CLUSTER_DIR Instance method Public Method Read payroll cluster directory RGDIR of ONE pernr 20011026
10 READ_CLUSTER_DIR_EVP Instance method Public Method Read payroll cluster directory of ONE pernr with CD_EVP 20011026
11 READ_CLUSTER_DIR_EVP_VOID Instance method Public Method Read payroll cluster directory of ONE pernr with CD_EVP 20011026
12 READ_PA_RESULT Instance method Public Method Read payroll result of ONE pernr 20011026
13 READ_PE_RESULT Instance method Public Method Read the payroll result of a person (CE) 20011026
14 READ_RESULT Instance method Public Method Read all payroll results of a person (PAs and PE) (CE) 20011026
15 RESET_BUFFER Instance method Public Method Initialize read/write buffer 20020220
16 WRITE_CLUSTER_DIR Instance method Public Method Write payroll cluster directory on ONE pernr to buffer 20020823
17 WRITE_PA_RESULT Instance method Public Method Write payroll result of ONE pernr to buffer 20020418
18 WRITE_RESULT Instance method Public Method Write payroll results of person to buffer (PAs and PE) (CE) 20020116
19 WRITE_TO_DATABASE Instance method Public Method Update database tables (PCLx) from buffer 20020117
Events
Class CL_HR_PAY_ACCESS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_AUTHORIZATION_TABLE Private See coding 20020220 BEGIN OF s_authorization_table, relid TYPE t500l-relid, operation TYPE char6, authorization TYPE xflag, simulation TYPE xflag, END OF s_authorization_table
2 TT_AUTHORIZATION_TABLE Private See coding 20020220 tt_authorization_table TYPE STANDARD TABLE OF s_authorization_table
Method Signatures

Method CHECK_AUTHORIZATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning AUTHORIZATION Value transfer Type reference (TYPE) XFLAG 'X' = Berechtigungsprfg. ok, ' ' = Berechtigungsprfg. fehlg. 20020220
2 Importing CLUSTERID Call by reference Type reference (TYPE) RELID_PCL2 Bereichskennung auf Import/Export-Datenbank PCL2 20020220
3 Importing OPERATION Call by reference Type reference (TYPE) CHAR08 C_READ Lese-/Schreiboperation 20020220

Method CHECK_AUTHORIZATION on class CL_HR_PAY_ACCESS has no exception.

Method CHECK_RGDIR_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ENTRIES_EXIST Value transfer Type reference (TYPE) XFLAG 'X' = Einträge in rgdir vorhanden 20011026
2 Importing PERNR Call by reference Type reference (TYPE) P_PERNR Personalnummer 20011026

Method CHECK_RGDIR_ENTRIES on class CL_HR_PAY_ACCESS has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CHECK_AUTHORIZATION Call by reference Type reference (TYPE) XFLAG 'X' 'X' = Berechtigungsprüfung, ' ' = Keine Prüfung 20020220
# Exception Resumable Description Created on
1 TYPE_ERROR Klasse Abrechnungsergebnis passt nicht zu Ländergruppierung 20011026

Method DETERMINE_MOLGA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning MOLGA Value transfer Type reference (TYPE) MOLGA 20011026
2 Importing PERNR Call by reference Type reference (TYPE) P_PERNR Personalnummer 20011026

Method DETERMINE_MOLGA on class CL_HR_PAY_ACCESS has no exception.

Method GET_PARTICIPATING_PERNRS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MOLGA Call by reference Type reference (TYPE) MOLGA Ländergruppierung 20020220
2 Importing PERIOD Call by reference Type reference (TYPE) PC261 Zu importierende Auswertungsperiode 20020220
3 Importing PERNR Call by reference Type reference (TYPE) PERNR_D Beschäftigungsvertrag 20020403
4 Exporting PERNR_TAB Call by reference Type reference (TYPE) PCCET_PERNR_UNSORTED Beschäftigungsvertrag 20020220
# Exception Resumable Description Created on
1 NO_ENTRIES_FOUND Kein Datenbankeintrag für Schlüssel 20020220

Method GET_PR_PERAS_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_PAY_RESULT Call by reference Object reference (TYPE REF TO) CL_HR_PAY_RESULT 20040914
2 Importing IM_AUTH_CHECK Call by reference Type reference (TYPE) XFELD C_TRUE 20040914
3 Importing IM_MOLGA Call by reference Type reference (TYPE) MOLGA 20040730
# Exception Resumable Description Created on
1 COUNTRY_VERSION_NOT_AVAILABLE 20040730
2 NO_AUTHORIZATION 20040730

Method GET_PR_PERSON_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_AUTH_CHECK Call by reference Type reference (TYPE) XFELD C_TRUE 20040914
2 Importing IM_MOLGA Call by reference Type reference (TYPE) MOLGA 20040730
3 Exporting RE_PAY_RESULT_PERSON Call by reference Object reference (TYPE REF TO) CL_HR_PAY_RESULT_PERSON 20040730
# Exception Resumable Description Created on
1 COUNTRY_VERSION_NOT_AVAILABLE 20040730
2 NO_AUTHORIZATION 20040730

Method INITIALIZE_BUFFER_FROM_TBUFF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BUFFER Call by reference Type reference (TYPE) PAY99_T_TBUFF Abrechnungspuffer TBUFF 20020426
2 Importing BUFFER_DIR Call by reference Type reference (TYPE) PAY99_T_BUFFER_DIR Pufferverzeichnis Abrechnungspuffer 20020426
3 Importing CLUSTERID Call by reference Type reference (TYPE) RELID Relations-ID 20020426

Method INITIALIZE_BUFFER_FROM_TBUFF on class CL_HR_PAY_ACCESS has no exception.

Method READ_CLUSTER_DIR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACCESS_CLUSTER Call by reference Type reference (TYPE) XFLAG C_FALSE 'X' = Cluster CU mit Pufferung statt hrpy_rgdir verwenden 20020429
2 Exporting CLUSTER_DIR Call by reference Type reference (TYPE) HRPY_TT_RGDIR Cluster Directory (für Export und Import von AbrechngsErgeb) 20011026
3 Importing IX_READ_ARCH Call by reference Type reference (TYPE) ARCH_TOO C_FALSE neue Eingabewerte 20050801
4 Importing PERNR Call by reference Type reference (TYPE) P_PERNR Personalnummer 20011026
# Exception Resumable Description Created on
1 NO_ENTRIES_FOUND Keine Einträge in transp. Tabelle HRPY_RGDIR für diese PerNr 20011026

Method READ_CLUSTER_DIR_EVP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACCESS_CLUSTER Call by reference Type reference (TYPE) XFLAG C_FALSE 'X' = Cluster CU mit Pufferung statt hrpy_rgdir verwenden 20020429
2 Importing ALL_OF_RUN Call by reference Type reference (TYPE) RP_XFELD C_TRUE 20050110
3 Importing BONUS_DATE Call by reference Type reference (TYPE) PC261-BONDT '00000000' Stichtag für Prüfung 20011026
4 Exporting CLUSTER_DIR Call by reference Type reference (TYPE) HRPY_TT_RGDIR Auszuwertende Perioden 20011026
5 Importing IABKRS Call by reference Type reference (TYPE) PCCE_TT_IABKRS Abrechnungskreise 20011026
6 Importing INPER Call by reference Type reference (TYPE) PC261-INPER Abrechnungsperiode 20011026
7 Importing INPER_MODIF Call by reference Type reference (TYPE) PC261-IPERM Periodenparameter 20011026
8 Importing IX_READ_ARCH Call by reference Type reference (TYPE) ARCH_TOO C_FALSE Archivzugriff 20050802
9 Importing PAY_IDENT Call by reference Type reference (TYPE) PC261-PAYID C_FALSE Abrechnungsidentifikator 20011026
10 Importing PAY_TYPE Call by reference Type reference (TYPE) PC261-PAYTY C_FALSE Abrechnungstyp 20011026
11 Importing PERNR Call by reference Type reference (TYPE) P_PERNR Personalnummer 20011026
# Exception Resumable Description Created on
1 NO_ENTRIES_FOUND Keine Einträge in transp. Tabelle HRPY_RGDIR für diese PerNr 20011026

Method READ_CLUSTER_DIR_EVP_VOID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACCESS_CLUSTER Call by reference Type reference (TYPE) XFLAG C_FALSE 'X' = Cluster CU mit Pufferung statt hrpy_rgdir verwenden 20020429
2 Importing BONUS_DATE Call by reference Type reference (TYPE) PC261-BONDT '00000000' Stichtag für Prüfung 20011026
3 Exporting CLUSTER_DIR Call by reference Type reference (TYPE) HRPY_TT_RGDIR Auszuwertende Perioden 20011026
4 Importing IABKRS Call by reference Type reference (TYPE) PCCE_TT_IABKRS Abrechnungskreise 20011026
5 Importing INPER Call by reference Type reference (TYPE) PC261-INPER Abrechnungsperiode 20011026
6 Importing INPER_MODIF Call by reference Type reference (TYPE) PC261-IPERM Periodenparameter 20011026
7 Importing IX_READ_ARCH Call by reference Type reference (TYPE) ARCH_TOO C_FALSE Archivzugriff 20050802
8 Importing PAY_IDENT Call by reference Type reference (TYPE) PC261-PAYID C_FALSE Abrechnungsidentifikator 20011026
9 Importing PAY_TYPE Call by reference Type reference (TYPE) PC261-PAYTY C_FALSE Abrechnungstyp 20011026
10 Importing PERNR Call by reference Type reference (TYPE) P_PERNR Personalnummer 20011026
11 Importing SEQNR Call by reference Type reference (TYPE) PC261-SEQNR Nummer des Infotypsatzes mit demselben Schlüssel 20011026
12 Importing SPECIAL_VOID Call by reference Type reference (TYPE) PC261-PAYID C_FALSE Abrechnungsidentifikator 20011026
# Exception Resumable Description Created on
1 NO_ENTRIES_FOUND Keine Einträge in transp. Tabelle HRPY_RGDIR für diese PerNr 20011026

Method READ_PA_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CURR Call by reference Type reference (TYPE) WAERS 20040419
2 Importing MOLGA Call by reference Type reference (TYPE) MOLGA Ländergruppierung 20011026
3 Exporting PAYROLL_RESULT Call by reference Object reference (TYPE REF TO) CL_HR_PAY_RESULT Abrechnungsergebnis 20011026
4 Importing PERIOD Call by reference Type reference (TYPE) PC261 Zu importierende Auswertungsperiode 20011026
5 Importing PERNR Call by reference Type reference (TYPE) P_PERNR Personalnummer / Beschäftigungsvertragsnummer 20011026
6 Importing SIM_CE_RESULT Call by reference Type reference (TYPE) XFLAG ' ' X = CE-Ergebnis aus Vor-CE-Zeiten simulieren 20020418
7 Importing UNFILTERED_CUMULATIONS Call by reference Type reference (TYPE) XFLAG ' ' 'X' = Kumulationstabellen nicht gefiltert 20031119
# Exception Resumable Description Created on
1 COUNTRY_VERSION_NOT_AVAILABLE Klasse Länderversion von Abrechnungsergeb. nicht vorhanden 20011026
2 NO_AUTHORIZATION Keine Berechtigung zum Lesen des Clusters 20020220
3 READ_ERROR Fehler beim Lesezugriff 20011026

Method READ_PE_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CURR Call by reference Type reference (TYPE) WAERS 20040419
2 Importing MOLGA Call by reference Type reference (TYPE) MOLGA Ländergruppierung 20011029
3 Exporting PAYROLL_RESULT Call by reference Object reference (TYPE REF TO) CL_HR_PAY_RESULT_PERSON Abrechnungsergebnis aus Personencluster (CE) 20011026
4 Importing PERIOD Call by reference Type reference (TYPE) PC261 Zu importierende Auswertungsperiode 20011026
5 Importing PERNR Call by reference Type reference (TYPE) P_PERNR Personalnummer 20011030
6 Importing SIM_CE_RESULT Call by reference Type reference (TYPE) XFLAG ' ' X = CE-Ergebnis aus Vor-CE-Zeiten simulieren 20020418
7 Importing UNFILTERED_CUMULATIONS Call by reference Type reference (TYPE) XFLAG ' ' 'X' = Kumulationstabellen nicht gefiltert 20031119
# Exception Resumable Description Created on
1 COUNTRY_VERSION_NOT_AVAILABLE Klasse Länderversion von Abrechnungsergeb. nicht vorhanden 20011026
2 NO_AUTHORIZATION Keine Berechtigung zum Lesen des Clusters 20020220
3 NO_PERSON_DATA Personendaten nicht vorhanden 20011026
4 READ_ERROR Fehler beim Lesezugriff 20011026

Method READ_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CURR Call by reference Type reference (TYPE) WAERS 20040419
2 Importing MOLGA Call by reference Type reference (TYPE) MOLGA Ländergruppierung 20011026
3 Exporting PAY_RESULTS Call by reference Type reference (TYPE) H99_HR_PAY_RESULT_TAB Abrechnungsergebnis 20011026
4 Exporting PAY_RESULT_PERSON Call by reference Object reference (TYPE REF TO) CL_HR_PAY_RESULT_PERSON Abrechnungsergebnis aus Personencluster (CE) 20011026
5 Importing PERIOD Call by reference Type reference (TYPE) PC261 Zu importierende Auswertungsperiode 20011026
6 Importing PERNR Call by reference Type reference (TYPE) P_PERNR Personalnummer / Beschäftigungsvertragsnummer 20011026
7 Importing SIM_CE_RESULT Call by reference Type reference (TYPE) XFLAG ' ' X = CE-Ergebnis aus Vor-CE-Zeiten simulieren 20020418
8 Importing UNFILTERED_CUMULATIONS Call by reference Type reference (TYPE) XFLAG ' ' 'X' = Kumulationstabellen nicht gefiltert 20031119
# Exception Resumable Description Created on
1 COUNTRY_VERSION_NOT_AVAILABLE Klasse Länderversion von Abrechnungsergeb. nicht vorhanden 20020220
2 NO_AUTHORIZATION Keine Berechtigung zum Lesen des Clusters 20020220
3 READ_ERROR Fehler beim Lesezugriff 20020220

Method RESET_BUFFER Signature

Method RESET_BUFFER on class CL_HR_PAY_ACCESS has no parameter.
Method RESET_BUFFER on class CL_HR_PAY_ACCESS has no exception.

Method WRITE_CLUSTER_DIR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLUSTER_DIR Call by reference Type reference (TYPE) HRPY_TT_RGDIR Cluster Directory (für Export und Import von AbrechngsErgeb) 20020823
2 Importing PERNR Call by reference Type reference (TYPE) P_PERNR Personalnummer 20020823
# Exception Resumable Description Created on
1 NO_AUTHORIZATION Keine Berechtigung zum Schreiben in das Cluster 20020823
2 WRITE_ERROR Fehler bei Schreibzugriff 20020823

Method WRITE_PA_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PAY_RESULT Call by reference Object reference (TYPE REF TO) CL_HR_PAY_RESULT Abrechnungsergebnis 20020418
# Exception Resumable Description Created on
1 NO_AUTHORIZATION Keine Berechtigung zum Schreiben in das Cluster 20020418
2 WRITE_ERROR Fehler bei Schreibzugriff 20020418

Method WRITE_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PAY_RESULTS Call by reference Type reference (TYPE) H99_HR_PAY_RESULT_TAB Abrechnungsergebnis 20020116
2 Importing PAY_RESULT_PERSON Call by reference Object reference (TYPE REF TO) CL_HR_PAY_RESULT_PERSON Abrechnungsergebnis aus Personencluster (CE) 20020116
3 Importing SIM_NON_CE_RESULT Call by reference Type reference (TYPE) XFLAG ' ' X = "Normales" Ergebnis aus paralleler Beschäftigung simul. 20021001
# Exception Resumable Description Created on
1 NO_AUTHORIZATION Keine Berechtigung zum Schreiben in das Cluster 20020220
2 WRITE_ERROR Fehler bei Schreibzugriff 20020117

Method WRITE_TO_DATABASE Signature

Method WRITE_TO_DATABASE on class CL_HR_PAY_ACCESS has no parameter.
# Exception Resumable Description Created on
1 NO_AUTHORIZATION Keine Berechtigung 20020220
2 WRITE_ERROR Datenbankfehler 20020220
History
Last changed by/on SAP  20060208 
SAP Release Created in