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 ABAP 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 GT_DCS_ATTRIBUTES Instance attribute Protected Type reference (TYPE) TBAY_DCS_ATTRIBUTES DCS Attributes 20130711
Methods
# Method Level Visibility Method type Description Created on
1 _GET_BY_KEYDATES_FROM_DB Instance method Protected Method Get Price Quotation by list of Keydates 20130920
2 _GET_BY_KEY_FROM_DB Instance method Protected Method Get By Key from Data Base 20130711
3 _GET_DCS_ATTRIBUTES Instance method Protected Method Get DCS Attributes 20130711
4 _GET_DCS_VERSION_FOR_DATE Instance method Protected Method Get DCS Version Data for Price Date 20130711
5 _GET_NEXT_N_BY_KEYDATE_FROM_DB Instance method Protected Method Get Next N Pricequot by Keydate from Data Base 20130920
6 _GET_PERIODS Instance method Protected Method Get List of valid Periods 20130711
7 _GET_PERIODS_BY_DATE_PTYPE Instance method Protected Method Get List of periods by price date and period type 20130920
8 _GET_PERIOD_TYPE Instance method Protected Method Get period type 20130920
9 _GET_PRICE_TYPES Instance method Protected Method Get List of valid Price Types 20130711
10 _INSERT_INTO_DB Instance method Protected Method Insert Forward Prices to Data Base 20130711
11 _IS_CONSISTENT Instance method Protected Method Check, if Price Quotation is consistent 20130711
12 _IS_DCS_MIC_COMBINATION_VALID Instance method Protected Method Check, if Combination of DCS and MIC is valid 20130711
13 _IS_MIC_ACTIVE 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 Exporting ET_PRICEQUOT Call by reference Type reference (TYPE) TBAY_PRICEQUOT_FWD Price Quotation FWD 20130920
2 Importing IT_KEYDATES Call by reference Type reference (TYPE) TBAY_KEYDATES Table type of Keydate 20130920
3 Importing IV_CURVEDATE Call by reference Type reference (TYPE) TBA_CURVEDATE Curve Date 20130920
4 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20130920
5 Importing IV_MIC Call by reference Type reference (TYPE) TBA_MIC Market Identification Code 20130920
6 Importing IV_PERIODTYPE Call by reference Type reference (TYPE) TBA_PERIODTYPE 'QPF' Periodtype 20130920
7 Importing IV_PRICETYPE Call by reference Type reference (TYPE) TBA_PRICETYPE Type of Price Quotation 20130920
8 Importing 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 Exporting ES_PRICEQUOT Call by reference Type reference (TYPE) TBAT_PRICE_FWD Derivative Contract Specification: Commodity Forward Prices 20130711
2 Importing 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 CX_TBA_DCS_PRICEQUOT_SERVICES 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 Returning ES_DCS Value transfer Type reference (TYPE) TBAS_DCS_ATTRIBUTES DCS Attribute Structure 20130711
2 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20130711
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER 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 Returning ES_DCS Value transfer Type reference (TYPE) TBAC_DCS_CTY Definition Contract Specification LOF Commodity 20130711
2 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20130711
3 Importing IV_PRICEDATE Call by reference Type reference (TYPE) TBA_PRICEDATE Date of Price Quotation 20130711
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER 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 Importing IS_PRICEDATE Call by reference Type reference (TYPE) TBAS_PRICEDATE Structure of Price Date and Time 20130920
2 Importing IT_KEY Call by reference Type reference (TYPE) TBAY_PQ_KEYDATE_FWD_INTERN table type of Pricequot Part values 20130920
3 Importing IT_PRICETIME Call by reference Type reference (TYPE) TBAR_PRICETIME Range table for Price Time 20130920
4 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20130920
5 Importing 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 Importing IV_NUMBER_QUOTATIONS Call by reference Type reference (TYPE) I 20130920
7 Importing IV_PERIODTYPE Call by reference Type reference (TYPE) TBA_PERIODTYPE IF_TBA_DCS_PRICEQUOT_FWD_SRV=>GC_PERIODTYPE_QPS Period Type 20130920
8 Returning RT_PRICEQUOT Value transfer Type reference (TYPE) TBAY_PRICEQUOT_FWD Derivative Contract Specification: Price Quotations 20130920
# Exception Resumable Description Created on
1 CX_TBA_DCS_PRICEQUOT_SERVICES 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 Returning ET_PERIODS Value transfer Type reference (TYPE) TBAY_DCS_FORWARD_PERIODS Periods 20130711
2 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20130711
3 Importing IV_PRICEDATE Call by reference Type reference (TYPE) TBA_PRICEDATE Date of Price Quotation 20130711
# Exception Resumable Description Created on
1 CX_TBA_INVALID_CUSTOMIZING Exception class for invalid customizing 20130711
2 CX_TBA_INVALID_PARAMETER 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 Returning ET_PERIODS Value transfer Type reference (TYPE) TBAY_DCS_FORWARD_PERIODS Table type of Keydates 20130920
2 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20130920
3 Importing IV_PRICEDATE Call by reference Type reference (TYPE) TBA_PRICEDATE Date of Price Quotation 20130920
# Exception Resumable Description Created on
1 CX_TBA_INVALID_CUSTOMIZING Exception class for invalid customizing 20130920
2 CX_TBA_INVALID_PARAMETER 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 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20130920
2 Importing IV_KEYDATE Call by reference Type reference (TYPE) TBA_KEYDATE DCS Key Date 20130920
3 Importing IV_PRICEDATE Call by reference Type reference (TYPE) TBA_PRICEDATE Date of Price Quotation 20130920
4 Importing IV_TIMING Call by reference Type reference (TYPE) TBA_TIMING Timing/Periodicity of Commodity Forward Indexes 20130920
5 Returning RV_PERIOD_TYPE Value transfer Type reference (TYPE) TBA_PERIODTYPE Period Type 20130920
# Exception Resumable Description Created on
1 CX_TBA_INVALID_CUSTOMIZING Exception class for invalid customizing 20130920
2 CX_TBA_INVALID_PARAMETER 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 Returning ET_PRICE_TYPES Value transfer Type reference (TYPE) TBAY_PRICETYPE List of Price Types 20130711
# Exception Resumable Description Created on
1 CX_TBA_DCS_PRICEQUOT_SERVICES 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 Importing IT_PRICEQUOT Call by reference Type reference (TYPE) TBAY_PRICE_FWD Commodity Forward Price 20130711
# Exception Resumable Description Created on
1 CX_TBA_DCS_PRICEQUOT_SERVICES 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 Returning EV_CONSISTENT Value transfer Type reference (TYPE) ABAP_BOOL Price Quotation is consistent 20130711
2 Importing IS_PRICEQUOT Call by reference Type reference (TYPE) TBAS_PRICEQUOT_FWD_INS Price Quotation 20130711
3 Importing 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 CX_TBA_DCS_PRICEQUOT_SERVICES Exceptions related to Price Quotation Services 20130711
2 CX_TBA_INVALID_CUSTOMIZING Exception class for invalid customizing 20130711
3 CX_TBA_INVALID_PARAMETER 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 Returning EV_VALID Value transfer Type reference (TYPE) ABAP_BOOL 20130711
2 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20130711
3 Importing IV_MIC Call by reference Type reference (TYPE) TBA_MIC Market Identifier Code 20130711
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER 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 Returning EV_ACTIVE Value transfer Type reference (TYPE) ABAP_BOOL 20130711
2 Importing IV_MIC Call by reference Type reference (TYPE) TBA_MIC Market Identifier Code 20130711
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER Exception thrown when input param invalid 20130711
History
Last changed by/on SAP  20131127 
SAP Release Created in