SAP ABAP Class CL_HRSEN00_ANNIVERSARY_TOOLS (Tools for 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
⤷
⤷
Properties
| Class | CL_HRSEN00_ANNIVERSARY_TOOLS | |
| Short Description | Tools for Anniversary | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PSEN | Service Calculation |
| Created | 20021213 | SAP |
| Last change | 20040223 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_HRSEN00_ANNIVERSARY_TOOLS has no interface implemented.
Friends
Class CL_HRSEN00_ANNIVERSARY_TOOLS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | PSEN_DAY_IN_YEAR | CL_HRSEN00_LEAP_DAY_TOOLS=>C_AFTER_LEAP_DAY_IN_YEAR | 20021213 | |||
| 2 | Constant | Private | Type reference (TYPE) | PSEN_DAY_IN_YEAR | CL_HRSEN00_LEAP_DAY_TOOLS=>C_BEFORE_LEAP_DAY_IN_YEAR | 20021213 | |||
| 3 | Constant | Private | Type reference (TYPE) | INFTY | '0002' | Infotype | 20030109 | ||
| 4 | Constant | Private | Type reference (TYPE) | PSEN_LEAP_DAY_ANNIV | CL_HRSEN00_LEAP_DAY_TOOLS=>C_LEAP_DAY_ANNIV_01MAR | 20021213 | |||
| 5 | Constant | Private | Type reference (TYPE) | PSEN_LEAP_DAY_ANNIV | CL_HRSEN00_LEAP_DAY_TOOLS=>C_LEAP_DAY_ANNIV_28FEB | 20021213 | |||
| 6 | Constant | Private | Type reference (TYPE) | PSEN_DAY_IN_YEAR | CL_HRSEN00_LEAP_DAY_TOOLS=>C_LEAP_DAY_IN_YEAR | 20021213 | |||
| 7 | Constant | Private | Type reference (TYPE) | BOOLE_D | LIF_HRPA_BOOLE_D=>FALSE | 20021213 | |||
| 8 | Constant | Private | Type reference (TYPE) | ENDDA | LIF_HRPA_INFTY_BL=>HIGH_DATE | 20030109 | |||
| 9 | Constant | Private | Type reference (TYPE) | BEGDA | LIF_HRPA_INFTY_BL=>LOW_DATE | 20030109 | |||
| 10 | Constant | Private | Type reference (TYPE) | BOOLE_D | LIF_HRPA_BOOLE_D=>TRUE | 20021213 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Anniversary of Date | 20040213 | |
| 2 | Static method | Public | Method | Birthday of Personnel Number | 20030109 | |
| 3 | Static method | Public | Method | Calculate the anniversary preceding a date | 20021213 |
Events
Class CL_HRSEN00_ANNIVERSARY_TOOLS has no event.
Types
Class CL_HRSEN00_ANNIVERSARY_TOOLS has no local type.
Method Signatures
Method ANNIVERSARY_OF_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_DATE | Value transfer | Type reference (TYPE) | D | Geburtstag | 20040213 | |||
| 2 | ID_DATE | Value transfer | Type reference (TYPE) | D | 20040213 | ||||
| 3 | ID_LEAP_DAY_ANNIV | Value transfer | Type reference (TYPE) | PSEN_LEAP_DAY_ANNIV | CL_HRSEN00_LEAP_DAY_TOOLS=>C_LEAP_DAY_ANNIV_28FEB | 20040213 | |||
| 4 | ID_YEAR | Value transfer | Type reference (TYPE) | I | Jahren | 20040213 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unerfüllte Programmbedingung | 20040213 |
Method BIRTHDAY_OF_PERNR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_DATE | Value transfer | Type reference (TYPE) | D | Geburtstag | 20030109 | |||
| 2 | ID_LEAP_DAY_ANNIV | Value transfer | Type reference (TYPE) | PSEN_LEAP_DAY_ANNIV | CL_HRSEN00_LEAP_DAY_TOOLS=>C_LEAP_DAY_ANNIV_28FEB | 20030109 | |||
| 3 | ID_PERNR | Value transfer | Type reference (TYPE) | PERNR_D | Personalnummer | 20030109 | |||
| 4 | ID_YEAR | Value transfer | Type reference (TYPE) | I | Jahren | 20030109 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Kein Geburtsdatum im ersten Infotyp 0002 | 20030109 | ||
| 2 | Unerfüllte Programmbedingung | 20030109 |
Method PRECEDING_ANNIVERSARY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_BEGDA | Value transfer | Type reference (TYPE) | BEGDA | 20021213 | ||||
| 2 | ID_BEGDA | Value transfer | Type reference (TYPE) | BEGDA | 20021213 | ||||
| 3 | ID_ENDDA | Value transfer | Type reference (TYPE) | ENDDA | 20021213 | ||||
| 4 | ID_LEAP_DAY_ANNIV | Value transfer | Type reference (TYPE) | PSEN_LEAP_DAY_ANNIV | CL_HRSEN00_LEAP_DAY_TOOLS=>C_LEAP_DAY_ANNIV_28FEB | 20021213 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20021213 |
History
| Last changed by/on | SAP | 20040223 |
| SAP Release Created in | 470 |