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
⤷ 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 | CL_HRSEN00_LEAP_DAY_TOOLS | 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 | C_AFTER_LEAP_DAY_IN_YEAR | Constant | Private | Type reference (TYPE) | PSEN_DAY_IN_YEAR | CL_HRSEN00_LEAP_DAY_TOOLS=>C_AFTER_LEAP_DAY_IN_YEAR | 20021213 | ||
2 | C_BEFORE_LEAP_DAY_IN_YEAR | Constant | Private | Type reference (TYPE) | PSEN_DAY_IN_YEAR | CL_HRSEN00_LEAP_DAY_TOOLS=>C_BEFORE_LEAP_DAY_IN_YEAR | 20021213 | ||
3 | C_INFTY_PERSONAL_DATA | Constant | Private | Type reference (TYPE) | INFTY | '0002' | Infotype | 20030109 | |
4 | C_LEAP_DAY_ANNIV_01MAR | Constant | Private | Type reference (TYPE) | PSEN_LEAP_DAY_ANNIV | CL_HRSEN00_LEAP_DAY_TOOLS=>C_LEAP_DAY_ANNIV_01MAR | 20021213 | ||
5 | C_LEAP_DAY_ANNIV_28FEB | Constant | Private | Type reference (TYPE) | PSEN_LEAP_DAY_ANNIV | CL_HRSEN00_LEAP_DAY_TOOLS=>C_LEAP_DAY_ANNIV_28FEB | 20021213 | ||
6 | C_LEAP_DAY_IN_YEAR | Constant | Private | Type reference (TYPE) | PSEN_DAY_IN_YEAR | CL_HRSEN00_LEAP_DAY_TOOLS=>C_LEAP_DAY_IN_YEAR | 20021213 | ||
7 | FALSE | Constant | Private | Type reference (TYPE) | BOOLE_D | LIF_HRPA_BOOLE_D=>FALSE | 20021213 | ||
8 | HIGH_DATE | Constant | Private | Type reference (TYPE) | ENDDA | LIF_HRPA_INFTY_BL=>HIGH_DATE | 20030109 | ||
9 | LOW_DATE | Constant | Private | Type reference (TYPE) | BEGDA | LIF_HRPA_INFTY_BL=>LOW_DATE | 20030109 | ||
10 | TRUE | Constant | Private | Type reference (TYPE) | BOOLE_D | LIF_HRPA_BOOLE_D=>TRUE | 20021213 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ANNIVERSARY_OF_DATE | Static method | Public | Method | Anniversary of Date | 20040213 |
2 | BIRTHDAY_OF_PERNR | Static method | Public | Method | Birthday of Personnel Number | 20030109 |
3 | PRECEDING_ANNIVERSARY | 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 | Returning | ED_DATE | Value transfer | Type reference (TYPE) | D | Geburtstag | 20040213 | ||
2 | Importing | ID_DATE | Value transfer | Type reference (TYPE) | D | 20040213 | |||
3 | Importing | 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 | Importing | ID_YEAR | Value transfer | Type reference (TYPE) | I | Jahren | 20040213 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | E_PRECONDITION | Unerfüllte Programmbedingung | 20040213 |
Method BIRTHDAY_OF_PERNR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ED_DATE | Value transfer | Type reference (TYPE) | D | Geburtstag | 20030109 | ||
2 | Importing | 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 | Importing | ID_PERNR | Value transfer | Type reference (TYPE) | PERNR_D | Personalnummer | 20030109 | ||
4 | Importing | ID_YEAR | Value transfer | Type reference (TYPE) | I | Jahren | 20030109 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | E_NO_DATE_OF_BIRTH | Kein Geburtsdatum im ersten Infotyp 0002 | 20030109 | |
2 | E_PRECONDITION | Unerfüllte Programmbedingung | 20030109 |
Method PRECEDING_ANNIVERSARY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ED_BEGDA | Value transfer | Type reference (TYPE) | BEGDA | 20021213 | |||
2 | Importing | ID_BEGDA | Value transfer | Type reference (TYPE) | BEGDA | 20021213 | |||
3 | Importing | ID_ENDDA | Value transfer | Type reference (TYPE) | ENDDA | 20021213 | |||
4 | Importing | 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 | E_PRECONDITION | 20021213 |
History
Last changed by/on | SAP | 20040223 |
SAP Release Created in | 470 |