SAP ABAP Class CL_HRDEPBSVASEN_CVDUR_JDEC2 (Conversion of Duration (YD) to Pension Percentage)
Hierarchy
☛
SAP_HRCDE (Software Component) Sub component SAP_HRCDE of SAP_HR
⤷ PY-DE-PS-VA (Application Component) Pension Administration
⤷ P01PBSVASEN_BL (Package) HR-VADM: Employ. Periods, Pension Percent. (Business Logic)
⤷ PY-DE-PS-VA (Application Component) Pension Administration
⤷ P01PBSVASEN_BL (Package) HR-VADM: Employ. Periods, Pension Percent. (Business Logic)
Properties
Class | CL_HRDEPBSVASEN_CVDUR_JDEC2 | |
Short Description | Conversion of Duration (YD) to Pension Percentage | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | P01PBSVASEN_BL | HR-VADM: Employ. Periods, Pension Percent. (Business Logic) |
Created | 20030908 | SAP |
Last change | 20050301 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_HRDEPBSVASEN_CVDUR_JDEC2 has no forward declaration.
Interfaces
Class CL_HRDEPBSVASEN_CVDUR_JDEC2 has no interface implemented.
Friends
Class CL_HRDEPBSVASEN_CVDUR_JDEC2 has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | A_10_EXP_REST_DEC | Instance attribute | Private | Type reference (TYPE) | P01C_MONTH | Months (Decimal in a Time Interval) | 20050112 | ||
2 | A_10_EXP_TRUNC_DEC | Instance attribute | Private | Type reference (TYPE) | P01C_MONTH | Months (Decimal in a Time Interval) | 20041112 | ||
3 | A_10_INV_EXP_TRUNC_DEC | Instance attribute | Private | Type reference (TYPE) | P01C_MONTH | Months (Decimal in a Time Interval) | 20041112 | ||
4 | A_REST_DEC | Instance attribute | Private | Type reference (TYPE) | DECIMALS | 99 | Number of Decimal Places | 20050112 | |
5 | A_ROUND_2D_RULE | Instance attribute | Private | Object reference (TYPE REF TO) | CL_HRDEPBSVASEN_CVDAY_ROUND_2D | Conversion of Duration (YD) to Pension Percentage | 20030915 | ||
6 | A_TRUNC_DEC | Instance attribute | Private | Type reference (TYPE) | DECIMALS | 99 | Number of Decimal Places | 20041112 | |
7 | C_DAYS_PER_MONTH | Constant | Private | Type reference (TYPE) | PSEN_DAY_IN_CALENDAR_UNIT | 30 | C_DAYS_PER_MONTH | 20030908 | |
8 | C_DAYS_PER_YEAR | Constant | Private | Type reference (TYPE) | PSEN_DAY_IN_CALENDAR_UNIT | 365 | C_DAYS_PER_YEAR | 20030908 | |
9 | C_DEFAULT_DEC_NO | Constant | Public | Type reference (TYPE) | DECIMALS | 2 | Number of Decimal Places | 20050112 | |
10 | C_REST_DEC_NO | Constant | Public | Type reference (TYPE) | DECIMALS | 99 | No Remainder Comparison | 20050112 | |
11 | C_ROUND_COMPARE_DE_COMMERCIAL | Constant | Public | Type reference (TYPE) | PSEN_CALDD | '0.0050' | Comparison Value for Rounding to Nearest Integer (Germany) | 20040831 | |
12 | C_TRUNC_DEC_NO | Constant | Public | Type reference (TYPE) | DECIMALS | 99 | No Reduction | 20041112 | |
13 | FALSE | Constant | Private | Type reference (TYPE) | BOOLE_D | SPACE | 20041115 | ||
14 | TRUE | Constant | Private | Type reference (TYPE) | BOOLE_D | 'X' | 20041115 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20030908 |
2 | CONVERT | Instance method | Public | Method | Conversion | 20030908 |
3 | GET_INSTANCE | Static method | Public | Method | Get Instance | 20030908 |
Events
Class CL_HRDEPBSVASEN_CVDUR_JDEC2 has no event.
Types
Class CL_HRDEPBSVASEN_CVDUR_JDEC2 has no local type.
Method Signatures
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ID_REST_DEC | Call by reference | Type reference (TYPE) | PDE_PBSVASEN_ROUND_MOD | Aufrunden, wenn Division ein Rest ergibt | 20050112 | ||
2 | Importing | ID_ROUND_2D_RULE | Call by reference | Object reference (TYPE REF TO) | CL_HRDEPBSVASEN_CVDAY_ROUND_2D | Konvertierung Dauer (JT) in Ruhegehaltssatz | 20030915 | ||
3 | Importing | ID_ROUND_COMPARE | Call by reference | Type reference (TYPE) | PSEN_CALDD | Schnittstelle Dienstzeitberechnung: Dauer in Tagen | 20030908 | ||
4 | Importing | ID_TRUNC_DEC | Call by reference | Type reference (TYPE) | DECIMALS | C_TRUNC_DEC_NO | Anzahl Dezimalstellen | 20041112 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | E_ASSERTION | Programmfehler | 20030908 |
Method CONVERT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ED_DURATION | Call by reference | Type reference (TYPE) | P01_ORGDZ_JAHRE_DEC2 | ED_DURATION | 20030908 | ||
2 | Exporting | ES_LOG_CONVERSION | Call by reference | Type reference (TYPE) | HRDEPBSVASENS_LOG_CV_DUR_JDEC2 | Prot.TL: Konvertierung Dauer (JMT) in RG - ab 91 Fassung | 20030908 | ||
3 | Importing | IS_DURATION | Call by reference | Type reference (TYPE) | PSEN_DURATION_DEC | Dauer in Jahren, Monaten und Tagen mit Dezimalen | 20030908 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | E_ASSERTION | Unerfüllte Programmbedingung | 20030908 |
Method GET_INSTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ID_REST_DEC | Call by reference | Type reference (TYPE) | PDE_PBSVASEN_ROUND_MOD | Aufrunden, wenn Division ein Rest ergibt | 20050112 | ||
2 | Importing | ID_ROUND_2D_RULE | Call by reference | Object reference (TYPE REF TO) | CL_HRDEPBSVASEN_CVDAY_ROUND_2D | Konvertierung Dauer (JT) in Ruhegehaltssatz | 20030915 | ||
3 | Importing | ID_ROUND_COMPARE | Value transfer | Type reference (TYPE) | PSEN_CALDD | Vergleich zur Rundung | 20030908 | ||
4 | Importing | ID_TRUNC_DEC | Call by reference | Type reference (TYPE) | DECIMALS | C_TRUNC_DEC_NO | Anzahl Dezimalstellen | 20041112 | |
5 | Returning | INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_HRDEPBSVASEN_CVDUR_JDEC2 | Konvertierung Dauer (JT) in Ruhegehaltssatz | 20030908 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | E_ASSERTION | Programmefehler | 20030908 |
History
Last changed by/on | SAP | 20050301 |
SAP Release Created in | 10A |