SAP ABAP Class CL_FX_RATE_VAL (Treasury: Rate Valuation Step FX-Forward)
Hierarchy
☛
EA-FINSERV (Software Component) SAP Enterprise Extension Financial Services
⤷
FIN-FSCM-TRM-TM-AC (Application Component) Transfer to Financial Accounting
⤷
FTR_VALUATION (Package) Treasury: General Valuation
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_VALUATION_STEP_VAL | Treasury: Valuation Step | 20000720 |
Properties
| Class | CL_FX_RATE_VAL | |
| Short Description | Treasury: Rate Valuation Step FX-Forward | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | FTR_VALUATION | Treasury: General Valuation |
| Created | 20000720 | SAP |
| Last change | 20050109 | 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_VALUATION_STEP_VAL | Treasury: Valuation Step | 20000720 |
Friends
Class CL_FX_RATE_VAL 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) | VALS_CALC_BASIS | Calculation bases | 20000720 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | TRGS_CURRENCIES | Position and Valuation Currency | 20000720 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | VALS_CUST | Customizing | 20000720 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | VALS_NEW_DATA | New Book Values and Rates | 20000720 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | TPM_STATE_OF_STEP | Status of the Valuation Step | 20000720 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | BAL_T_MSG | Messages | 20000720 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | VALY_VALUATION_FLOW | Valuation Flows for Reset | 20000720 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | TRGR_PRODUCT_CATEGORY | Supported Product Categories | 20000720 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | VALY_VALUATION_FLOW | Valuation Flows | 20000720 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | VALS_FORWARD_WR_UP_DOWN | Write-Up/Write-Down Amounts | 20000720 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Executes Calculation | 20000720 | |
| 2 | Instance method | Private | Method | Checks the Calculation Bases | 20000720 | |
| 3 | Instance method | Private | Method | Checks the Customizing Settings | 20000720 | |
| 4 | Instance method | Public | Constructor | Constructor | 20000720 | |
| 5 | Instance method | Private | Method | Generates Flows for Asset/Liab. Account | 20031205 | |
| 6 | Instance method | Private | Method | Generates Flows for the Purchase Side | 20000724 | |
| 7 | Instance method | Private | Method | Generates Flows for the Sales Side | 20000724 | |
| 8 | Instance method | Private | Method | Coordinates the Generation of Flows | 20000720 | |
| 9 | Instance method | Private | Method | Determines the Calculation Bases | 20000720 | |
| 10 | Instance method | Private | Method | Determines the Calculation Base for FCR = 6 | 20040406 | |
| 11 | Instance method | Private | Method | Selects One of Three Amounts Based on Rules | 20000720 |
Events
Class CL_FX_RATE_VAL has no event.
Types
Class CL_FX_RATE_VAL has no local type.
Method Signatures
Method CALCULATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_KEY_DATE | Call by reference | Type reference (TYPE) | TPM_VAL_KEYDATE | Stichtag der Bewertung | 20010131 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Umrechnen eines Betrages von BestW in BewW | 20000720 | ||
| 2 | Systemfehler | 20000720 |
Method CHECK_CALC_BASIS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_POSITION_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | Kennzeichen Short/Nullbestand | 20000720 | |||
| 2 | IM_KEYDATE | Call by reference | Type reference (TYPE) | TPM_VAL_KEYDATE | Stichtag der Bewertung | 20010205 | |||
| 3 | IM_POSITION | Call by reference | Object reference (TYPE REF TO) | IF_ASSESSABLE_POSITION_VAL | Treasury: Position can be Valued | 20040406 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei der Prüfung | 20040406 |
Method CHECK_CUSTOMIZING Signature
Method CHECK_CUSTOMIZING on class CL_FX_RATE_VAL has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler in den Customizing-Einstellungen | 20000720 | ||
| 2 | Systemfehler | 20000720 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CUSTOMIZING_DATA | Call by reference | Type reference (TYPE) | VALS_CUST | Customizing | 20000720 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | keine Customizing-Daten übergeben | 20000720 |
Method CREATE_FLOW_FOR_SPLIT_ACCOUNTS Signature
Method CREATE_FLOW_FOR_SPLIT_ACCOUNTS on class CL_FX_RATE_VAL has no parameter.
Method CREATE_FLOW_FOR_SPLIT_ACCOUNTS on class CL_FX_RATE_VAL has no exception.
Method CREATE_FLOW_PURCHASE Signature
Method CREATE_FLOW_PURCHASE on class CL_FX_RATE_VAL has no parameter.
Method CREATE_FLOW_PURCHASE on class CL_FX_RATE_VAL has no exception.
Method CREATE_FLOW_SALE Signature
Method CREATE_FLOW_SALE on class CL_FX_RATE_VAL has no parameter.
Method CREATE_FLOW_SALE on class CL_FX_RATE_VAL has no exception.
Method CREATE_VALUATION_FLOWS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_TAB_VAL_FLOW | Call by reference | Type reference (TYPE) | TPMY_ACCU_FLOW | Bewegungen (für Addierer) | 20000720 | |||
| 2 | IM_VAL_CAT | Call by reference | Type reference (TYPE) | TPM_VAL_CAT | Bewertungstyp | 20000720 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Systemfehler; Programmabbruch! | 20000720 |
Method DETERMINE_CALCULATION_BASIS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_ACCUMULATOR | Call by reference | Object reference (TYPE REF TO) | CL_ACCUMULATOR_TRG | Addierer | 20000720 | |||
| 2 | IM_KEY_DATE | Call by reference | Type reference (TYPE) | TPM_VAL_KEYDATE | Datum der Bewertung | 20000720 | |||
| 3 | IM_POSITION | Call by reference | Object reference (TYPE REF TO) | IF_ASSESSABLE_POSITION_VAL | bewertbare Position | 20000720 | |||
| 4 | IM_VAL_CAT | Call by reference | Type reference (TYPE) | TPM_VAL_CAT | Valuation Category | 20101115 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Bestimmung von Marktkursen | 20000720 | ||
| 2 | Produkttyp wird nicht unterstützt | 20000720 | ||
| 3 | Systemfehler; Programmabbruch! | 20000720 |
Method DETERMINE_CALC_BASIS_NVP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_ACCUMULATOR | Call by reference | Object reference (TYPE REF TO) | CL_ACCUMULATOR_TRG | Treasury: Addiermaschine | 20040406 | |||
| 2 | IM_KEY_DATE | Call by reference | Type reference (TYPE) | TPM_VAL_KEYDATE | Stichtag der Bewertung | 20040406 | |||
| 3 | IM_POSITION | Call by reference | Object reference (TYPE REF TO) | IF_ASSESSABLE_POSITION_VAL | Treasury: Position can be Valued | 20040406 | |||
| 4 | IM_VAL_CAT | Call by reference | Type reference (TYPE) | TPM_VAL_CAT | Valuation Category | 20101115 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Custiomizing-Fehler | 20040406 | ||
| 2 | Fehler bei Bestimmung von Marktkursen | 20040406 | ||
| 3 | Produkttyp wird nicht unterstützt | 20040406 | ||
| 4 | Systemfehler; Programmabbruch! | 20040406 |
Method SELECT_ONE_OF_THREE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_AMOUNT_ID | Call by reference | Type reference (TYPE) | CHAR2 | ID des ausgewählten Betrags (AC/OB/MA) | 20000720 | |||
| 2 | IM_AC | Call by reference | Type reference (TYPE) | TPM_AMOUNT | Anschaffungswert exkl. Kosten | 20000720 | |||
| 3 | IM_MA | Call by reference | Type reference (TYPE) | TPM_AMOUNT | Marktwert | 20000720 | |||
| 4 | IM_OB | Call by reference | Type reference (TYPE) | TPM_AMOUNT | alter Buchwert exkl. Kosten | 20000720 | |||
| 5 | IM_RULE_DOWN | Call by reference | Type reference (TYPE) | CHAR1 | Abschreibungsregel | 20000720 | |||
| 6 | IM_RULE_UP | Call by reference | Type reference (TYPE) | CHAR1 | Zuschreibungsregel | 20000720 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | unbekannte Bewertungsregel erhalten | 20000720 |
History
| Last changed by/on | SAP | 20050109 |
| SAP Release Created in | 462_10 |