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 A_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_HRSEN_ANNIVERSARY_BY_PROCE Calculation Annual, Monthly Anniversary 20041221
2 CS_DURATION_DEFAULT_MAX Static Attribute Private Type reference (TYPE) PSEN_DURATION Duration in years, months, and days 20041221
3 CS_DURATION_PRECISION_DELTA Static Attribute Private Type reference (TYPE) PSEN_DURATION_DEC Duration in years, months, and days 20041221
4 C_ANNIV_BY_BEGDA_ALL Constant Private Type reference (TYPE) PSEN_AGE_BY_BEGDA SPACE Selection of Age with Equal Day Anniversary 20041221
5 C_BEGDA_DEFAULT_AGE Constant Private Type reference (TYPE) BEGDA '19000101' Valid-From Date 20041221
6 C_CALENDAR_UNIT_MONTH Constant Private Type reference (TYPE) PSEN_CALENDAR_UNIT 'M' Calendar Unit 20041221
7 C_CALENDAR_UNIT_YEAR Constant Private Type reference (TYPE) PSEN_CALENDAR_UNIT 'Y' Calendar Unit 20041221
8 C_CALTY_DURATION Constant Private Type reference (TYPE) PSEN_CALTY '1' Employment period calculation type 20050722
9 C_CALTY_ENDDA Constant Private Type reference (TYPE) PSEN_CALTY '2' Employment period calculation type 20050203
10 FALSE Constant Private Type reference (TYPE) BOOLE_D IF_HRPA_BOOLE_D~FALSE Data Element for Domain BOOLE: TRUE (="X") and FALSE (=" ") 20041221
11 TRUE 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 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20041221
2 CONVERT_DURATION_FROM_DEC Static method Private Method 20041221
3 CONVERT_DURATION_TO_DEC Static method Private Method 20041221
4 CONVERT_PEAK_TO_BASE_TAB Static method Private Method 20041221
5 GET_INSTANCE Static method Public Method Get Instance 20041220
6 READ_CALENDAR_ANNIV_IN_PERIOD 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 Returning ES_DURATION Value transfer Type reference (TYPE) PSEN_DURATION Dauer in Jahren und Monaten 20041221
2 Importing 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 Returning ES_DURATION Value transfer Type reference (TYPE) PSEN_DURATION_DEC Dauer in Jahren und Monaten 20041221
2 Importing 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 Exporting ET_WPEAK Call by reference Type reference (TYPE) HRSEN00_WGHT_PEAK_DEC_BASE Gewichteter Peak mit dezimaler Dauer 20041221
2 Importing 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 Returning INSTANCE Value transfer Object reference (TYPE REF TO) CL_HRSEN_ANNIVERSARY_BY_PROCE Berechnung Jahres-, Monatestag 20041220
# Exception Resumable Description Created on
1 E_ASSERTION 20041220

Method READ_CALENDAR_ANNIV_IN_PERIOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ANNIVERSARY Call by reference Type reference (TYPE) HRSEN00_ANNIVERSARY_YM Jahrestag 20041220
2 Importing ID_ANNIV_BY_BEGDA Call by reference Type reference (TYPE) PSEN_AGE_BY_BEGDA Wahl des Alters bei gleichtagigem Jahrestag 20041220
3 Importing ID_ANNIV_FOLLOWING Call by reference Type reference (TYPE) BOOLE_D Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20041221
4 Importing ID_ANNIV_PRECEDING Call by reference Type reference (TYPE) CHAR1 TRUE(X); FALSE(' '); Dienstzeit am IS_PERIOD-BEGDA -1(S) 20041221
5 Importing ID_CALENDAR_UNIT Call by reference Type reference (TYPE) PSEN_CALENDAR_UNIT 'M' Einstelliges Kennzeichen 20041220
6 Importing ID_PERNR Call by reference Type reference (TYPE) PERNR_D Personalnummer 20041220
7 Importing ID_PROCE Call by reference Type reference (TYPE) PSEN_PROCE Berechnungsablauf Dienstzeitberechnung 20041220
8 Importing ID_SEL_DATE Call by reference Type reference (TYPE) PSEN_SEL_DATE Selektionsdatum für Dienstzeitberechnung 20041220
9 Importing IS_PERIOD Call by reference Type reference (TYPE) PSEN_PERIOD Period 20041220
# Exception Resumable Description Created on
1 E_ASSERTION Programmfehler 20041220
2 E_CALTY_ENDDA_WRONG falsche Implementierung Berechnungsart (siehe PSEN_FNPRO) 20050816
3 E_CUSTOMIZING Customizingsfehler 20041221
History
Last changed by/on SAP  20060208 
SAP Release Created in 600