SAP ABAP Class CL_HRSEN_ANNIVERSARY_BY_PROCE (Calculation Annual, Monthly Anniversary)
Hierarchy
☛
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
⤷
PA-PA-XX-TL-SEN (Application Component) Calculation of Employment Period
⤷
PSEN (Package) Service Calculation
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_HRPA_BOOLE_D | HR: Master Data, Attribute True and False | 20041221 |
Properties
| Class | CL_HRSEN_ANNIVERSARY_BY_PROCE | |
| Short Description | Calculation Annual, Monthly Anniversary | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PSEN | Service Calculation |
| Created | 20041220 | SAP |
| Last change | 20060208 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_HRSEN_ANNIVERSARY_BY_PROCE has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_HRPA_BOOLE_D | HR: Master Data, Attribute True and False | 20041221 |
Friends
Class CL_HRSEN_ANNIVERSARY_BY_PROCE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_HRSEN_ANNIVERSARY_BY_PROCE | Calculation Annual, Monthly Anniversary | 20041221 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | PSEN_DURATION | Duration in years, months, and days | 20041221 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | PSEN_DURATION_DEC | Duration in years, months, and days | 20041221 | |||
| 4 | Constant | Private | Type reference (TYPE) | PSEN_AGE_BY_BEGDA | SPACE | Selection of Age with Equal Day Anniversary | 20041221 | ||
| 5 | Constant | Private | Type reference (TYPE) | BEGDA | '19000101' | Valid-From Date | 20041221 | ||
| 6 | Constant | Private | Type reference (TYPE) | PSEN_CALENDAR_UNIT | 'M' | Calendar Unit | 20041221 | ||
| 7 | Constant | Private | Type reference (TYPE) | PSEN_CALENDAR_UNIT | 'Y' | Calendar Unit | 20041221 | ||
| 8 | Constant | Private | Type reference (TYPE) | PSEN_CALTY | '1' | Employment period calculation type | 20050722 | ||
| 9 | Constant | Private | Type reference (TYPE) | PSEN_CALTY | '2' | Employment period calculation type | 20050203 | ||
| 10 | Constant | Private | Type reference (TYPE) | BOOLE_D | IF_HRPA_BOOLE_D~FALSE | Data Element for Domain BOOLE: TRUE (="X") and FALSE (=" ") | 20041221 | ||
| 11 | Constant | Private | Type reference (TYPE) | BOOLE_D | IF_HRPA_BOOLE_D~TRUE | Data Element for Domain BOOLE: TRUE (="X") and FALSE (=" ") | 20041221 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20041221 | |
| 2 | Static method | Private | Method | 20041221 | ||
| 3 | Static method | Private | Method | 20041221 | ||
| 4 | Static method | Private | Method | 20041221 | ||
| 5 | Static method | Public | Method | Get Instance | 20041220 | |
| 6 | Instance method | Public | Method | Read anniversaries in a period calculated by a process | 20041220 |
Events
Class CL_HRSEN_ANNIVERSARY_BY_PROCE has no event.
Types
Class CL_HRSEN_ANNIVERSARY_BY_PROCE has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_HRSEN_ANNIVERSARY_BY_PROCE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_HRSEN_ANNIVERSARY_BY_PROCE has no exception.
Method CONVERT_DURATION_FROM_DEC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_DURATION | Value transfer | Type reference (TYPE) | PSEN_DURATION | Dauer in Jahren und Monaten | 20041221 | |||
| 2 | IS_DURATION | Call by reference | Type reference (TYPE) | PSEN_DURATION_DEC | Dauer in Jahren, Monaten und Tagen mit Dezimalen | 20041221 |
Method CONVERT_DURATION_FROM_DEC on class CL_HRSEN_ANNIVERSARY_BY_PROCE has no exception.
Method CONVERT_DURATION_TO_DEC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_DURATION | Value transfer | Type reference (TYPE) | PSEN_DURATION_DEC | Dauer in Jahren und Monaten | 20041221 | |||
| 2 | IS_DURATION | Call by reference | Type reference (TYPE) | PSEN_DURATION | Dauer in Jahren, Monaten und Tagen mit Dezimalen | 20041221 |
Method CONVERT_DURATION_TO_DEC on class CL_HRSEN_ANNIVERSARY_BY_PROCE has no exception.
Method CONVERT_PEAK_TO_BASE_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_WPEAK | Call by reference | Type reference (TYPE) | HRSEN00_WGHT_PEAK_DEC_BASE | Gewichteter Peak mit dezimaler Dauer | 20041221 | |||
| 2 | IT_WPEAK | Call by reference | Type reference (TYPE) | HRSEN00_WEIGHT_PEAK_DEC | Gewichtete dezimale Peak | 20041221 |
Method CONVERT_PEAK_TO_BASE_TAB on class CL_HRSEN_ANNIVERSARY_BY_PROCE has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_HRSEN_ANNIVERSARY_BY_PROCE | Berechnung Jahres-, Monatestag | 20041220 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20041220 |
Method READ_CALENDAR_ANNIV_IN_PERIOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ANNIVERSARY | Call by reference | Type reference (TYPE) | HRSEN00_ANNIVERSARY_YM | Jahrestag | 20041220 | |||
| 2 | ID_ANNIV_BY_BEGDA | Call by reference | Type reference (TYPE) | PSEN_AGE_BY_BEGDA | Wahl des Alters bei gleichtagigem Jahrestag | 20041220 | |||
| 3 | ID_ANNIV_FOLLOWING | Call by reference | Type reference (TYPE) | BOOLE_D | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20041221 | |||
| 4 | ID_ANNIV_PRECEDING | Call by reference | Type reference (TYPE) | CHAR1 | TRUE(X); FALSE(' '); Dienstzeit am IS_PERIOD-BEGDA -1(S) | 20041221 | |||
| 5 | ID_CALENDAR_UNIT | Call by reference | Type reference (TYPE) | PSEN_CALENDAR_UNIT | 'M' | Einstelliges Kennzeichen | 20041220 | ||
| 6 | ID_PERNR | Call by reference | Type reference (TYPE) | PERNR_D | Personalnummer | 20041220 | |||
| 7 | ID_PROCE | Call by reference | Type reference (TYPE) | PSEN_PROCE | Berechnungsablauf Dienstzeitberechnung | 20041220 | |||
| 8 | ID_SEL_DATE | Call by reference | Type reference (TYPE) | PSEN_SEL_DATE | Selektionsdatum für Dienstzeitberechnung | 20041220 | |||
| 9 | IS_PERIOD | Call by reference | Type reference (TYPE) | PSEN_PERIOD | Period | 20041220 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Programmfehler | 20041220 | ||
| 2 | falsche Implementierung Berechnungsart (siehe PSEN_FNPRO) | 20050816 | ||
| 3 | Customizingsfehler | 20041221 |
History
| Last changed by/on | SAP | 20060208 |
| SAP Release Created in | 600 |