Hierarchy
⤷
⤷
Properties
| Class | CL_HR_PAYROLL_AREA | |
| Short Description | Payroll Area | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | T | Test Program |
| Category | 0 | |
| Package | PCAL | SAP HR Payroll Application Development |
| Created | 20010627 | SAP |
| Last change | 20080505 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_HR_PAYROLL_AREA has no forward declaration.
Interfaces
Class CL_HR_PAYROLL_AREA has no interface implemented.
Friends
Class CL_HR_PAYROLL_AREA has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | ABKRS | Payroll Area | 20010709 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | ADRUN | HR: Special Payroll Run | 20010709 | |||
| 3 | Static Attribute | Public | Type reference (TYPE) | HRPAY99_PAY_AREA_T | Payroll Area | 20010627 | |||
| 4 | Static Attribute | Public | Type reference (TYPE) | RP_XFELD | 'X': All Payroll Areas are Loaded | 20010709 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | AREAS_TABLE | Directory of payroll areas which have instances | 20010702 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | CALCR | Run Payroll for Payroll Area | 20010709 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | DATMO | Date Modifier | 20010709 | |||
| 8 | Constant | Public | Type reference (TYPE) | D | '99991231' | Lowest Valid Date | 20010703 | ||
| 9 | Constant | Public | Type reference (TYPE) | D | '18000101' | Highest Valid Date | 20010703 | ||
| 10 | Static Attribute | Private | Type reference (TYPE) | D | Maximum retroactive accounting date from all payroll areas | 20030317 | |||
| 11 | Static Attribute | Private | Type reference (TYPE) | D | Forced retroactive accounting date for MAX_RRDAT | 20030317 | |||
| 12 | Constant | Private | Type reference (TYPE) | RP_XFELD | ' ' | Checkbox | 20020813 | ||
| 13 | Instance attribute | Public | Type reference (TYPE) | PABRJ | Current Year | 20010709 | |||
| 14 | Instance attribute | Public | Type reference (TYPE) | PABRP | Current Period | 20010709 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | T549Q | Payroll Periods | 20010709 | |||
| 16 | Instance attribute | Public | Type reference (TYPE) | RP_XFELD | 'X': Control Record Exists | 20040115 | |||
| 17 | Instance attribute | Public | Type reference (TYPE) | PERMO | Period Parameters | 20010709 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | PFREQ | Private Time Unit | 20111014 | |||
| 19 | Instance attribute | Private | Type reference (TYPE) | VWSRT | Sort Field for Control Record | 20010709 | |||
| 20 | Instance attribute | Public | Type reference (TYPE) | VWSTA | Status of Control Record | 20010709 | |||
| 21 | Instance attribute | Private | Type reference (TYPE) | UABRJ | Earliest possible year for which retr.acc. can be performed | 20010709 | |||
| 22 | Instance attribute | Private | Type reference (TYPE) | UABRP | Earliest retroactive accounting period | 20010709 | |||
| 23 | Constant | Private | Type reference (TYPE) | RP_XFELD | 'X' | Checkbox | 20020813 | ||
| 24 | Instance attribute | Public | Type reference (TYPE) | PFREQ | Payroll Time Units | 20010709 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20010702 | |
| 2 | Instance method | Public | Method | Unlock Control Record (See Note 542256) | 20020813 | |
| 3 | Static method | Public | Method | Unlock All Control Records (See Note 542256) | 20020813 | |
| 4 | Instance method | Public | Method | Determines strt/ end date of 1st retr.accnting period ABKRS | 20010717 | |
| 5 | Instance method | Public | Method | Earliest retroactive accounting date of payroll control rec. | 20010719 | |
| 6 | Instance method | Public | Method | Determines the last day of the payroll run of the pyrll area | 20010719 | |
| 7 | Static method | Public | Method | Determines the latest possible retroactive accounting date | 20010702 | |
| 8 | Instance method | Public | Method | Determines strt/end date for period of payroll area keydate | 20010920 | |
| 9 | Instance method | Public | Method | Lock Control Record (See Note 542256) | 20020813 | |
| 10 | Instance method | Public | Method | Determines Earliest PY Per. for Which RA Can Be Run | 20070430 | |
| 11 | Instance method | Public | Method | Determines End Date of Current Period Acc. to Control Record | 20130325 | |
| 12 | Instance method | Public | Method | Determines the first period in a time window | 20011002 | |
| 13 | Instance method | Public | Method | Information on a Period | 20010911 | |
| 14 | Static method | Public | Method | Delivers the Instance for a Payroll Area | 20010702 | |
| 15 | Instance method | Public | Method | Next Period | 20010709 | |
| 16 | Static method | Public | Method | Actual Payroll Area Locked | 20020813 | |
| 17 | Static method | Private | Method | Returns Lock Mode | 20030131 | |
| 18 | Instance method | Public | Method | Determine the Payment Date for a Given Period | 20010730 | |
| 19 | Instance method | Public | Method | Determine period for a key date | 20010711 | |
| 20 | Instance method | Public | Method | Information on a Period | 20010709 | |
| 21 | Instance method | Public | Method | Determines the Time Unit of the Payroll Area | 20010709 | |
| 22 | Instance method | Public | Method | Checks whether the payroll area is relevant for payroll | 20010717 | |
| 23 | Static method | Public | Method | Load All Payroll Areas and Control Records in the Buffer | 20010627 | |
| 24 | Static method | Private | Method | Delete Locked Indicator | 20020813 | |
| 25 | Static method | Private | Method | Set Locked Indicator | 20020813 | |
| 26 | Instance method | Private | Method | Set Time Unit Attribute | 20111014 |
Events
Class CL_HR_PAYROLL_AREA has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | AREAS_TABLE | Private | See coding | Instance Directory | 20010702 | AREAS_TABLE type hashed table of AREA_WA
with unique key area
|
|
| 2 | AREA_WA | Private | See coding | Instance Directory Header | 20010702 | begin of AREA_WA,
area type t549a-abkrs,
instance type ref to cl_hr_payroll_area,
pa03_locked type rp_xfeld,
lock_mode type DD26E-ENQMODE,
end of area_wa
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_AREA | Call by reference | Type reference (TYPE) | T549A-ABKRS | Abrechnungskreis | 20010702 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Abrechnungskreis existiert nicht | 20010709 |
Method DEQUEUE_PA03 Signature
Method DEQUEUE_PA03 on class CL_HR_PAYROLL_AREA has no parameter.
Method DEQUEUE_PA03 on class CL_HR_PAYROLL_AREA has no exception.
Method DEQUEUE_PA03_ALL Signature
Method DEQUEUE_PA03_ALL on class CL_HR_PAYROLL_AREA has no parameter.
Method DEQUEUE_PA03_ALL on class CL_HR_PAYROLL_AREA has no exception.
Method DETERMINE_EARLIEST_BEGDA_ENDDA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXP_BEGDA | Call by reference | Type reference (TYPE) | D | Beginn der Periode | 20010717 | |||
| 2 | EXP_ENDDA | Call by reference | Type reference (TYPE) | D | Ende der Periode | 20010717 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen zur CL_HR_PAYROLL_AREA | 20011008 |
Method DETERMINE_EARLIEST_RETRO_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET_EARLIEST_RETRO_DATE | Value transfer | Type reference (TYPE) | D | Frühestes Rückrechnungsdatum | 20010719 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen zur CL_HR_PAYROLL_AREA | 20011008 |
Method DETERMINE_LAST_DAY_OF_CALC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET_LAST_DAY | Value transfer | Type reference (TYPE) | D | Letzter abgerechneter Tag | 20010719 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen zur CL_HR_PAYROLL_AREA | 20011008 |
Method DETERMINE_MAX_RRDAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_FORCED_RRDAT | Call by reference | Type reference (TYPE) | D | Zwangsrückrechnungsdatum | 20010703 | |||
| 2 | RET_MAX_RRDAT | Value transfer | Type reference (TYPE) | D | Maximales Rückrechnungsdatum laut Verwaltungssätzen | 20010703 |
Method DETERMINE_MAX_RRDAT on class CL_HR_PAYROLL_AREA has no exception.
Method DETERMINE_PERIODE_BEGDA_ENDDA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXP_BEGDA | Call by reference | Type reference (TYPE) | D | Beginn der Periode | 20010920 | |||
| 2 | EXP_ENDDA | Call by reference | Type reference (TYPE) | D | Ende der Periode | 20010920 | |||
| 3 | IMP_DATE | Call by reference | Type reference (TYPE) | D | Stichtag | 20010920 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen zur CL_HR_PAYROLL_AREA | 20011008 |
Method ENQUEUE_PA03 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_MODE | Call by reference | Type reference (TYPE) | DD26E-ENQMODE | 'S' | Sperrmodus | 20030131 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Sperren | 20020813 |
Method GET_EARLIEST_RETRO_PERIOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET_EARLIEST_RETRO_PERIOD | Value transfer | Type reference (TYPE) | PC2PAPER | Unterstruktur für Tabelle APER Personalabrechnung | 20070430 |
Method GET_EARLIEST_RETRO_PERIOD on class CL_HR_PAYROLL_AREA has no exception.
Method GET_ENDDA_OF_CURRENT_PERIOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET_ENDDA | Value transfer | Type reference (TYPE) | D | Endda der aktuellen Periode | 20130325 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen zur CL_HR_PAYROLL_AREA | 20130325 |
Method GET_FIRST_PERIODE_IN_FRAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_BEGDA | Call by reference | Type reference (TYPE) | D | Begindatum des Intervalls | 20011002 | |||
| 2 | IMP_BEG_YEAR | Call by reference | Type reference (TYPE) | PABRJ | Startjahr des Intervalls | 20011002 | |||
| 3 | IMP_ENDDA | Call by reference | Type reference (TYPE) | D | Endedatum des Intervalls | 20011002 | |||
| 4 | IMP_END_YEAR | Call by reference | Type reference (TYPE) | PABRJ | Endejahr des Intervalls | 20011002 | |||
| 5 | RET_PERIODE | Value transfer | Type reference (TYPE) | PC2PAPER | Unterstruktur für Tabelle APER Personalabrechnung | 20011002 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen zur CL_HR_PAYROLL_AREA | 20011008 |
Method GET_INFO_OF_ACTUAL_PERIODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXP_BEGDA | Call by reference | Type reference (TYPE) | D | Beginn der Periode | 20010911 | |||
| 2 | EXP_ENDDA | Call by reference | Type reference (TYPE) | D | Ende der Periode | 20010911 | |||
| 3 | EXP_VABRJ | Call by reference | Type reference (TYPE) | VABRJ | Vorheriges Abrechnungsjahr | 20010911 | |||
| 4 | EXP_VABRP | Call by reference | Type reference (TYPE) | VABRP | Vorherige Abrechnungsperiode | 20010911 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen zur CL_HR_PAYROLL_AREA | 20011007 |
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_AREA | Call by reference | Type reference (TYPE) | T549A-ABKRS | Abrechnungskreis | 20010702 | |||
| 2 | RET_AREA | Value transfer | Object reference (TYPE REF TO) | CL_HR_PAYROLL_AREA | Abrcehnungskreis | 20010702 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen zur CL_HR_PAYROLL_AREA | 20011005 |
Method GET_NEXT_PERIOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXP_BEGDA | Call by reference | Type reference (TYPE) | D | Beginn der Periode | 20011002 | |||
| 2 | EXP_ENDDA | Call by reference | Type reference (TYPE) | D | Ende der Periode | 20011002 | |||
| 3 | EXP_PABRJ | Call by reference | Type reference (TYPE) | PABRJ | Abrechnungsjahr | 20010911 | |||
| 4 | EXP_PABRP | Call by reference | Type reference (TYPE) | PABRP | Abrechnungsperiode | 20010911 | |||
| 5 | IMP_PABRJ | Call by reference | Type reference (TYPE) | PABRJ | Abrechnungsjahr | 20010911 | |||
| 6 | IMP_PABRP | Call by reference | Type reference (TYPE) | PABRP | Abrechnungsperiode | 20010911 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen zur CL_HR_PAYROLL_AREA | 20011007 |
Method GET_PA03_LOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_ABKRS | Call by reference | Type reference (TYPE) | ABKRS | Abrechnungskreis | 20020813 | |||
| 2 | RET_PA03_LOCKED | Value transfer | Type reference (TYPE) | RP_XFELD | Ankreuzfeld | 20020813 |
Method GET_PA03_LOCK on class CL_HR_PAYROLL_AREA has no exception.
Method GET_PA03_LOCK_MODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_ABKRS | Call by reference | Type reference (TYPE) | ABKRS | Abrechnungskreis | 20030131 | |||
| 2 | RET_MODE | Value transfer | Type reference (TYPE) | DD26E-ENQMODE | Sperrmodus | 20030131 |
Method GET_PA03_LOCK_MODE on class CL_HR_PAYROLL_AREA has no exception.
Method GET_PAYDT_OF_PERIOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_MOLGA | Call by reference | Type reference (TYPE) | MOLGA | Ländergruppierung | 20010730 | |||
| 2 | IMP_PAPER | Call by reference | Type reference (TYPE) | PC2PAPER | Unterstruktur für Tabelle APER Personalabrechnung | 20010730 | |||
| 3 | RET_PAYDT | Value transfer | Type reference (TYPE) | D | Zahldatum | 20010730 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen zur CL_HR_PAYROLL_AREA | 20011008 |
Method GET_PERIODE_WITH_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_DATE | Call by reference | Type reference (TYPE) | D | Stichtag | 20010711 | |||
| 2 | RET_PERIOD | Value transfer | Type reference (TYPE) | PC2PAPER | Unterstruktur für Tabelle APER Personalabrechnung | 20010711 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen zur CL_HR_PAYROLL_AREA | 20011008 |
Method GET_PERIOD_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXP_BEGDA | Call by reference | Type reference (TYPE) | D | Beginn der Periode | 20010709 | |||
| 2 | EXP_ENDDA | Call by reference | Type reference (TYPE) | D | Ende der Periode | 20010709 | |||
| 3 | EXP_VABRJ | Call by reference | Type reference (TYPE) | VABRJ | Vorheriges Abrechnungsjahr | 20010709 | |||
| 4 | EXP_VABRP | Call by reference | Type reference (TYPE) | VABRP | Vorherige Abrechnungsperiode | 20010709 | |||
| 5 | IMP_PABRJ | Call by reference | Type reference (TYPE) | PABRJ | Abrechnungsjahr | 20010709 | |||
| 6 | IMP_PABRP | Call by reference | Type reference (TYPE) | PABRP | Abrechnungsperiode | 20010709 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen zur CL_HR_PAYROLL_AREA | 20011007 |
Method GET_ZEINH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET_ZEINH | Value transfer | Type reference (TYPE) | PFREQ | Abrechnungszeiteinheiten | 20010709 |
Method GET_ZEINH on class CL_HR_PAYROLL_AREA has no exception.
Method IS_PAY_AREA_RELEVANT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET_IS_RELEVANT | Value transfer | Type reference (TYPE) | RP_XFELD | Ankreuzfeld | 20010717 |
Method IS_PAY_AREA_RELEVANT on class CL_HR_PAYROLL_AREA has no exception.
Method LOAD_ALL_PAY_AREAS Signature
Method LOAD_ALL_PAY_AREAS on class CL_HR_PAYROLL_AREA has no parameter.
Method LOAD_ALL_PAY_AREAS on class CL_HR_PAYROLL_AREA has no exception.
Method RESET_PA03_LOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_ABKRS | Call by reference | Type reference (TYPE) | ABKRS | Abrechnungskreis | 20020813 |
Method RESET_PA03_LOCK on class CL_HR_PAYROLL_AREA has no exception.
Method SET_PA03_LOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_ABKRS | Call by reference | Type reference (TYPE) | ABKRS | Abrechnungskreis | 20020813 | |||
| 2 | IMP_MODE | Call by reference | Type reference (TYPE) | DD26E-ENQMODE | Sperrmodus | 20030131 |
Method SET_PA03_LOCK on class CL_HR_PAYROLL_AREA has no exception.
Method SET_ZEINH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_PERMO | Call by reference | Type reference (TYPE) | PERMO | Periodenparameter | 20111014 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Payroll time unit does not exist | 20111014 |
History
| Last changed by/on | SAP | 20080505 |
| SAP Release Created in |