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 ABAP 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 GC_PERIODTYPE_QPF Constant Public Type reference (TYPE) TBA_PERIODTYPE 'QPF' Quotation Period 20130830
2 GC_PERIODTYPE_QPS Constant Public Type reference (TYPE) TBA_PERIODTYPE 'QPS' Quotation Period 20130830
3 GC_REPDATELOGIC_DUE_DATE Constant Private Type reference (TYPE) TBA_REPORTINGDATE '800' Reporting Date 20130802
Methods
# Method Level Visibility Method type Description Created on
1 DELETE_DCS Static method Public Method Delete Specific DCS (all data of that DCS) 20130711
2 DELETE_DCS_FWD_KD Static method Public Method Deletes entries from TBAC_DCS_FWD_KD for given DCSID 20130827
3 DELETE_DCS_FWD_KDP Static method Public Method Deletes entries from TBAC_DCS_FWD_KDP for given DCSID 20130827
4 DELETE_DCS_FWD_KDT Static method Public Method Deletes entries from TBAC_DCS_FWD_KDT for given DCSID 20130827
5 GET_DCS_FOR_CURVE Static method Public Method Gets data from DCS needed for the curve 20130827
6 GET_DCS_FWD_ATTRIBUTES Static method Public Method Get forward specific attributes (Phys.Comm, PDEF ID) 20130711
7 GET_KEYDATE_FOR_DATE_PERTYPE Static method Public Method Gets key date for given DCs, any date and periodtype 20130827
8 GET_PERIODS Static method Public Method Get periods for given DCS 20130711
9 GET_PERIOD_KEYS_FOR_PRICEDATE Static method Public Method Get Period Keys for Pricedate 20130807
10 GET_REPORTINGDATELOGIC Static method Public Method Gets reporting date logic for forward 20130711
11 GET_REPORTING_DATE Instance method Public Method Get the Reporting Date 20130802
12 GET_VALID_QUOT_PTYPE_FOR_DATE Static method Public Method Get the valid quot. period type for key DCS, KD, Timin, Date 20130920
13 SET_DCS_CTY Static method Public Method Writes into TBAC_DCS_CTY - DCS versioned data 20130711
14 SET_DCS_FWD_KD Static method Public Method Writes into TBAC_DCS_FWD_KD 20130827
15 SET_DCS_FWD_KDP Static method Public Method Writes into TBAC_DCS_FWD_KDP (manual period table) 20130827
16 SET_DCS_FWD_KDT 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 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 DELETE_DCS_FWD_KD 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 20130827
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER 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 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20130827
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER 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 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20130827
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER 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 Exporting ES_DCS_CTY Call by reference Type reference (TYPE) TBAC_DCS_CTY Definition Contract Specification LOF Commodity 20130827
2 Exporting ES_DCS_LOF_ATTRIBUTES Call by reference Type reference (TYPE) TBAS_DCS_ATTRIBUTES_LOF DCS Attribute Structure Listed Options, Futures 20130827
3 Exporting ET_DCS_KDATS Call by reference Type reference (TYPE) TBAY_DCS_FWD_KD Key date and DCS 20130827
4 Exporting ET_DCS_KDT Call by reference Type reference (TYPE) TBAY_DCS_FWD_KDT Texts for Keydates 20130827
5 Exporting ET_DCS_PERDS Call by reference Type reference (TYPE) TBAY_DCS_FORWARD_PERIODS DCS Periods 20130827
6 Exporting ET_KEYDATES Call by reference Type reference (TYPE) TBAY_KEYDATES Table type of Keydates 20130827
7 Importing IV_CURVE_DATE Call by reference Type reference (TYPE) TBA_KEYDATE DCS Key Date 20130827
8 Importing IV_DATE_FROM Call by reference Type reference (TYPE) DATS Field of type DATS 20130827
9 Importing IV_DATE_TO Call by reference Type reference (TYPE) DATS Field of type DATS 20130827
10 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20130827
11 Importing IV_WITH_KEYDATE_TEXTS Call by reference Type reference (TYPE) ABAP_BOOL 20130827
# Exception Resumable Description Created on
1 CX_TBA_INVALID_CUSTOMIZING Exception class for invalid customizing 20130827
2 CX_TBA_INVALID_PARAMETER 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 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20130711
2 Returning 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 CX_TBA_INVALID_PARAMETER 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 Exporting ET_DCS_KDATS Call by reference Type reference (TYPE) TBAY_DCS_FWD_KD Key date and DCS 20130827
2 Exporting ET_DCS_KDT Call by reference Type reference (TYPE) TBAY_DCS_FWD_KDT Texts for Keydates 20130827
3 Exporting ET_DCS_PERDS Call by reference Type reference (TYPE) TBAY_DCS_FORWARD_PERIODS DCS Periods 20130827
4 Exporting ET_KEYDATES Call by reference Type reference (TYPE) TBAY_KEYDATES Table type of Keydates 20130827
5 Importing IV_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20130827
6 Importing IV_DATE_FROM Call by reference Type reference (TYPE) DATS Field of type DATS 20130827
7 Importing IV_DATE_TO Call by reference Type reference (TYPE) DATS Field of type DATS 20130827
8 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20130827
9 Importing IV_PERIODTYPE Call by reference Type reference (TYPE) TBA_PERIODTYPE Period Type 20130827
10 Importing IV_STARTDATE Call by reference Type reference (TYPE) DATS Field of type DATS 20130827
11 Importing IV_TIMING Call by reference Type reference (TYPE) TBA_TIMING Timing/Periodicity of Commodity Forward Indexes 20130920
12 Importing IV_WITH_KEYDATE_TEXTS Call by reference Type reference (TYPE) ABAP_BOOL Flag for key date text 20130827
# Exception Resumable Description Created on
1 CX_TBA_INVALID_CUSTOMIZING Exception class for invalid customizing 20130827
2 CX_TBA_INVALID_PARAMETER 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 Exporting ET_KEYDATES_TXT Call by reference Type reference (TYPE) TBAY_DCS_FWD_KDT Texts for Keydate/Timing 20130711
2 Exporting ET_PERIODS Call by reference Type reference (TYPE) TBAY_DCS_FORWARD_PERIODS DCS Commodity Forward Periods 20130711
3 Importing IS_ATTR_LOF Call by reference Type reference (TYPE) TBAS_DCS_ATTRIBUTES_LOF DCS Attribute Structure Listed Options, Futures 20130711
4 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20130711
5 Importing IV_KEYDATE Call by reference Type reference (TYPE) TBA_KEYDATE DCS Key Date 20130711
6 Importing IV_PERIODTYPE Call by reference Type reference (TYPE) TBA_PERIODTYPE Period Type 20130807
7 Importing IV_START_DATE Call by reference Type reference (TYPE) TBA_PERIOD_START_DATE DCS: Period Start Date 20130711
8 Importing IV_WITH_TEXTS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20130807
# 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_PERIOD_KEYS_FOR_PRICEDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_KEYS Call by reference Type reference (TYPE) TBAY_KEYDATE_TIMING List of Commodity Forward Period Keys 20130807
2 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20130807
3 Importing IV_PRICEDATE Call by reference Type reference (TYPE) TBA_PRICEDATE Pricedate 20130807
4 Importing IV_WITH_TEXTS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20130809
# Exception Resumable Description Created on
1 CX_TBA_INVALID_CUSTOMIZING Exception class for invalid customizing 20130807
2 CX_TBA_INVALID_PARAMETER 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 Returning RT_REPDATELOGICDEF Value transfer Type reference (TYPE) TBAY_REPDATEDEF Table type for reporting date 20130711
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER 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 Importing IV_DATE Call by reference Type reference (TYPE) SYDATUM System Date 20130802
2 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20130802
3 Returning RV_REPORTING_DATE Value transfer Type reference (TYPE) TBA_REPORTING_DATE Reporting Date 20130802
# Exception Resumable Description Created on
1 CX_TBA_INVALID_CUSTOMIZING Exception class for invalid customizing 20130802
2 CX_TBA_INVALID_PARAMETER 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 Importing IV_DATE Call by reference Type reference (TYPE) SYDATUM System Date 20130920
2 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20130920
3 Importing IV_KEYDATE Call by reference Type reference (TYPE) TBA_KEYDATE DCS Key Date 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 SET_DCS_CTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DCS_CTY Call by reference Type reference (TYPE) TBAC_DCS_CTY Definition Contract Specification LOF Commodity 20130711
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER 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 Importing 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 CX_TBA_INVALID_PARAMETER 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 Importing 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 CX_TBA_INVALID_PARAMETER 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 Importing IT_DCS_FWD_KDT Call by reference Type reference (TYPE) TBAY_DCS_FWD_KDT Texts for Keydate/Timing 20130827
2 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20130827
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER Exception thrown when input param invalid 20130827
History
Last changed by/on SAP  20140121 
SAP Release Created in