SAP ABAP Class CL_TBA_DCS_SERVICES (Service class for Derivative Contract Specification)
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 - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_TBA_DCS_FWD_SERVICES Service class for DCS - Forwards 20130711
2 Inheritance (c INHERITING FROM c_ref)  CL_TBA_DCS_LOF_SERVICES Service class for Derivative Contract Specification - LOF 20120808
Properties
Class CL_TBA_DCS_SERVICES  
Short Description Service class for Derivative Contract Specification    
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 20120626   SAP 
Last change 20130531   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_SERVICES has no interface implemented.
Friends
Class CL_TBA_DCS_SERVICES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_DERIVATIVE_CAT_FUT Constant Public Type reference (TYPE) TBA_DERIVATIVETYPE 001 Derivative Category 20130830
2 GC_DERIVATIVE_CAT_FWD Constant Public Type reference (TYPE) TBA_DERIVATIVETYPE 201 Derivative Category 20130830
3 GC_DERIVATIVE_CAT_OPT Constant Public Type reference (TYPE) TBA_DERIVATIVETYPE 101 Derivative Category 20130830
4 GC_LIFE_CYCLE_IN_PREPARATION Constant Public Type reference (TYPE) TBA_DCS_LIFECYCLESTATUS '001' Derivative Contract Specification of Lifecycle Status 20121119
5 GC_LIFE_CYCLE_OBSOLETE Constant Public Type reference (TYPE) TBA_DCS_LIFECYCLESTATUS '003' Derivative Contract Specification of Lifecycle Status 20121119
6 GC_LIFE_CYCLE_RELEASED Constant Public Type reference (TYPE) TBA_DCS_LIFECYCLESTATUS '002' Derivative Contract Specification of Lifecycle Status 20121119
7 GT_DCSID Static Attribute Private Type reference (TYPE) TBAY_DCSID_EXISTS Derivative Contract Specification ID exitsts 20130301
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_DCS_EXISTS Static method Public Method Checks whether DCS exists 20121218
2 CHECK_DCS_MIC Static method Public Method Checks whether the combination DCS/MIC is valid 20121219
3 CHECK_MIC_EXISTS Static method Public Method Checks whether MIC exists 20121218
4 CHECK_TENOR_EXISTS Static method Public Method Checks whether TENOR exists 20121219
5 GET_ALL_DCS_VERSIONS Static method Public Method Returns all DCS versions 20120809
6 GET_DCS_ATTRIBUTES Static method Public Method 20120808
7 GET_DCS_TEXT Static method Public Method Gets text for dcsid 20120711
8 GET_DCS_VERSION_FOR_DATE Static method Public Method OBSOLETE - DONT USE 20121005
9 GET_NEXT_VERSION_DATE Static method Public Method Gets next version date to given DCS and date 20120712
10 GET_USER_DATA Static method Public Method Gets user data (created by, changed on, etc...) 20120716
11 IS_DCS_RELEASED Static method Public Method Check, if Derivative Contract Specification is released 20121119
12 SET_DCS Static method Public Method Sets DCS 20120809
13 SET_DCS_TEXT Static method Public Method Set DCS text table 20120809
Events
Class CL_TBA_DCS_SERVICES has no event.
Types
Class CL_TBA_DCS_SERVICES has no local type.
Method Signatures

Method CHECK_DCS_EXISTS 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 20121218
2 Returning RV_EXISTS Value transfer Type reference (TYPE) ABAP_BOOL 20121218
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER Exception thrown when input param invalid 20121218

Method CHECK_DCS_MIC 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 20121219
2 Importing IV_MIC Call by reference Type reference (TYPE) TBA_MIC Market Identifier Code 20121219
3 Returning RV_EXISTS Value transfer Type reference (TYPE) ABAP_BOOL 20121219
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER Exception thrown when input param invalid 20121219

Method CHECK_MIC_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MIC Call by reference Type reference (TYPE) TBA_MIC Market Identifier Code 20121218
2 Returning RV_EXISTS Value transfer Type reference (TYPE) ABAP_BOOL 20121218
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER Exception thrown when input param invalid 20121218

Method CHECK_TENOR_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TENOR Call by reference Type reference (TYPE) TBA_TENOR Time to Maturity 20121219
2 Returning RV_EXISTS Value transfer Type reference (TYPE) ABAP_BOOL 20121219
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER Exception thrown when input param invalid 20121219

Method GET_ALL_DCS_VERSIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DCS_CTY Call by reference Type reference (TYPE) TBAY_DCS_CTY Table type for DCS commodity data 20120809
2 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20120809
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER Exception thrown when input param invalid 20120809

Method GET_DCS_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 20120808
2 Returning RS_DCS_ATTRIBUTES Value transfer Type reference (TYPE) TBAS_DCS_ATTRIBUTES 20120808
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER 20120808

Method GET_DCS_TEXT 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 20120711
2 Returning RV_DCS_TEXT Value transfer Type reference (TYPE) TBA_DCSID_TXT DCS text structure 20120808
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER Exception thrown when input param invalid 20120711

Method GET_DCS_VERSION_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) DATS SY-DATUM Field of type DATS 20121005
2 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20121005
3 Returning RS_DCS_CTY Value transfer Type reference (TYPE) TBAC_DCS_CTY Definition Contract Specification LOF Commodity 20121005
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER Exception thrown when input param invalid 20121005

Method GET_NEXT_VERSION_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) TBA_DCS_VALIDFROM Date 20120712
2 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20120712
3 Returning RV_NEXT_VERS_DATE Value transfer Type reference (TYPE) TBA_DCS_VALIDFROM Next Version Date 20120712
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER Exception thrown when input param invalid 20120713

Method GET_USER_DATA 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 20120716
2 Returning RS_USER_DATA Value transfer Type reference (TYPE) TBAS_USER_DATA User Data 20120716
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER Exception thrown when input param invalid 20120716

Method IS_DCS_RELEASED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_RELEASED Value transfer Type reference (TYPE) ABAP_BOOL Released Indicator 20121119
2 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20121119
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER Exception thrown when input param invalid 20121119

Method SET_DCS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DCS Call by reference Type reference (TYPE) TBAC_DCS Derivative contract specification customizing table 20120809
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER Exception thrown when input param invalid 20120809

Method SET_DCS_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DCS_TEXT Call by reference Type reference (TYPE) TBAC_DCST Texts for Derivative Contract Specifications 20120809
# Exception Resumable Description Created on
1 CX_TBA_INVALID_PARAMETER Exception thrown when input param invalid 20120809
History
Last changed by/on SAP  20130531 
SAP Release Created in 740