SAP ABAP Class CL_TBA_DCS_FWD_SERVICES (Service class for DCS - Forwards)
Hierarchy
☛
PI_BASIS (Software Component) Basis Plug-In
⤷
CA-GTF-TRB (Application Component) Financial Risk Management Basis
⤷
FTR_BASIS_DATA_ACCESS (Package) Treasury Basis Objects - Data Access
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_TBA_DCS_SERVICES | Service class for Derivative Contract Specification | 20130711 |
Properties
| Class | CL_TBA_DCS_FWD_SERVICES | |
| Short Description | Service class for DCS - Forwards | |
| Super Class | CL_TBA_DCS_SERVICES | Service class for Derivative Contract Specification |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | FTR_BASIS_DATA_ACCESS | Treasury Basis Objects - Data Access |
| Created | 20130702 | SAP |
| Last change | 20140121 | 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) |
Interfaces
Class CL_TBA_DCS_FWD_SERVICES has no interface implemented.
Friends
Class CL_TBA_DCS_FWD_SERVICES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | TBA_PERIODTYPE | 'QPF' | Quotation Period | 20130830 | ||
| 2 | Constant | Public | Type reference (TYPE) | TBA_PERIODTYPE | 'QPS' | Quotation Period | 20130830 | ||
| 3 | Constant | Private | Type reference (TYPE) | TBA_REPORTINGDATE | '800' | Reporting Date | 20130802 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Delete Specific DCS (all data of that DCS) | 20130711 | |
| 2 | Static method | Public | Method | Deletes entries from TBAC_DCS_FWD_KD for given DCSID | 20130827 | |
| 3 | Static method | Public | Method | Deletes entries from TBAC_DCS_FWD_KDP for given DCSID | 20130827 | |
| 4 | Static method | Public | Method | Deletes entries from TBAC_DCS_FWD_KDT for given DCSID | 20130827 | |
| 5 | Static method | Public | Method | Gets data from DCS needed for the curve | 20130827 | |
| 6 | Static method | Public | Method | Get forward specific attributes (Phys.Comm, PDEF ID) | 20130711 | |
| 7 | Static method | Public | Method | Gets key date for given DCs, any date and periodtype | 20130827 | |
| 8 | Static method | Public | Method | Get periods for given DCS | 20130711 | |
| 9 | Static method | Public | Method | Get Period Keys for Pricedate | 20130807 | |
| 10 | Static method | Public | Method | Gets reporting date logic for forward | 20130711 | |
| 11 | Instance method | Public | Method | Get the Reporting Date | 20130802 | |
| 12 | Static method | Public | Method | Get the valid quot. period type for key DCS, KD, Timin, Date | 20130920 | |
| 13 | Static method | Public | Method | Writes into TBAC_DCS_CTY - DCS versioned data | 20130711 | |
| 14 | Static method | Public | Method | Writes into TBAC_DCS_FWD_KD | 20130827 | |
| 15 | Static method | Public | Method | Writes into TBAC_DCS_FWD_KDP (manual period table) | 20130827 | |
| 16 | Static method | Public | Method | Writes into TBAC_DCS_FWD_KDT (text table) | 20130827 |
Events
Class CL_TBA_DCS_FWD_SERVICES has no event.
Types
Class CL_TBA_DCS_FWD_SERVICES has no local type.
Method Signatures
Method DELETE_DCS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130711 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception thrown when input param invalid | 20130711 |
Method DELETE_DCS_FWD_KD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130827 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception thrown when input param invalid | 20130827 |
Method DELETE_DCS_FWD_KDP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130827 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception thrown when input param invalid | 20130827 |
Method DELETE_DCS_FWD_KDT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130827 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception thrown when input param invalid | 20130827 |
Method GET_DCS_FOR_CURVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_DCS_CTY | Call by reference | Type reference (TYPE) | TBAC_DCS_CTY | Definition Contract Specification LOF Commodity | 20130827 | |||
| 2 | ES_DCS_LOF_ATTRIBUTES | Call by reference | Type reference (TYPE) | TBAS_DCS_ATTRIBUTES_LOF | DCS Attribute Structure Listed Options, Futures | 20130827 | |||
| 3 | ET_DCS_KDATS | Call by reference | Type reference (TYPE) | TBAY_DCS_FWD_KD | Key date and DCS | 20130827 | |||
| 4 | ET_DCS_KDT | Call by reference | Type reference (TYPE) | TBAY_DCS_FWD_KDT | Texts for Keydates | 20130827 | |||
| 5 | ET_DCS_PERDS | Call by reference | Type reference (TYPE) | TBAY_DCS_FORWARD_PERIODS | DCS Periods | 20130827 | |||
| 6 | ET_KEYDATES | Call by reference | Type reference (TYPE) | TBAY_KEYDATES | Table type of Keydates | 20130827 | |||
| 7 | IV_CURVE_DATE | Call by reference | Type reference (TYPE) | TBA_KEYDATE | DCS Key Date | 20130827 | |||
| 8 | IV_DATE_FROM | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20130827 | |||
| 9 | IV_DATE_TO | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20130827 | |||
| 10 | IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130827 | |||
| 11 | IV_WITH_KEYDATE_TEXTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130827 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for invalid customizing | 20130827 | ||
| 2 | Exception thrown when input param invalid | 20130827 |
Method GET_DCS_FWD_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130711 | |||
| 2 | RS_DCS_FWD_ATTR | Value transfer | Type reference (TYPE) | TBAS_DCS_ATTRIBUTES_LOF | DCS Attribute Structure Listed Options, Futures | 20130711 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception thrown when input param invalid | 20130711 |
Method GET_KEYDATE_FOR_DATE_PERTYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DCS_KDATS | Call by reference | Type reference (TYPE) | TBAY_DCS_FWD_KD | Key date and DCS | 20130827 | |||
| 2 | ET_DCS_KDT | Call by reference | Type reference (TYPE) | TBAY_DCS_FWD_KDT | Texts for Keydates | 20130827 | |||
| 3 | ET_DCS_PERDS | Call by reference | Type reference (TYPE) | TBAY_DCS_FORWARD_PERIODS | DCS Periods | 20130827 | |||
| 4 | ET_KEYDATES | Call by reference | Type reference (TYPE) | TBAY_KEYDATES | Table type of Keydates | 20130827 | |||
| 5 | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20130827 | |||
| 6 | IV_DATE_FROM | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20130827 | |||
| 7 | IV_DATE_TO | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20130827 | |||
| 8 | IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130827 | |||
| 9 | IV_PERIODTYPE | Call by reference | Type reference (TYPE) | TBA_PERIODTYPE | Period Type | 20130827 | |||
| 10 | IV_STARTDATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20130827 | |||
| 11 | IV_TIMING | Call by reference | Type reference (TYPE) | TBA_TIMING | Timing/Periodicity of Commodity Forward Indexes | 20130920 | |||
| 12 | IV_WITH_KEYDATE_TEXTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | Flag for key date text | 20130827 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for invalid customizing | 20130827 | ||
| 2 | Exception thrown when input param invalid | 20130827 |
Method GET_PERIODS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_KEYDATES_TXT | Call by reference | Type reference (TYPE) | TBAY_DCS_FWD_KDT | Texts for Keydate/Timing | 20130711 | |||
| 2 | ET_PERIODS | Call by reference | Type reference (TYPE) | TBAY_DCS_FORWARD_PERIODS | DCS Commodity Forward Periods | 20130711 | |||
| 3 | IS_ATTR_LOF | Call by reference | Type reference (TYPE) | TBAS_DCS_ATTRIBUTES_LOF | DCS Attribute Structure Listed Options, Futures | 20130711 | |||
| 4 | IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130711 | |||
| 5 | IV_KEYDATE | Call by reference | Type reference (TYPE) | TBA_KEYDATE | DCS Key Date | 20130711 | |||
| 6 | IV_PERIODTYPE | Call by reference | Type reference (TYPE) | TBA_PERIODTYPE | Period Type | 20130807 | |||
| 7 | IV_START_DATE | Call by reference | Type reference (TYPE) | TBA_PERIOD_START_DATE | DCS: Period Start Date | 20130711 | |||
| 8 | IV_WITH_TEXTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130807 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for invalid customizing | 20130711 | ||
| 2 | Exception thrown when input param invalid | 20130711 |
Method GET_PERIOD_KEYS_FOR_PRICEDATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_KEYS | Call by reference | Type reference (TYPE) | TBAY_KEYDATE_TIMING | List of Commodity Forward Period Keys | 20130807 | |||
| 2 | IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130807 | |||
| 3 | IV_PRICEDATE | Call by reference | Type reference (TYPE) | TBA_PRICEDATE | Pricedate | 20130807 | |||
| 4 | IV_WITH_TEXTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130809 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for invalid customizing | 20130807 | ||
| 2 | Exception thrown when input param invalid | 20130807 |
Method GET_REPORTINGDATELOGIC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_REPDATELOGICDEF | Value transfer | Type reference (TYPE) | TBAY_REPDATEDEF | Table type for reporting date | 20130711 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception thrown when input param invalid | 20130711 |
Method GET_REPORTING_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATE | Call by reference | Type reference (TYPE) | SYDATUM | System Date | 20130802 | |||
| 2 | IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130802 | |||
| 3 | RV_REPORTING_DATE | Value transfer | Type reference (TYPE) | TBA_REPORTING_DATE | Reporting Date | 20130802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for invalid customizing | 20130802 | ||
| 2 | Exception thrown when input param invalid | 20130802 |
Method GET_VALID_QUOT_PTYPE_FOR_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATE | Call by reference | Type reference (TYPE) | SYDATUM | System Date | 20130920 | |||
| 2 | IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130920 | |||
| 3 | IV_KEYDATE | Call by reference | Type reference (TYPE) | TBA_KEYDATE | DCS Key Date | 20130920 | |||
| 4 | IV_TIMING | Call by reference | Type reference (TYPE) | TBA_TIMING | Timing/Periodicity of Commodity Forward Indexes | 20130920 | |||
| 5 | RV_PERIOD_TYPE | Value transfer | Type reference (TYPE) | TBA_PERIODTYPE | Period Type | 20130920 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for invalid customizing | 20130920 | ||
| 2 | Exception thrown when input param invalid | 20130920 |
Method SET_DCS_CTY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DCS_CTY | Call by reference | Type reference (TYPE) | TBAC_DCS_CTY | Definition Contract Specification LOF Commodity | 20130711 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception thrown when input param invalid | 20130711 |
Method SET_DCS_FWD_KD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DCS_FWD_KD | Call by reference | Type reference (TYPE) | TBAY_DCS_FWD_KD | Table type for TBAC_DCS_FWD_KD | 20130827 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception thrown when input param invalid | 20130827 |
Method SET_DCS_FWD_KDP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DCS_FWD_KDP | Call by reference | Type reference (TYPE) | TBAY_DCS_FWD_KDP | Table type for TBAC_DCS_FWD_KDP | 20130827 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception thrown when input param invalid | 20130827 |
Method SET_DCS_FWD_KDT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DCS_FWD_KDT | Call by reference | Type reference (TYPE) | TBAY_DCS_FWD_KDT | Texts for Keydate/Timing | 20130827 | |||
| 2 | IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130827 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception thrown when input param invalid | 20130827 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in |