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)
⤷
⤷
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 | Instance attribute | Private | Type reference (TYPE) | P01C_MONTH | Months (Decimal in a Time Interval) | 20050112 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | P01C_MONTH | Months (Decimal in a Time Interval) | 20041112 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | P01C_MONTH | Months (Decimal in a Time Interval) | 20041112 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | DECIMALS | 99 | Number of Decimal Places | 20050112 | ||
| 5 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_HRDEPBSVASEN_CVDAY_ROUND_2D | Conversion of Duration (YD) to Pension Percentage | 20030915 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | DECIMALS | 99 | Number of Decimal Places | 20041112 | ||
| 7 | Constant | Private | Type reference (TYPE) | PSEN_DAY_IN_CALENDAR_UNIT | 30 | C_DAYS_PER_MONTH | 20030908 | ||
| 8 | Constant | Private | Type reference (TYPE) | PSEN_DAY_IN_CALENDAR_UNIT | 365 | C_DAYS_PER_YEAR | 20030908 | ||
| 9 | Constant | Public | Type reference (TYPE) | DECIMALS | 2 | Number of Decimal Places | 20050112 | ||
| 10 | Constant | Public | Type reference (TYPE) | DECIMALS | 99 | No Remainder Comparison | 20050112 | ||
| 11 | Constant | Public | Type reference (TYPE) | PSEN_CALDD | '0.0050' | Comparison Value for Rounding to Nearest Integer (Germany) | 20040831 | ||
| 12 | Constant | Public | Type reference (TYPE) | DECIMALS | 99 | No Reduction | 20041112 | ||
| 13 | Constant | Private | Type reference (TYPE) | BOOLE_D | SPACE | 20041115 | |||
| 14 | Constant | Private | Type reference (TYPE) | BOOLE_D | 'X' | 20041115 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20030908 | |
| 2 | Instance method | Public | Method | Conversion | 20030908 | |
| 3 | 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 | ID_REST_DEC | Call by reference | Type reference (TYPE) | PDE_PBSVASEN_ROUND_MOD | Aufrunden, wenn Division ein Rest ergibt | 20050112 | |||
| 2 | ID_ROUND_2D_RULE | Call by reference | Object reference (TYPE REF TO) | CL_HRDEPBSVASEN_CVDAY_ROUND_2D | Konvertierung Dauer (JT) in Ruhegehaltssatz | 20030915 | |||
| 3 | ID_ROUND_COMPARE | Call by reference | Type reference (TYPE) | PSEN_CALDD | Schnittstelle Dienstzeitberechnung: Dauer in Tagen | 20030908 | |||
| 4 | ID_TRUNC_DEC | Call by reference | Type reference (TYPE) | DECIMALS | C_TRUNC_DEC_NO | Anzahl Dezimalstellen | 20041112 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Programmfehler | 20030908 |
Method CONVERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_DURATION | Call by reference | Type reference (TYPE) | P01_ORGDZ_JAHRE_DEC2 | ED_DURATION | 20030908 | |||
| 2 | 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 | 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 | Unerfüllte Programmbedingung | 20030908 |
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_REST_DEC | Call by reference | Type reference (TYPE) | PDE_PBSVASEN_ROUND_MOD | Aufrunden, wenn Division ein Rest ergibt | 20050112 | |||
| 2 | ID_ROUND_2D_RULE | Call by reference | Object reference (TYPE REF TO) | CL_HRDEPBSVASEN_CVDAY_ROUND_2D | Konvertierung Dauer (JT) in Ruhegehaltssatz | 20030915 | |||
| 3 | ID_ROUND_COMPARE | Value transfer | Type reference (TYPE) | PSEN_CALDD | Vergleich zur Rundung | 20030908 | |||
| 4 | ID_TRUNC_DEC | Call by reference | Type reference (TYPE) | DECIMALS | C_TRUNC_DEC_NO | Anzahl Dezimalstellen | 20041112 | ||
| 5 | INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_HRDEPBSVASEN_CVDUR_JDEC2 | Konvertierung Dauer (JT) in Ruhegehaltssatz | 20030908 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Programmefehler | 20030908 |
History
| Last changed by/on | SAP | 20050301 |
| SAP Release Created in | 10A |