SAP ABAP Class CL_OPTION_POSITION_TRR (Position of a Listed Option for Data Extraction)
Hierarchy
☛
EA-FINSERV (Software Component) SAP Enterprise Extension Financial Services
⤷
FIN-FSCM-TRM-TM-BO (Application Component) Back Office
⤷
FTR_TRL_REPORTING (Package) Reporting Treasury Ledger
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_POSITION_EXTEN1_TRR | Position with Capital Flow Calculation | 20020508 |
Properties
| Class | CL_OPTION_POSITION_TRR | |
| Short Description | Position of a Listed Option for Data Extraction | |
| Super Class | CL_POSITION_EXTEN1_TRR | Position with Capital Flow Calculation |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | FTR_TRL_REPORTING | Reporting Treasury Ledger |
| Created | 20020508 | SAP |
| Last change | 20020508 | 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
Class CL_OPTION_POSITION_TRR has no interface implemented.
Friends
Class CL_OPTION_POSITION_TRR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | TYP_TAB_VAMA_RUN | Buffer for Variation Margin | 20020508 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | TRFS_COMPONENTS | Structure with TRF Position Components | 20020508 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | TRFS_COMPONENTS | Structure with TRF Position Components | 20020508 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | XFELD | Indicator: Data Has Been Loaded | 20020508 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | TPM_TRLDATE | Key Date: End of Period | 20020508 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | TPM_TRLDATE | Key Date: Start of Period | 20020508 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | WAERS | Local Currency | 20020508 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | BNOMS | Nominal Value of Underlying | 20020508 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | RNWHR | Nominal Currency of Underlying | 20020508 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | TPM_TRLDATE | Treasury Ledger Date | 20020508 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | TRR_POSITION_CATEGORY | Position Category | 20020508 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | SANLF | Product Category | 20020508 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | TRRY_POSTING_ITEM | Table with Posting Records | 20031105 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | DIFS_DIFF_VALUES | Structure for Differentiation Values | 20020508 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | TRRY_POSTING_ITEM | Table of Posting Items | 20020508 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | TYP_TAB_SIM_FLOW | Table of Simulated Flows | 20020508 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | TI_PPTICK | Tick | 20020508 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | TI_BWTICK | Tick value | 20020508 | |||
| 19 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_CALCULATION_POSITION_TRF | Options/Futures Position | 20020508 | |||
| 20 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_POSITION_TRL | Treasury Ledger Position | 20020508 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Add Message | 20020508 | |
| 2 | Instance method | Private | Method | Calculates Change to Pos. Components Due to Bus. Subtrans. | 20020508 | |
| 3 | Instance method | Private | Method | Calculates Position Components | 20020508 | |
| 4 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20020508 | |
| 5 | Instance method | Private | Method | Gets Market Rate/Price at Key Date | 20020508 | |
| 6 | Instance method | Private | Method | Load Posting Items from TRL | 20020508 | |
| 7 | Static method | Public | Method | Gets all Positions for Key Date | 20020508 | |
| 8 | Instance method | Public | Method | Fill Attributes | 20020508 | |
| 9 | Instance method | Private | Method | Adds Account Data for Posting Items | 20020508 |
Events
Class CL_OPTION_POSITION_TRR has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TYP_STR_SIM_FLOW | Private | See coding | TYP_STR_SIM_FLOW | 20020508 | BEGIN OF typ_str_sim_flow,
bustransid TYPE tpm_bustransid,
bustranscat TYPE tpm_bustranscat,
flow TYPE trls_flow,
END OF typ_str_sim_flow
|
|
| 2 | TYP_STR_VAMA_RUN | Private | See coding | 20020508 | BEGIN OF typ_str_vama_run,
company_code TYPE bukrs,
class_id TYPE vvranlw,
position_account TYPE tpm_pos_account_fut,
key_date TYPE tpm_position_date,
flg_found TYPE xfeld,
END OF typ_str_vama_run
|
||
| 3 | TYP_TAB_SIM_FLOW | Private | See coding | TYP_TAB_SIM_FLOW | 20020508 | typ_tab_sim_flow TYPE TABLE OF typ_str_sim_flow INITIAL SIZE 1
|
|
| 4 | TYP_TAB_VAMA_RUN | Private | See coding | Table Type of Structure TYP_STR_VAMA_RUN | 20020508 | typ_tab_vama_run TYPE TABLE OF typ_str_vama_run INITIAL SIZE 100
|
Method Signatures
Method ADD_MESSAGE Signature
Method ADD_MESSAGE on class CL_OPTION_POSITION_TRR has no parameter.
Method ADD_MESSAGE on class CL_OPTION_POSITION_TRR has no exception.
Method ADJUST_COMPONENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_COMPONENTS | Value transfer | Type reference (TYPE) | TRFS_COMPONENTS | Struktur mit TRF-Positionskomponenten | 20020508 | |||
| 2 | IM_SUBTRANSACTION | Call by reference | Object reference (TYPE REF TO) | CL_SUBTRANSACTION_TRF | Treasury: TRF-Teilgeschäftsvorfall | 20020508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler ist aufgetreten | 20020508 |
Method CALCULATE_COMPONENTS Signature
Method CALCULATE_COMPONENTS on class CL_OPTION_POSITION_TRR has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Allgemeiner Fehler | 20020508 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_OPTION_POSITION_TRR has no parameter.
Method CLASS_CONSTRUCTOR on class CL_OPTION_POSITION_TRR has no exception.
Method GET_MARKET_RATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_RATE | Value transfer | Type reference (TYPE) | VVPKTKUR | Marktkurs zum Stichtag | 20020508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler ist aufgetreten | 20020508 |
Method LOAD_POSTING_ITEMS_FROM_TRL Signature
Method LOAD_POSTING_ITEMS_FROM_TRL on class CL_OPTION_POSITION_TRR has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler ist aufgetreten | 20020508 |
Method RETRIEVE_POSITIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_KEYDATE | Value transfer | Type reference (TYPE) | TPM_TRLDATE | Stichtag, Periodenende | 20020508 | |||
| 2 | IM_KEYDATE_B | Value transfer | Type reference (TYPE) | TPM_TRLDATE | Anfang Stichtagsperiode | 20020508 | |||
| 3 | IM_PERIOD_BEGIN | Value transfer | Type reference (TYPE) | TPM_TRLDATE | Periodenanfang | 20020508 | |||
| 4 | IM_RANGES | Value transfer | Type reference (TYPE) | DIFS_SELECTION_RANGES | Ranges über Differenzierungswerte für DB-Selektion | 20020508 | |||
| 5 | RE_TAB_POSITION | Value transfer | Type reference (TYPE) | TRRY_POSITION_EXTEN1 | Tabelle mit Positionen für Reporting | 20020508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler ist aufgetreten | 20020508 |
Method SET_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_KEYDATE | Value transfer | Type reference (TYPE) | TPM_TRLDATE | Stichtag, Periodenende | 20020508 | |||
| 2 | IM_KEYDATE_B | Value transfer | Type reference (TYPE) | TPM_TRLDATE | Stichtagsperiodenanfang | 20020508 | |||
| 3 | IM_PERIOD_BEGIN | Value transfer | Type reference (TYPE) | TPM_TRLDATE | Periodenanfang | 20020508 | |||
| 4 | IM_STR_DIFF_VALUES | Value transfer | Type reference (TYPE) | DIFS_DIFF_VALUES | Struktur für Differenzierungswerte | 20020508 | |||
| 5 | IM_TRF_POSITION | Value transfer | Object reference (TYPE REF TO) | CL_CALCULATION_POSITION_TRF | Options/Futures-Position | 20020508 | |||
| 6 | IM_TRL_POSITION | Value transfer | Object reference (TYPE REF TO) | CL_POSITION_TRL | Treasury Ledger Position | 20020508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler ist aufgetreten | 20020508 |
Method SUPPLEMENT_ACCOUNTS Signature
Method SUPPLEMENT_ACCOUNTS on class CL_OPTION_POSITION_TRR has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler ist aufgetreten | 20020508 |
History
| Last changed by/on | SAP | 20020508 |
| SAP Release Created in | 110 |