SAP ABAP Class CL_TITLE_VALUATION_VAL (Treasury: Security Valuation Step)
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 | 20000706 |
Properties
| Class | CL_TITLE_VALUATION_VAL | |
| Short Description | Treasury: Security Valuation Step | |
| 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 | 20110810 | 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 | 20000706 |
Friends
Class CL_TITLE_VALUATION_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 | 20000706 | |||
| 2 | Constant | Public | Type reference (TYPE) | SNOTI | '5' | Broken Quotation | 20091013 | ||
| 3 | Constant | Public | Type reference (TYPE) | SNOTI | '4' | Inverse Percentage Quotation | 20091013 | ||
| 4 | Constant | Public | Type reference (TYPE) | SNOTI | '1' | Percentage Quotation | 20091013 | ||
| 5 | Constant | Public | Type reference (TYPE) | SNOTI | 'P' | Quotation Indicator | 20091013 | ||
| 6 | Constant | Public | Type reference (TYPE) | SNOTI | '3' | Point Quotation | 20091013 | ||
| 7 | Constant | Public | Type reference (TYPE) | SNOTI | '2' | Unit Quotation | 20091013 | ||
| 8 | Constant | Public | Type reference (TYPE) | SNOTI | 'S' | Quotation Indicator | 20091013 | ||
| 9 | Instance attribute | Private | Type reference (TYPE) | TRGS_CURRENCIES | Position and Valuation Currency | 20000706 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | VALS_CUST | Customizing | 20000706 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | VALS_NEW_DATA | New Book Values and Rates | 20000706 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | TPM_STATE_OF_STEP | Status of the Valuation Step | 20000706 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | BAL_T_MSG | Messages | 20000706 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | VALY_VALUATION_FLOW | Valuation Flows for Reset | 20000706 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | TRGR_PRODUCT_CATEGORY | Supported Product Categories | 20000707 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | VALY_VALUATION_FLOW | Valuation Flows | 20000706 | |||
| 17 | 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 | Instance method | Private | Method | Provides Rate for Value/Number of Units | 20000706 | |
| 2 | Instance method | Private | Method | Executes Calculation | 20000706 | |
| 3 | Instance method | Private | Method | Executes Valuation of Costs | 20000706 | |
| 4 | Instance method | Private | Method | Checks the Calculation Bases | 20000706 | |
| 5 | Instance method | Private | Method | Checks the Customizing Settings | 20000706 | |
| 6 | Instance method | Private | Method | Checks Consistency of New Book Values | 20000706 | |
| 7 | Instance method | Private | Method | Checks Consistency of New Book Values of Costs | 20000707 | |
| 8 | Static method | Public | Method | Calculates Accrued Interest (Using TPM44) for Dirty Price | 20100112 | |
| 9 | Static method | Public | Method | Provides Rate for Value/Number of Units | 20091013 | |
| 10 | Static method | Public | Method | Gets Value for Rate/Number of Units | 20091013 | |
| 11 | Instance method | Public | Constructor | Constructor | 20000706 | |
| 12 | Instance method | Private | Method | Generates Flows for Costs | 20000707 | |
| 13 | Instance method | Private | Method | Generates Flow for Asset/Liab. Account | 20031218 | |
| 14 | Instance method | Private | Method | Generates Flows | 20000707 | |
| 15 | Instance method | Private | Method | Coordinates the Generation of Flows | 20000706 | |
| 16 | Instance method | Private | Method | Determines the Calculation Bases | 20000706 | |
| 17 | Instance method | Private | Method | Coordinates Calculation | 20000707 | |
| 18 | Instance method | Private | Method | Gets Value for Rate/Number of Units | 20000706 | |
| 19 | Instance method | Private | Method | Selects One of Three Amounts Based on Rules | 20000706 |
Events
Class CL_TITLE_VALUATION_VAL has no event.
Types
Class CL_TITLE_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 | EX_PRICE | Call by reference | Type reference (TYPE) | VVPKTKUR | Kurs | 20000706 | |||
| 2 | IM_AMOUNT | Call by reference | Type reference (TYPE) | TPM_AMOUNT | Wert | 20000706 | |||
| 3 | IM_CURRENCY | Call by reference | Type reference (TYPE) | TPM_CURR | Währung | 20000706 | |||
| 4 | IM_FLG_ACT_PASS | Call by reference | Type reference (TYPE) | TPM_ACTIVE_PASSIVE | Kennzeichen Aktiv/Passiv-Bestand | 20041215 | |||
| 5 | IM_NOMINAL_AMT | Call by reference | Type reference (TYPE) | TPM_NOMINAL_AMT | Nominalbetrag | 20041215 | |||
| 6 | IM_QUOTATION | Call by reference | Type reference (TYPE) | SNOTI | Kennzeichen Notierung | 20041215 | |||
| 7 | IM_SECURITY_ID | Call by reference | Type reference (TYPE) | VVRANLW | Kennnummer Wertpapier | 20091013 | |||
| 8 | IM_UNITS | Call by reference | Type reference (TYPE) | TPM_UNITS | Stücke | 20000706 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Overflow | 20000706 | ||
| 2 | 20091013 |
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 | 20051207 | |||
| 2 | IM_POSITION | Call by reference | Object reference (TYPE REF TO) | IF_ASSESSABLE_POSITION_VAL | Treasury: Position can be Valued | 20051207 | |||
| 3 | IM_VAL_CAT | Call by reference | Type reference (TYPE) | TPM_VAL_CAT | Typ der Bewertung | 20051207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Verarbeitungsfehler im BAdI | 20051207 | ||
| 2 | Fehler beim Umrechnen eines Betrages von BestW in BewW | 20000706 | ||
| 3 | Systemfehler | 20000707 |
Method CALCULATE_COSTS 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 | Key Date for Valuation | 20110527 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Umrechnung von BestW in BewW | 20000706 | ||
| 2 | Systemfehler | 20000706 |
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 | 20000706 | |||
| 2 | IM_ACCUMULATOR | Call by reference | Object reference (TYPE REF TO) | CL_ACCUMULATOR_TRG | Treasury: Addiermaschine | 20061116 | |||
| 3 | IM_KEYDATE | Call by reference | Type reference (TYPE) | TPM_VAL_KEYDATE | Stichtag der Bewertung | 20010205 | |||
| 4 | IM_POSITION | Call by reference | Object reference (TYPE REF TO) | IF_ASSESSABLE_POSITION_VAL | Position | 20020204 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei der Prüfung | 20020204 | ||
| 2 | Bewertungsschritt nicht ausführen | 20041209 |
Method CHECK_CUSTOMIZING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_VAL_CAT | Call by reference | Type reference (TYPE) | TPM_VAL_CAT | Typ der Bewertung | 20010420 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler in den Customizing-Einstellungen | 20000706 | ||
| 2 | Systemfehler | 20000707 |
Method CHECK_NEW_DATA Signature
Method CHECK_NEW_DATA on class CL_TITLE_VALUATION_VAL has no parameter.
Method CHECK_NEW_DATA on class CL_TITLE_VALUATION_VAL has no exception.
Method CHECK_NEW_DATA_COSTS Signature
Method CHECK_NEW_DATA_COSTS on class CL_TITLE_VALUATION_VAL has no parameter.
Method CHECK_NEW_DATA_COSTS on class CL_TITLE_VALUATION_VAL has no exception.
Method CLS_ADD_ACCRUED_INTEREST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_CALC_BASIS | Call by reference | Type reference (TYPE) | VALS_CALC_BASIS | 20100112 | ||||
| 2 | IM_CUSTOMIZING_DATA | Call by reference | Type reference (TYPE) | VALS_CUST | Customizing Settings for a Valuation Step | 20100112 | |||
| 3 | IM_KEY_DATE | Call by reference | Type reference (TYPE) | TPM_VAL_KEYDATE | Key Date for Valuation | 20100112 | |||
| 4 | IM_POSITION | Call by reference | Object reference (TYPE REF TO) | IF_ASSESSABLE_POSITION_VAL | Treasury: Position Can Be Valued | 20100112 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100112 | |||
| 2 | 20100112 |
Method CLS_AMOUNT_TO_PRICE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_PRICE | Call by reference | Type reference (TYPE) | VVPKTKUR | Kurs des stück- oder prozentnotierten Wertpapiers | 20091013 | |||
| 2 | IM_AMOUNT | Call by reference | Type reference (TYPE) | TPM_AMOUNT | Betrag in Bestands- oder Bewertungswährung | 20091013 | |||
| 3 | IM_CURRENCY | Call by reference | Type reference (TYPE) | TPM_CURR | Währung allgemein | 20091013 | |||
| 4 | IM_FLG_ACT_PASS | Call by reference | Type reference (TYPE) | TPM_ACTIVE_PASSIVE | Kennzeichen Aktiv/Passiv-Bestand | 20091013 | |||
| 5 | IM_NOMINAL_AMT | Call by reference | Type reference (TYPE) | TPM_NOMINAL_AMT | Nominalbetrag | 20091013 | |||
| 6 | IM_QUOTATION | Call by reference | Type reference (TYPE) | SNOTI | Kennzeichen Notierung | 20091013 | |||
| 7 | IM_SECURITY_ID | Call by reference | Type reference (TYPE) | VVRANLW | Kennnummer Wertpapier | 20091013 | |||
| 8 | IM_UNITS | Call by reference | Type reference (TYPE) | TPM_UNITS | Stücke | 20091013 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20091013 | |||
| 2 | 20091013 |
Method CLS_PRICE_TO_AMOUNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_AMOUNT | Call by reference | Type reference (TYPE) | TPM_AMOUNT | Betrag in Bestands- oder Bewertungswährung | 20091013 | |||
| 2 | IM_AMOUNT_CURR | Call by reference | Type reference (TYPE) | TPM_CURR | Währung allgemein | 20091013 | |||
| 3 | IM_DATE | Call by reference | Type reference (TYPE) | DATS | Feld vom Typ DATS | 20091013 | |||
| 4 | IM_FLG_ACT_PASS | Call by reference | Type reference (TYPE) | TPM_ACTIVE_PASSIVE | Kennzeichen Aktiv/Passiv-Bestand | 20091013 | |||
| 5 | IM_NOMINAL_AMT | Call by reference | Type reference (TYPE) | TPM_NOMINAL_AMT | Nominalbetrag | 20091013 | |||
| 6 | IM_PRICE | Call by reference | Type reference (TYPE) | VVPKTKUR | Kurs des stück- oder prozentnotierten Wertpapiers | 20091013 | |||
| 7 | IM_PRICE_CURR | Call by reference | Type reference (TYPE) | TPM_CURR | Währung allgemein | 20091013 | |||
| 8 | IM_QUOTATION | Call by reference | Type reference (TYPE) | SNOTI | Kennzeichen Notierung | 20091013 | |||
| 9 | IM_RATE_CATEGORY | Call by reference | Type reference (TYPE) | KURST_CURR | Kurstyp | 20091013 | |||
| 10 | IM_SECURITY_ID | Call by reference | Type reference (TYPE) | VVRANLW | Kennnummer Wertpapier | 20091013 | |||
| 11 | IM_UNITS | Call by reference | Type reference (TYPE) | TPM_UNITS | Stücke | 20091013 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Overflow | 20091013 | ||
| 2 | Fehler beim Umrechnen | 20091013 | ||
| 3 | 20091013 |
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 | 20000706 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | keine Customizing-Daten übergeben | 20000706 |
Method CREATE_FLOW_CO Signature
Method CREATE_FLOW_CO on class CL_TITLE_VALUATION_VAL has no parameter.
Method CREATE_FLOW_CO on class CL_TITLE_VALUATION_VAL has no exception.
Method CREATE_FLOW_FOR_SPLIT_ACCOUNTS Signature
Method CREATE_FLOW_FOR_SPLIT_ACCOUNTS on class CL_TITLE_VALUATION_VAL has no parameter.
Method CREATE_FLOW_FOR_SPLIT_ACCOUNTS on class CL_TITLE_VALUATION_VAL has no exception.
Method CREATE_FLOW_SE Signature
Method CREATE_FLOW_SE on class CL_TITLE_VALUATION_VAL has no parameter.
Method CREATE_FLOW_SE on class CL_TITLE_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 | EX_TAB_VAL_FLOW | Call by reference | Type reference (TYPE) | TPMY_ACCU_FLOW | Bewegungen (für Addierer) | 20000706 | |||
| 2 | IM_VAL_CAT | Call by reference | Type reference (TYPE) | TPM_VAL_CAT | Bewertungstyp | 20000706 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Systemfehler; Programmabbruch! | 20000706 |
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 | 20000706 | |||
| 2 | IM_KEY_DATE | Call by reference | Type reference (TYPE) | TPM_VAL_KEYDATE | Datum der Bewertung | 20000706 | |||
| 3 | IM_POSITION | Call by reference | Object reference (TYPE REF TO) | IF_ASSESSABLE_POSITION_VAL | bewertbare Position | 20000706 | |||
| 4 | IM_VAL_CAT | Call by reference | Type reference (TYPE) | TPM_VAL_CAT | Typ der Bewertung | 20010420 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Best. eines Kurses zu einem Betrag bzw. umgekehrt | 20000706 | ||
| 2 | Fehler beim Umrechnen eines Betrages von BestW in BewW | 20000706 | ||
| 3 | Inkonsistenz beim Customizing | 20000706 | ||
| 4 | Fehler bei Bestimmung von Marktkursen | 20000706 | ||
| 5 | Produkttyp wird nicht unterstützt | 20000707 | ||
| 6 | Fehler bei Bestimmung eines Umrechnungskurses | 20000706 | ||
| 7 | Systemfehler; Programmabbruch! | 20000706 |
Method MANAGE_CALCULATION 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 | 20051207 | |||
| 2 | IM_POSITION | Call by reference | Object reference (TYPE REF TO) | IF_ASSESSABLE_POSITION_VAL | Treasury: Position can be Valued | 20051207 | |||
| 3 | IM_VAL_CAT | Call by reference | Type reference (TYPE) | TPM_VAL_CAT | Typ der Bewertung | 20051207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Verarbeitungsfehler im BAdI | 20051207 | ||
| 2 | Fehler beim Umrechnen eines Betrages von BestW in BewW | 20000707 |
Method PRICE_TO_AMOUNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_AMOUNT | Call by reference | Type reference (TYPE) | TPM_AMOUNT | Wert | 20000706 | |||
| 2 | IM_AMOUNT_CURR | Call by reference | Type reference (TYPE) | TPM_CURR | Währung in der der Betrag errechnet werden soll | 20010411 | |||
| 3 | IM_DATE | Call by reference | Type reference (TYPE) | DATS | Datum zu dem der Betrag angefordert wird | 20010411 | |||
| 4 | IM_FLG_ACT_PASS | Call by reference | Type reference (TYPE) | TPM_ACTIVE_PASSIVE | Kennzeichen Aktiv/Passiv-Bestand | 20041215 | |||
| 5 | IM_NOMINAL_AMT | Call by reference | Type reference (TYPE) | TPM_NOMINAL_AMT | Nominalbetrag | 20041215 | |||
| 6 | IM_PRICE | Call by reference | Type reference (TYPE) | VVPKTKUR | Kurs | 20000706 | |||
| 7 | IM_PRICE_CURR | Call by reference | Type reference (TYPE) | TPM_CURR | Währung | 20010411 | |||
| 8 | IM_QUOTATION | Call by reference | Type reference (TYPE) | SNOTI | Kennzeichen Notierung | 20041215 | |||
| 9 | IM_RATE_CATEGORY | Call by reference | Type reference (TYPE) | KURST_CURR | Kurstyp mit dem eventuell umgerechnet wird | 20010411 | |||
| 10 | IM_SECURITY_ID | Call by reference | Type reference (TYPE) | VVRANLW | Kennnummer Wertpapier | 20091013 | |||
| 11 | IM_UNITS | Call by reference | Type reference (TYPE) | TPM_UNITS | Stücke | 20000706 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Overflow | 20000706 | ||
| 2 | Fehler beim Umrechnen | 20010411 | ||
| 3 | 20091013 |
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) | 20000706 | |||
| 2 | IM_AC | Call by reference | Type reference (TYPE) | TPM_AMOUNT | Anschaffungswert exkl. Kosten | 20000706 | |||
| 3 | IM_MA | Call by reference | Type reference (TYPE) | TPM_AMOUNT | Marktwert | 20000706 | |||
| 4 | IM_OB | Call by reference | Type reference (TYPE) | TPM_AMOUNT | alter Buchwert exkl. Kosten | 20000706 | |||
| 5 | IM_RULE_DOWN | Call by reference | Type reference (TYPE) | CHAR1 | Abschreibungsregel | 20000706 | |||
| 6 | IM_RULE_UP | Call by reference | Type reference (TYPE) | CHAR1 | Zuschreibungsregel | 20000706 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | unbekannte Bewertungsregel erhalten | 20000706 |
History
| Last changed by/on | SAP | 20110810 |
| SAP Release Created in | 462_10 |