SAP ABAP Class CL_TBA_LME_OPTION_PERIODS (LME Period Determination Logic for Listed Options)
Hierarchy
PI_BASIS (Software Component) Basis Plug-In
   CA-GTF-TRB (Application Component) Financial Risk Management Basis
     FTRMP_SFWS_C01S01 (Package) Treasury Basis Objects - Switched Objects EHP7 of EA-FINSERV
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_INTERFACE Tag Interface for BAdIs 20130116
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_TBA_DCS_DYN_PERIODS Interface for BAdI: BADI_TBA_DCS_DYN_PERIODS 20130116
Properties
Class CL_TBA_LME_OPTION_PERIODS  
Short Description LME Period Determination Logic for Listed Options    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FTRMP_SFWS_C01S01   Treasury Basis Objects - Switched Objects EHP7 of EA-FINSERV 
Created 20130116   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_BADI_INTERFACE Tag Interface for BAdIs 20130116
2 IF_BADI_TBA_DCS_DYN_PERIODS Interface for BAdI: BADI_TBA_DCS_DYN_PERIODS 20130116
Friends
Class CL_TBA_LME_OPTION_PERIODS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_HIGHDATE Constant Protected Type reference (TYPE) SYDATUM '99991231' Current Date of Application Server 20130116
2 C_PERIODTYPE_CP Constant Protected Type reference (TYPE) TBA_PERIODTYPE 'CP' DCS Period 20130116
3 C_PERIODTYPE_CSP Constant Protected Type reference (TYPE) TBA_PERIODTYPE 'CSP' Type of Contract Period 20130116
4 C_PERIODTYPE_EP Constant Protected Type reference (TYPE) TBA_PERIODTYPE 'EP' Type of Contract Period 20130116
5 C_PERIODTYPE_PSP Constant Protected Type reference (TYPE) TBA_PERIODTYPE 'PSP' Type of Contract Period 20130116
6 C_PERIODTYPE_QP Constant Protected Type reference (TYPE) TBA_PERIODTYPE 'QP' Type of Contract Period 20130116
7 C_PERIODTYPE_TP Constant Protected Type reference (TYPE) TBA_PERIODTYPE 'TP' Type of Contract Period 20130116
8 C_WEDNESDAY Constant Protected Type reference (TYPE) SCAL-INDICATOR '3' Fatory calendar flag 20130116
9 MV_DAY_NUMBER Instance attribute Protected Type reference (TYPE) INT2 Natural number 20130116
10 MV_DCSID Instance attribute Protected Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20130116
11 MV_MONTH_NUMBER Instance attribute Protected Type reference (TYPE) INT2 Natural number 20130116
12 MV_PDEF_ID Instance attribute Protected Type reference (TYPE) TBA_PERIODDEF_ID Period Definition Schema 20130116
13 MV_PERIODTYPE Instance attribute Protected Type reference (TYPE) TBA_PERIODTYPE Type of Contract Period 20130116
14 MV_PERIODTYPE_EXPDATELOGIC Instance attribute Protected Type reference (TYPE) TBA_PERIODTYPE Period Type Expiration Date Logik 20130319
15 MV_PHYSCOMM Instance attribute Protected Type reference (TYPE) TBA_STOEFFCHEN Physical Commodity 20130116
16 MV_PROMPT_CALENDAR Instance attribute Protected Type reference (TYPE) SKALID Prompt Day Calendar 20130410
17 MV_TRADING_CALENDAR Instance attribute Protected Type reference (TYPE) TBA_TRADING_CALENDAR Trading Calendar 20130116
18 MV_WEEK_NUMBER Instance attribute Protected Type reference (TYPE) INT2 Natural number 20130116
19 MV_WITH_TEXTS Instance attribute Protected Type reference (TYPE) ABAP_BOOL With Key Date Texts 20130215
Methods
# Method Level Visibility Method type Description Created on
1 ADD_CONTRACT_PERIOD_OPTIONS Instance method Protected Method Add a contract period for listed options 20130116
2 ADD_EXPIRATION_PERIOD_OPTIONS Instance method Protected Method Add an expiration period for listed options 20130116
3 ADD_MONTHLY_OPTIONS Instance method Protected Method Add periods for monthly listed options 20130116
4 ADD_QUOTATION_PERIOD_OPTIONS Instance method Protected Method Add a quotation period for listed options 20130116
5 ADD_TRADING_PERIOD_OPTIONS Instance method Protected Method Add a trading period for listed options 20130116
6 ADD_UNDERLYING_KEYDATE Instance method Protected Method Add an underlying keydate 20130308
7 GET_CLOSED_PERIODS Instance method Public Method 20130116
8 GET_KEYDATE_TEXTS Instance method Protected Method Get the text for all key dates of the DCS 20130116
9 GET_PERIODS Instance method Public Method 20130116
10 GET_PERIOD_CUSTOMIZING Instance method Protected Method Get the customizing for the period of daily-, weekly-,.. 20130116
11 INITIALIZE Instance method Protected Method Initialize Attributes 20130116
12 SHIFT_DATE_TO_KEYDATE Instance method Public Method 20130116
Events
Class CL_TBA_LME_OPTION_PERIODS has no event.
Types
Class CL_TBA_LME_OPTION_PERIODS has no local type.
Method Signatures

Method ADD_CONTRACT_PERIOD_OPTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_PERIODS Call by reference Type reference (TYPE) TBAY_DCS_PERDS DCS Periods 20130116
2 Importing IV_DATE Call by reference Type reference (TYPE) SYDATUM System Date 20130116
3 Importing IV_KEYDATE Call by reference Type reference (TYPE) SYDATUM System Date 20130116
# Exception Resumable Description Created on
1 CX_TBA_CALENDAR_EVALUATION Excepion Class for Calendar Evaluation 20130116

Method ADD_EXPIRATION_PERIOD_OPTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_PERIODS Call by reference Type reference (TYPE) TBAY_DCS_PERDS DCS Periods 20130116
2 Importing IV_DATE Call by reference Type reference (TYPE) SYDATUM Current Date of Application Server 20130116
3 Importing IV_KEYDATE Call by reference Type reference (TYPE) SYDATUM Current Date of Application Server 20130116
# Exception Resumable Description Created on
1 CX_TBA_CALENDAR_EVALUATION Calendar Evaluation 20130116

Method ADD_MONTHLY_OPTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_PERIODS Call by reference Type reference (TYPE) TBAY_DCS_PERDS DCS Periods 20130116
2 Changing CT_UNDERLYING_KDS Call by reference Type reference (TYPE) TBAY_DCS_UNDERLYING_KD Keydates with underlying keydate 20130308
3 Importing IV_BEGIN Call by reference Type reference (TYPE) SYDATUM Current Date of Application Server 20130116
4 Importing IV_END Call by reference Type reference (TYPE) SYDATUM Current Date of Application Server 20130116
# Exception Resumable Description Created on
1 CX_TBA_CALENDAR_EVALUATION Calendar Evaluation 20130116

Method ADD_QUOTATION_PERIOD_OPTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_PERIODS Call by reference Type reference (TYPE) TBAY_DCS_PERDS DCS Periods 20130116
2 Importing IV_DATE Call by reference Type reference (TYPE) SYDATUM Current Date of Application Server 20130116
3 Importing IV_KEYDATE Call by reference Type reference (TYPE) SYDATUM Current Date of Application Server 20130116
# Exception Resumable Description Created on
1 CX_TBA_CALENDAR_EVALUATION Calendar Evaluation 20130116

Method ADD_TRADING_PERIOD_OPTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_PERIODS Call by reference Type reference (TYPE) TBAY_DCS_PERDS DCS Periods 20130116
2 Importing IV_DATE Call by reference Type reference (TYPE) SYDATUM Current Date of Application Server 20130116
3 Importing IV_KEYDATE Call by reference Type reference (TYPE) SYDATUM Current Date of Application Server 20130116
# Exception Resumable Description Created on
1 CX_TBA_CALENDAR_EVALUATION Calendar Evaluation 20130116

Method ADD_UNDERLYING_KEYDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_UNDERLYING_KDS Call by reference Type reference (TYPE) TBAY_DCS_UNDERLYING_KD Keydates with underlying keydate 20130308
2 Importing IV_KEYDATE Call by reference Type reference (TYPE) TBA_KEYDATE Derivative Contract Key Date 20130308
# Exception Resumable Description Created on
1 CX_TBA_CALENDAR_EVALUATION Excepion Class for Calendar Evaluation 20130308

Method GET_CLOSED_PERIODS Signature

Method GET_CLOSED_PERIODS on class CL_TBA_LME_OPTION_PERIODS has no parameter.
Method GET_CLOSED_PERIODS on class CL_TBA_LME_OPTION_PERIODS has no exception.

Method GET_KEYDATE_TEXTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_TEXT Call by reference Type reference (TYPE) TBAY_DCS_KDT Texts for Keydates 20130116
2 Importing IT_PERIODS Call by reference Type reference (TYPE) TBAY_DCS_PERDS DCS Periods 20130116

Method GET_KEYDATE_TEXTS on class CL_TBA_LME_OPTION_PERIODS has no exception.

Method GET_PERIODS Signature

Method GET_PERIODS on class CL_TBA_LME_OPTION_PERIODS has no parameter.
Method GET_PERIODS on class CL_TBA_LME_OPTION_PERIODS has no exception.

Method GET_PERIOD_CUSTOMIZING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_VALIDFROM Call by reference Type reference (TYPE) TBA_PDEF_VALIDFROM SY-DATUM LME-Specific Period Determination: Valid From 20130116
# Exception Resumable Description Created on
1 CX_TBA_INVALID_CUSTOMIZING Exception class for invalid customizing 20130116
2 CX_TBA_INVALID_PARAMETER Exception thrown when input param invalid 20130116

Method INITIALIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CALENDAR Call by reference Type reference (TYPE) SKALID Factory calendar 20130116
2 Importing IV_DCSID Call by reference Type reference (TYPE) TBA_DCSID Derivative Contract Specification ID 20130116
3 Importing IV_PDEF_ID Call by reference Type reference (TYPE) TBA_PERIODDEF_ID Period Definition Schema 20130116
4 Importing IV_PERIODTYPE Call by reference Type reference (TYPE) TBA_PERIODTYPE Period Type 20130215
5 Importing IV_PERIODTYPE_EXPDATELOGIC Call by reference Type reference (TYPE) TBA_PERIODTYPE Period Type Expiration Date Logic 20130319
6 Importing IV_PHYSCOMM Call by reference Type reference (TYPE) TBA_STOEFFCHEN Physical Commodity 20130116
7 Importing IV_WITH_TEXTS Call by reference Type reference (TYPE) ABAP_BOOL With Key Date Texts 20130215
# Exception Resumable Description Created on
1 CX_TBA_MISSING_CALENDAR Missing Calendar 20130116

Method SHIFT_DATE_TO_KEYDATE Signature

Method SHIFT_DATE_TO_KEYDATE on class CL_TBA_LME_OPTION_PERIODS has no parameter.
Method SHIFT_DATE_TO_KEYDATE on class CL_TBA_LME_OPTION_PERIODS has no exception.
History
Last changed by/on SAP  20131127 
SAP Release Created in 740