SAP ABAP Class CL_PRICE_VALUATION_VAL (Treasury: Single-Level Rate Valuation)
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
⤷ 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 | 20000706 |
Properties
Class | CL_PRICE_VALUATION_VAL | |
Short Description | Treasury: Single-Level Rate Valuation | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | FTR_VALUATION | Treasury: General Valuation |
Created | 20000706 | SAP |
Last change | 20050109 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | TPMCO | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | VALCO | 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 | 20000706 |
Friends
Class CL_PRICE_VALUATION_VAL has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | CALC_BASIS | Instance attribute | Private | Type reference (TYPE) | VALS_CALC_BASIS | Calculation bases | 20000706 | ||
2 | CON_FUTURE | Constant | Private | Type reference (TYPE) | SANLF | 700 | Product Category | 20031126 | |
3 | CURRENCIES | Instance attribute | Private | Type reference (TYPE) | TRGS_CURRENCIES | Position and Valuation Currency | 20000706 | ||
4 | CUSTOMIZING_DATA | Instance attribute | Private | Type reference (TYPE) | VALS_CUST | Customizing Settings | 20000706 | ||
5 | NEW_DATA | Instance attribute | Private | Type reference (TYPE) | VALS_NEW_DATA | New Book Values and Rates | 20000706 | ||
6 | STATE_OF_STEP | Instance attribute | Private | Type reference (TYPE) | TPM_STATE_OF_STEP | Status of the Valuation Step | 20000706 | ||
7 | TAB_MESSAGE | Instance attribute | Private | Type reference (TYPE) | BAL_T_MSG | Messages | 20000706 | ||
8 | TAB_RESET_VALUATION_FLOW | Instance attribute | Private | Type reference (TYPE) | VALY_VALUATION_FLOW | Valuation Flows for Reset | 20000706 | ||
9 | TAB_SUPPORTED_PROD_CAT | Instance attribute | Private | Type reference (TYPE) | TRGR_PRODUCT_CATEGORY | Supported Product Categories | 20000707 | ||
10 | TAB_VALUATION_FLOW | Instance attribute | Private | Type reference (TYPE) | VALY_VALUATION_FLOW | Valuation Flows | 20000706 | ||
11 | WRITE_UP_DOWN | Instance attribute | Private | Type reference (TYPE) | VALS_RATE_PRICE_VAL_WR_UP_DOWN | Write-Up/Write-Down Amounts | 20000706 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | AMOUNT_TO_PRICE | Instance method | Private | Method | Provides Rate for Value/Number of Units | 20000706 |
2 | CALCULATE | Instance method | Private | Method | Executes Valuation | 20000706 |
3 | CALCULATE_COSTS | Instance method | Private | Method | Valuation of the Costs | 20000706 |
4 | CHECK_CALC_BASIS | Instance method | Private | Method | Checks the Calculation Bases | 20000706 |
5 | CHECK_CUSTOMIZING | Instance method | Private | Method | Checks the Customizing Settings | 20000706 |
6 | CHECK_NEW_DATA | Instance method | Private | Method | Checks Consistency of the New Book Values | 20000706 |
7 | CHECK_NEW_DATA_COSTS | Instance method | Private | Method | Checks Consistency of the new Book Value Costs | 20000707 |
8 | CONSTRUCTOR | Instance method | Public | Constructor | Constructor | 20000706 |
9 | CREATE_FLOW_CO_FE | Instance method | Private | Method | Generates Forex Flow for Costs | 20000707 |
10 | CREATE_FLOW_CO_TI | Instance method | Private | Method | Generates Security Flow for Costs | 20000707 |
11 | CREATE_FLOW_FOR_SPLIT_ACCOUNTS | Instance method | Private | Method | Generates Securities and Forex Flows | 20031126 |
12 | CREATE_FLOW_SE_FE | Instance method | Private | Method | Generates Forex Flow | 20000707 |
13 | CREATE_FLOW_SE_TI | Instance method | Private | Method | Generates Security Flow | 20000707 |
14 | CREATE_VALUATION_FLOWS | Instance method | Private | Method | Coordinates Generation of Entered Valuation Flows | 20000706 |
15 | DETERMINE_CALCULATION_BASIS | Instance method | Private | Method | Determines the Calculation Bases | 20000706 |
16 | DETERMINE_MARKET_VALUE_FUTURE | Instance method | Private | Method | Calculates the Market Value for Future | 20031127 |
17 | MANAGE_CALCULATION | Instance method | Private | Method | Coordinates the Calculation | 20000707 |
18 | PRICE_TO_AMOUNT | Instance method | Private | Method | Gets Value for Rate/Number of Units | 20000706 |
19 | SELECT_ONE_OF_THREE | Instance method | Private | Method | Selects one Amount from Three According to Certain Rules | 20000706 |
Events
Class CL_PRICE_VALUATION_VAL has no event.
Types
Class CL_PRICE_VALUATION_VAL has no local type.
Method Signatures
Method AMOUNT_TO_PRICE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_PRICE | Call by reference | Type reference (TYPE) | VVPKTKUR | Kurs | 20000706 | ||
2 | Importing | IM_AMOUNT | Call by reference | Type reference (TYPE) | TPM_AMOUNT | Wert | 20000706 | ||
3 | Importing | IM_CURRENCY | Call by reference | Type reference (TYPE) | TPM_CURR | Währung | 20000706 | ||
4 | Importing | IM_FLG_ACT_PASS | Call by reference | Type reference (TYPE) | TPM_ACTIVE_PASSIVE | Kennzeichen Aktiv/Passiv-Bestand | 20041215 | ||
5 | Importing | IM_NOMINAL_AMT | Call by reference | Type reference (TYPE) | TPM_NOMINAL_AMT | Nominalbetrag | 20041215 | ||
6 | Importing | IM_QUOTATION | Call by reference | Type reference (TYPE) | SNOTI | Kennzeichen Notierung | 20041215 | ||
7 | Importing | IM_SECURITY_ID | Call by reference | Type reference (TYPE) | VVRANLW | Kennnummer Wertpapier | 20091013 | ||
8 | Importing | IM_UNITS | Call by reference | Type reference (TYPE) | TPM_UNITS | Stücke | 20000706 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | AMOUNT_OVERFLOW | Overflow | 20000706 | |
2 | FAILED | 20091013 |
Method CALCULATE Signature
Method CALCULATE on class CL_PRICE_VALUATION_VAL has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CONVERSION_ERROR | Fehler beim Umrechnen eines Betrages von BestW in BewW | 20000706 | |
2 | SYSTEM_ERROR | Systemfehler | 20000707 |
Method CALCULATE_COSTS Signature
Method CALCULATE_COSTS on class CL_PRICE_VALUATION_VAL has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CONVERSION_ERROR | Fehler bei Umrechnung von BestW in BewW | 20000706 | |
2 | SYSTEM_ERROR | Systemfehler | 20000706 |
Method CHECK_CALC_BASIS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_POSITION_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | Kennzeichen Short/Nullbestand | 20000706 | ||
2 | Importing | IM_ACCUMULATOR | Call by reference | Object reference (TYPE REF TO) | CL_ACCUMULATOR_TRG | Treasury: Addiermaschine | 20061116 | ||
3 | Importing | IM_KEYDATE | Call by reference | Type reference (TYPE) | TPM_VAL_KEYDATE | Stichtag der Bewertung | 20010205 | ||
4 | Importing | IM_POSITION | Call by reference | Object reference (TYPE REF TO) | IF_ASSESSABLE_POSITION_VAL | Position | 20020204 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | FAILED | Prüfung fehlgeschlagen | 20020204 | |
2 | NO_VALUATION | Bewertungsschritt nicht ausführen | 20111124 |
Method CHECK_CUSTOMIZING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_VAL_CAT | Call by reference | Type reference (TYPE) | TPM_VAL_CAT | Typ der Bewertung | 20010423 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CUSTOMIZING_ERROR | Fehler in den Customizing-Einstellungen | 20000706 | |
2 | SYSTEM_ERROR | Systemfehler | 20000707 |
Method CHECK_NEW_DATA Signature
Method CHECK_NEW_DATA on class CL_PRICE_VALUATION_VAL has no parameter.
Method CHECK_NEW_DATA on class CL_PRICE_VALUATION_VAL has no exception.
Method CHECK_NEW_DATA_COSTS Signature
Method CHECK_NEW_DATA_COSTS on class CL_PRICE_VALUATION_VAL has no parameter.
Method CHECK_NEW_DATA_COSTS on class CL_PRICE_VALUATION_VAL has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_CUSTOMIZING_DATA | Call by reference | Type reference (TYPE) | VALS_CUST | Customizing-Einstellungen | 20000706 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CUSTOMIZING_DATA_INVALID | keine Customizing-Daten übergeben | 20000706 |
Method CREATE_FLOW_CO_FE Signature
Method CREATE_FLOW_CO_FE on class CL_PRICE_VALUATION_VAL has no parameter.
Method CREATE_FLOW_CO_FE on class CL_PRICE_VALUATION_VAL has no exception.
Method CREATE_FLOW_CO_TI Signature
Method CREATE_FLOW_CO_TI on class CL_PRICE_VALUATION_VAL has no parameter.
Method CREATE_FLOW_CO_TI on class CL_PRICE_VALUATION_VAL has no exception.
Method CREATE_FLOW_FOR_SPLIT_ACCOUNTS Signature
Method CREATE_FLOW_FOR_SPLIT_ACCOUNTS on class CL_PRICE_VALUATION_VAL has no parameter.
Method CREATE_FLOW_FOR_SPLIT_ACCOUNTS on class CL_PRICE_VALUATION_VAL has no exception.
Method CREATE_FLOW_SE_FE Signature
Method CREATE_FLOW_SE_FE on class CL_PRICE_VALUATION_VAL has no parameter.
Method CREATE_FLOW_SE_FE on class CL_PRICE_VALUATION_VAL has no exception.
Method CREATE_FLOW_SE_TI Signature
Method CREATE_FLOW_SE_TI on class CL_PRICE_VALUATION_VAL has no parameter.
Method CREATE_FLOW_SE_TI on class CL_PRICE_VALUATION_VAL has no exception.
Method CREATE_VALUATION_FLOWS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_TAB_VAL_FLOW | Call by reference | Type reference (TYPE) | TPMY_ACCU_FLOW | Bewegungen (für Addierer) | 20000706 | ||
2 | Importing | IM_VAL_CAT | Call by reference | Type reference (TYPE) | TPM_VAL_CAT | Bewertungstyp | 20000706 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | SYSTEM_ERROR | Systemfehler; Programmabbruch! | 20000706 |
Method DETERMINE_CALCULATION_BASIS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_ACCUMULATOR | Call by reference | Object reference (TYPE REF TO) | CL_ACCUMULATOR_TRG | Addierer | 20000706 | ||
2 | Importing | IM_KEY_DATE | Call by reference | Type reference (TYPE) | TPM_VAL_KEYDATE | Datum der Bewertung | 20000706 | ||
3 | Importing | IM_POSITION | Call by reference | Object reference (TYPE REF TO) | IF_ASSESSABLE_POSITION_VAL | bewertbare Position | 20000706 | ||
4 | Importing | IM_VAL_CAT | Call by reference | Type reference (TYPE) | TPM_VAL_CAT | Typ der Bewertung | 20010423 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | AMOUNT_PRICE_ERROR | Fehler bei Best. eines Kurses zu einem Betrag bzw. umgekehrt | 20000706 | |
2 | CONVERSION_ERROR | Fehler beim Umrechnen eines Betrages von BestW in BewW | 20000706 | |
3 | CUSTOMIZING_ERROR | Inkonsistenz beim Customizing | 20000706 | |
4 | MARKET_ERROR | Fehler bei Bestimmung von Marktkursen | 20000706 | |
5 | PROD_CAT_NOT_SUPPORTED | Produkttyp nicht unterstützt | 20000707 | |
6 | RATE_ERROR | Fehler bei Bestimmung eines Umrechnungskurses | 20000706 | |
7 | SYSTEM_ERROR | Systemfehler; Programmabbruch! | 20000706 |
Method DETERMINE_MARKET_VALUE_FUTURE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_MAP | Call by reference | Type reference (TYPE) | TPM_MAP | Marktkurs | 20031127 | ||
2 | Exporting | EX_MAV_PC | Call by reference | Type reference (TYPE) | TPM_MAV_PC | Marktwert in Bestandswährung | 20031127 | ||
3 | Exporting | EX_PRICE_DATE | Call by reference | Type reference (TYPE) | DKURS | Kursdatum | 20031127 | ||
4 | Exporting | EX_QUOTATION | Call by reference | Type reference (TYPE) | TI_NOTTYPE | Notierungsart Option/Future | 20031127 | ||
5 | Importing | IM_DIFF_VALUES | Call by reference | Type reference (TYPE) | DIFS_DIFF_VALUES | Struktur für Differenzierungswerte | 20031127 | ||
6 | Importing | IM_KEY_DATE | Call by reference | Type reference (TYPE) | TPM_VAL_KEYDATE | Stichtag der Bewertung | 20031127 | ||
7 | Importing | IM_NOMINAL_AMT | Call by reference | Type reference (TYPE) | TPM_NOMINAL_AMT | Nominalbetrag | 20031127 | ||
8 | Importing | IM_OPEN_PRICE_PC | Call by reference | Type reference (TYPE) | TPM_AMOUNT | Betrag in Bestandswährung | 20031127 | ||
9 | Importing | IM_PRICE_TYPE | Call by reference | Type reference (TYPE) | VVSKURSART | Wertpapierkursart | 20031204 | ||
10 | Importing | IM_UNITS | Call by reference | Type reference (TYPE) | TPM_UNITS | Stücke | 20031127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | MARKET_ERROR | Fehler bei Bestimmung von Marktkursen | 20031127 |
Method MANAGE_CALCULATION Signature
Method MANAGE_CALCULATION on class CL_PRICE_VALUATION_VAL has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CONVERSION_ERROR | Umrechnungsfehler | 20000707 |
Method PRICE_TO_AMOUNT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_AMOUNT | Call by reference | Type reference (TYPE) | TPM_AMOUNT | Wert | 20000706 | ||
2 | Importing | IM_AMOUNT_CURR | Call by reference | Type reference (TYPE) | TPM_CURR | Währung in der der Betrag errechnet werden soll | 20010411 | ||
3 | Importing | IM_DATE | Call by reference | Type reference (TYPE) | DATS | Datum zu dem der Betrag angefordert wird | 20010411 | ||
4 | Importing | IM_FLG_ACT_PASS | Call by reference | Type reference (TYPE) | TPM_ACTIVE_PASSIVE | Kennzeichen Aktiv/Passiv-Bestand | 20041215 | ||
5 | Importing | IM_NOMINAL_AMT | Call by reference | Type reference (TYPE) | TPM_NOMINAL_AMT | Nominalbetrag | 20041215 | ||
6 | Importing | IM_PRICE | Call by reference | Type reference (TYPE) | VVPKTKUR | Kurs | 20000706 | ||
7 | Importing | IM_PRICE_CURR | Call by reference | Type reference (TYPE) | TPM_CURR | Währung in der der Kurs vorliegt | 20010411 | ||
8 | Importing | IM_QUOTATION | Call by reference | Type reference (TYPE) | SNOTI | Kennzeichen Notierung | 20041215 | ||
9 | Importing | IM_RATE_CATEGORY | Call by reference | Type reference (TYPE) | KURST_CURR | Kurstyp mit dem eventuell umgerechnet wird | 20010411 | ||
10 | Importing | IM_SECURITY_ID | Call by reference | Type reference (TYPE) | VVRANLW | Kennnummer Wertpapier | 20091013 | ||
11 | Importing | IM_UNITS | Call by reference | Type reference (TYPE) | TPM_UNITS | Stücke | 20000706 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | AMOUNT_OVERFLOW | Overflow | 20000706 | |
2 | CONVERTION_ERROR | Fehler beim Umrechnen | 20010411 | |
3 | FAILED | 20091013 |
Method SELECT_ONE_OF_THREE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_AMOUNT_ID | Call by reference | Type reference (TYPE) | CHAR2 | ID des ausgewählten Betrags (AC/OB/MA) | 20000706 | ||
2 | Importing | IM_AC | Call by reference | Type reference (TYPE) | TPM_AMOUNT | Anschaffungswert exkl. Kosten | 20000706 | ||
3 | Importing | IM_MA | Call by reference | Type reference (TYPE) | TPM_AMOUNT | Marktwert | 20000706 | ||
4 | Importing | IM_OB | Call by reference | Type reference (TYPE) | TPM_AMOUNT | alter Buchwert exkl. Kosten | 20000706 | ||
5 | Importing | IM_RULE_DOWN | Call by reference | Type reference (TYPE) | CHAR1 | Abschreibungsregel | 20000706 | ||
6 | Importing | IM_RULE_UP | Call by reference | Type reference (TYPE) | CHAR1 | Zuschreibungsregel | 20000706 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | RULE_ERROR | unbekannte Bewertungsregel erhalten | 20000706 |
History
Last changed by/on | SAP | 20050109 |
SAP Release Created in | 462_10 |