SAP ABAP Class CL_TBA_DCS_PRICEQUOT_FWD_SRV (Service Class for DCS based Commodity Forward Prices)
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 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_TBA_DCS_PRICEQUOT_FWD_SRV | Service Interface for DCS based Commodity Forward Prices | 20130711 |
Properties
Class | CL_TBA_DCS_PRICEQUOT_FWD_SRV | |
Short Description | Service Class for DCS based Commodity Forward Prices | |
Super Class | ||
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 | 20131127 | 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
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_TBA_DCS_PRICEQUOT_FWD_SRV | Service Interface for DCS based Commodity Forward Prices | 20130711 |
Friends
Class CL_TBA_DCS_PRICEQUOT_FWD_SRV has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | TBAY_DCS_ATTRIBUTES | DCS Attributes | 20130711 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Protected | Method | Get Price Quotation by list of Keydates | 20130920 |
2 | ![]() |
Instance method | Protected | Method | Get By Key from Data Base | 20130711 |
3 | ![]() |
Instance method | Protected | Method | Get DCS Attributes | 20130711 |
4 | ![]() |
Instance method | Protected | Method | Get DCS Version Data for Price Date | 20130711 |
5 | ![]() |
Instance method | Protected | Method | Get Next N Pricequot by Keydate from Data Base | 20130920 |
6 | ![]() |
Instance method | Protected | Method | Get List of valid Periods | 20130711 |
7 | ![]() |
Instance method | Protected | Method | Get List of periods by price date and period type | 20130920 |
8 | ![]() |
Instance method | Protected | Method | Get period type | 20130920 |
9 | ![]() |
Instance method | Protected | Method | Get List of valid Price Types | 20130711 |
10 | ![]() |
Instance method | Protected | Method | Insert Forward Prices to Data Base | 20130711 |
11 | ![]() |
Instance method | Protected | Method | Check, if Price Quotation is consistent | 20130711 |
12 | ![]() |
Instance method | Protected | Method | Check, if Combination of DCS and MIC is valid | 20130711 |
13 | ![]() |
Instance method | Protected | Method | Check, if MIC is active | 20130711 |
Events
Class CL_TBA_DCS_PRICEQUOT_FWD_SRV has no event.
Types
Class CL_TBA_DCS_PRICEQUOT_FWD_SRV has no local type.
Method Signatures
Method _GET_BY_KEYDATES_FROM_DB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_PRICEQUOT | Call by reference | Type reference (TYPE) | TBAY_PRICEQUOT_FWD | Price Quotation FWD | 20130920 | ||
2 | ![]() |
IT_KEYDATES | Call by reference | Type reference (TYPE) | TBAY_KEYDATES | Table type of Keydate | 20130920 | ||
3 | ![]() |
IV_CURVEDATE | Call by reference | Type reference (TYPE) | TBA_CURVEDATE | Curve Date | 20130920 | ||
4 | ![]() |
IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130920 | ||
5 | ![]() |
IV_MIC | Call by reference | Type reference (TYPE) | TBA_MIC | Market Identification Code | 20130920 | ||
6 | ![]() |
IV_PERIODTYPE | Call by reference | Type reference (TYPE) | TBA_PERIODTYPE | 'QPF' | Periodtype | 20130920 | |
7 | ![]() |
IV_PRICETYPE | Call by reference | Type reference (TYPE) | TBA_PRICETYPE | Type of Price Quotation | 20130920 | ||
8 | ![]() |
IV_RB_CURVEDATE | Call by reference | Type reference (TYPE) | TBA_CURVEDATE | Read Back Curve Date | 20130920 |
Method _GET_BY_KEYDATES_FROM_DB on class CL_TBA_DCS_PRICEQUOT_FWD_SRV has no exception.
Method _GET_BY_KEY_FROM_DB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_PRICEQUOT | Call by reference | Type reference (TYPE) | TBAT_PRICE_FWD | Derivative Contract Specification: Commodity Forward Prices | 20130711 | ||
2 | ![]() |
IS_KEY | Call by reference | Type reference (TYPE) | TBAS_MDT_KEY_EXT_FWD | Key Fields of Commodity Forward Price (External View) | 20130711 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exceptions related to Price Quotation Services | 20130711 |
Method _GET_DCS_ATTRIBUTES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_DCS | Value transfer | Type reference (TYPE) | TBAS_DCS_ATTRIBUTES | DCS Attribute Structure | 20130711 | ||
2 | ![]() |
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 _GET_DCS_VERSION_FOR_DATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_DCS | Value transfer | Type reference (TYPE) | TBAC_DCS_CTY | Definition Contract Specification LOF Commodity | 20130711 | ||
2 | ![]() |
IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130711 | ||
3 | ![]() |
IV_PRICEDATE | Call by reference | Type reference (TYPE) | TBA_PRICEDATE | Date of Price Quotation | 20130711 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception thrown when input param invalid | 20130711 |
Method _GET_NEXT_N_BY_KEYDATE_FROM_DB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_PRICEDATE | Call by reference | Type reference (TYPE) | TBAS_PRICEDATE | Structure of Price Date and Time | 20130920 | ||
2 | ![]() |
IT_KEY | Call by reference | Type reference (TYPE) | TBAY_PQ_KEYDATE_FWD_INTERN | table type of Pricequot Part values | 20130920 | ||
3 | ![]() |
IT_PRICETIME | Call by reference | Type reference (TYPE) | TBAR_PRICETIME | Range table for Price Time | 20130920 | ||
4 | ![]() |
IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130920 | ||
5 | ![]() |
IV_DIRECTION | Call by reference | Type reference (TYPE) | IF_TBA_DCS_PRICEQUOT_SERVICES=>TY_DIRECTION | IF_TBA_DCS_PRICEQUOT_SERVICES=>GC_DIRECTION_AFTER | 20130920 | ||
6 | ![]() |
IV_NUMBER_QUOTATIONS | Call by reference | Type reference (TYPE) | I | 20130920 | |||
7 | ![]() |
IV_PERIODTYPE | Call by reference | Type reference (TYPE) | TBA_PERIODTYPE | IF_TBA_DCS_PRICEQUOT_FWD_SRV=>GC_PERIODTYPE_QPS | Period Type | 20130920 | |
8 | ![]() |
RT_PRICEQUOT | Value transfer | Type reference (TYPE) | TBAY_PRICEQUOT_FWD | Derivative Contract Specification: Price Quotations | 20130920 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exceptions related to Price Quotation Services | 20130920 |
Method _GET_PERIODS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_PERIODS | Value transfer | Type reference (TYPE) | TBAY_DCS_FORWARD_PERIODS | Periods | 20130711 | ||
2 | ![]() |
IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130711 | ||
3 | ![]() |
IV_PRICEDATE | Call by reference | Type reference (TYPE) | TBA_PRICEDATE | Date of Price Quotation | 20130711 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception class for invalid customizing | 20130711 | |
2 | ![]() |
Exception thrown when input param invalid | 20130711 |
Method _GET_PERIODS_BY_DATE_PTYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_PERIODS | Value transfer | Type reference (TYPE) | TBAY_DCS_FORWARD_PERIODS | Table type of Keydates | 20130920 | ||
2 | ![]() |
IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130920 | ||
3 | ![]() |
IV_PRICEDATE | Call by reference | Type reference (TYPE) | TBA_PRICEDATE | Date of Price Quotation | 20130920 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception class for invalid customizing | 20130920 | |
2 | ![]() |
Exception thrown when input param invalid | 20130920 |
Method _GET_PERIOD_TYPE 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 | 20130920 | ||
2 | ![]() |
IV_KEYDATE | Call by reference | Type reference (TYPE) | TBA_KEYDATE | DCS Key Date | 20130920 | ||
3 | ![]() |
IV_PRICEDATE | Call by reference | Type reference (TYPE) | TBA_PRICEDATE | Date of Price Quotation | 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 _GET_PRICE_TYPES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_PRICE_TYPES | Value transfer | Type reference (TYPE) | TBAY_PRICETYPE | List of Price Types | 20130711 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exceptions related to Price Quotation Services | 20130711 |
Method _INSERT_INTO_DB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_PRICEQUOT | Call by reference | Type reference (TYPE) | TBAY_PRICE_FWD | Commodity Forward Price | 20130711 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exceptions related to Price Quotation Services | 20130711 |
Method _IS_CONSISTENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_CONSISTENT | Value transfer | Type reference (TYPE) | ABAP_BOOL | Price Quotation is consistent | 20130711 | ||
2 | ![]() |
IS_PRICEQUOT | Call by reference | Type reference (TYPE) | TBAS_PRICEQUOT_FWD_INS | Price Quotation | 20130711 | ||
3 | ![]() |
IT_PRICEQUOT | Call by reference | Type reference (TYPE) | TBAY_PRICEQUOT_FWD_INS | Derivative Contract Specification: Commodity Forward Prices | 20130711 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exceptions related to Price Quotation Services | 20130711 | |
2 | ![]() |
Exception class for invalid customizing | 20130711 | |
3 | ![]() |
Exception thrown when input param invalid | 20130711 |
Method _IS_DCS_MIC_COMBINATION_VALID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_VALID | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20130711 | |||
2 | ![]() |
IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130711 | ||
3 | ![]() |
IV_MIC | Call by reference | Type reference (TYPE) | TBA_MIC | Market Identifier Code | 20130711 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception thrown when input param invalid | 20130711 |
Method _IS_MIC_ACTIVE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_ACTIVE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20130711 | |||
2 | ![]() |
IV_MIC | Call by reference | Type reference (TYPE) | TBA_MIC | Market Identifier Code | 20130711 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception thrown when input param invalid | 20130711 |
History
Last changed by/on | SAP | 20131127 |
SAP Release Created in |