SAP ABAP Class CL_TPM_AMORTIZATION_CALCULATOR (Generic Amortization Calculator)
Hierarchy
☛
EA-FINSERV (Software Component) SAP Enterprise Extension Financial Services
⤷
FIN-FSCM-TRM-TM (Application Component) Transaction Manager
⤷
FTR_GENERAL (Package) CFM TM: Application Basis / Global Objects
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_CALCULABLE_POS_CAL | Position with Cash Flow Calculation | 20110221 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_LAST_AMORT_CAL | Last Amortization Data | 20110221 |
Properties
| Class | CL_TPM_AMORTIZATION_CALCULATOR | |
| Short Description | Generic Amortization Calculator | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | FTR_GENERAL | CFM TM: Application Basis / Global Objects |
| Created | 20110113 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_CALCULABLE_POS_CAL | Position with Cash Flow Calculation | 20110221 | ||
| 2 | IF_LAST_AMORT_CAL | Last Amortization Data | 20110221 |
Friends
Class CL_TPM_AMORTIZATION_CALCULATOR 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) | TPM_ACTIVE_PASSIVE | Indicator: Assets/Liabilities Position | 20110221 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | TRGS_AMORT_PROC | Attributes of an Amortization Procedure | 20110221 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | TPM_DERIVATION_CAT | Position Management Category | 20110221 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | DIFS_DIFF_VALUES | Structure for Differentiation Values | 20110221 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | TPM_LAST_AMORT_INFO | Last Amortization Structure | 20110221 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | TPM_POSITION_DATE | Position Value Date | 20110221 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | TPM_POSITION_CURR | Position Currency | 20110221 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | SANLF | Product Category | 20110221 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | TPM_PRODUCT_GROUP | Product Group | 20110221 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | VVSART | Product Type | 20110221 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Calculates Amortization Value | 20110221 | |
| 2 | Instance method | Public | Constructor | 20110221 |
Events
Class CL_TPM_AMORTIZATION_CALCULATOR has no event.
Types
Class CL_TPM_AMORTIZATION_CALCULATOR has no local type.
Method Signatures
Method CALCULATE_AMORTIZATION_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_AMORT_AMT | Call by reference | Type reference (TYPE) | TPM_POSITION_AMT | Amount in Position Currency | 20110221 | |||
| 2 | EX_COMPOUNDED_AMORT_AMT | Call by reference | Type reference (TYPE) | TPM_POSITION_AMT | Amount in Position Currency | 20110221 | |||
| 3 | EX_EFF_INTERNAL_RATE | Call by reference | Type reference (TYPE) | PEFFZINS | Effective Interest Rate | 20110221 | |||
| 4 | EX_EFF_INTERNAL_RATE_NEW | Call by reference | Type reference (TYPE) | PEFFZINS | Effective Interest Rate | 20110221 | |||
| 5 | EX_SCHEDULE_KEY_EFF_RATE | Call by reference | Type reference (TYPE) | RDPT_SCHEDULE_KEY_EFF_RATE | Key for Redemption Schedule that Explains Effect. Int. Rate | 20110221 | |||
| 6 | EX_SCHEDULE_KEY_FIX | Call by reference | Type reference (TYPE) | RDPT_SCHEDULE_KEY_FIX | Key for Fixed Redemption Schedule | 20110221 | |||
| 7 | IM_ACTIVE_PASSIVE | Call by reference | Type reference (TYPE) | TPM_ACTIVE_PASSIVE | Indicator: Assets/Liabilities Position | 20110221 | |||
| 8 | IM_AMORT_CUT | Call by reference | Type reference (TYPE) | TPM_AMORT_CUT | Cut SAC Amortization | 20110221 | |||
| 9 | IM_AMORT_END | Call by reference | Type reference (TYPE) | TPM_AMORT_END | Amortization to Final Due Date / Termination | 20110221 | |||
| 10 | IM_AMORT_PROTOCOL | Call by reference | Object reference (TYPE REF TO) | CL_PROTOCOL_AMRT | Amortisierungsprotokoll | 20110530 | |||
| 11 | IM_BUSTRANSCAT | Call by reference | Type reference (TYPE) | TPM_BUSTRANSCAT | Business Transaction Category | 20110221 | |||
| 12 | IM_DERIV_CAT | Call by reference | Type reference (TYPE) | TPM_DERIVATION_CAT | Position mgt categ. | 20110221 | |||
| 13 | IM_DIFF_VALUES | Call by reference | Type reference (TYPE) | DIFS_DIFF_VALUES | Structure for Differentiation Values | 20110221 | |||
| 14 | IM_EFF_INT_SAC | Call by reference | Type reference (TYPE) | TPM_EFF_INTEREST_SAC | Treatment of Effect. Interest Rate for Amort. Acc. to SAC | 20110221 | |||
| 15 | IM_FLG_AMORT_END_EX | Call by reference | Type reference (TYPE) | TPM_FLG_AMORT_END_EXCL | Exclude Final Amortization Date from Amortization Period | 20110221 | |||
| 16 | IM_FLG_EXCL_TB | Call by reference | Type reference (TYPE) | TPM_FLG_AMORT_EXCL_TB_FLOWS | Exclude Interest-like Flows from Calculation | 20110221 | |||
| 17 | IM_INCL_INTEREST | Call by reference | Type reference (TYPE) | TPM_INCL_INTEREST | Inclusion of Interest in Amortization Calculation | 20110221 | |||
| 18 | IM_KEY_DATE | Call by reference | Type reference (TYPE) | TPM_VAL_KEYDATE | Key Date for Valuation | 20110221 | |||
| 19 | IM_LAST_AMORT_INFO | Call by reference | Type reference (TYPE) | TPM_LAST_AMORT_INFO | Last Amortization Structure | 20110221 | |||
| 20 | IM_LAST_INVESTMENT_DATE | Call by reference | Type reference (TYPE) | TPM_POSITION_DATE | Position Value Date | 20110221 | |||
| 21 | IM_POSITION_CURR | Call by reference | Type reference (TYPE) | TPM_POSITION_CURR | Position Currency | 20110221 | |||
| 22 | IM_PRODUCT_GROUP | Call by reference | Type reference (TYPE) | TPM_PRODUCT_GROUP | Product Group | 20110221 | |||
| 23 | IM_PROTOCOL_HANDLER | Call by reference | Object reference (TYPE REF TO) | CL_PROTOCOL_HANDLER_TRP | Protocol Manager | 20110221 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Failed | 20110221 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_ACTIVE_PASSIVE | Call by reference | Type reference (TYPE) | TPM_ACTIVE_PASSIVE | Indicator: Assets/Liabilities Position | 20110221 | |||
| 2 | IM_AMORT_CUT | Call by reference | Type reference (TYPE) | TPM_AMORT_CUT | Cut SAC Amortization | 20110221 | |||
| 3 | IM_AMORT_END | Call by reference | Type reference (TYPE) | TPM_AMORT_END | Amortization to Final Due Date / Termination | 20110221 | |||
| 4 | IM_BUSTRANSCAT | Call by reference | Type reference (TYPE) | TPM_BUSTRANSCAT | Business Transaction Category | 20110221 | |||
| 5 | IM_DERIV_CAT | Call by reference | Type reference (TYPE) | TPM_DERIVATION_CAT | Position mgt categ. | 20110221 | |||
| 6 | IM_DIFF_VALUES | Call by reference | Type reference (TYPE) | DIFS_DIFF_VALUES | Structure for Differentiation Values | 20110221 | |||
| 7 | IM_EFF_INT_SAC | Call by reference | Type reference (TYPE) | TPM_EFF_INTEREST_SAC | Treatment of Effect. Interest Rate for Amort. Acc. to SAC | 20110221 | |||
| 8 | IM_FLG_AMORT_END_EX | Call by reference | Type reference (TYPE) | TPM_FLG_AMORT_EXCL_TB_FLOWS | Exclude Interest-like Flows from Calculation | 20110221 | |||
| 9 | IM_FLG_EXCL_TB | Call by reference | Type reference (TYPE) | TPM_FLG_AMORT_END_EXCL | Exclude Final Amortization Date from Amortization Period | 20110221 | |||
| 10 | IM_INCL_INTEREST | Call by reference | Type reference (TYPE) | TPM_INCL_INTEREST | Inclusion of Interest in Amortization Calculation | 20110221 | |||
| 11 | IM_LAST_AMORT_INFO | Call by reference | Type reference (TYPE) | TPM_LAST_AMORT_INFO | Last Amortization Structure | 20110221 | |||
| 12 | IM_LAST_INVESTMENT_DATE | Call by reference | Type reference (TYPE) | TPM_POSITION_DATE | Position Value Date | 20110221 | |||
| 13 | IM_POSITION_CURR | Call by reference | Type reference (TYPE) | TPM_POSITION_CURR | Position Currency | 20110221 | |||
| 14 | IM_PRODUCT_GROUP | Call by reference | Type reference (TYPE) | TPM_PRODUCT_GROUP | Product Group | 20110221 |
Method CONSTRUCTOR on class CL_TPM_AMORTIZATION_CALCULATOR has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |