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 | 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 | Constant | Protected | Type reference (TYPE) | SYDATUM | '99991231' | Current Date of Application Server | 20130116 | ||
| 2 | Constant | Protected | Type reference (TYPE) | TBA_PERIODTYPE | 'CP' | DCS Period | 20130116 | ||
| 3 | Constant | Protected | Type reference (TYPE) | TBA_PERIODTYPE | 'CSP' | Type of Contract Period | 20130116 | ||
| 4 | Constant | Protected | Type reference (TYPE) | TBA_PERIODTYPE | 'EP' | Type of Contract Period | 20130116 | ||
| 5 | Constant | Protected | Type reference (TYPE) | TBA_PERIODTYPE | 'PSP' | Type of Contract Period | 20130116 | ||
| 6 | Constant | Protected | Type reference (TYPE) | TBA_PERIODTYPE | 'QP' | Type of Contract Period | 20130116 | ||
| 7 | Constant | Protected | Type reference (TYPE) | TBA_PERIODTYPE | 'TP' | Type of Contract Period | 20130116 | ||
| 8 | Constant | Protected | Type reference (TYPE) | SCAL-INDICATOR | '3' | Fatory calendar flag | 20130116 | ||
| 9 | Instance attribute | Protected | Type reference (TYPE) | INT2 | Natural number | 20130116 | |||
| 10 | Instance attribute | Protected | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130116 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | INT2 | Natural number | 20130116 | |||
| 12 | Instance attribute | Protected | Type reference (TYPE) | TBA_PERIODDEF_ID | Period Definition Schema | 20130116 | |||
| 13 | Instance attribute | Protected | Type reference (TYPE) | TBA_PERIODTYPE | Type of Contract Period | 20130116 | |||
| 14 | Instance attribute | Protected | Type reference (TYPE) | TBA_PERIODTYPE | Period Type Expiration Date Logik | 20130319 | |||
| 15 | Instance attribute | Protected | Type reference (TYPE) | TBA_STOEFFCHEN | Physical Commodity | 20130116 | |||
| 16 | Instance attribute | Protected | Type reference (TYPE) | SKALID | Prompt Day Calendar | 20130410 | |||
| 17 | Instance attribute | Protected | Type reference (TYPE) | TBA_TRADING_CALENDAR | Trading Calendar | 20130116 | |||
| 18 | Instance attribute | Protected | Type reference (TYPE) | INT2 | Natural number | 20130116 | |||
| 19 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | With Key Date Texts | 20130215 |
Methods
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 | CT_PERIODS | Call by reference | Type reference (TYPE) | TBAY_DCS_PERDS | DCS Periods | 20130116 | |||
| 2 | IV_DATE | Call by reference | Type reference (TYPE) | SYDATUM | System Date | 20130116 | |||
| 3 | IV_KEYDATE | Call by reference | Type reference (TYPE) | SYDATUM | System Date | 20130116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | CT_PERIODS | Call by reference | Type reference (TYPE) | TBAY_DCS_PERDS | DCS Periods | 20130116 | |||
| 2 | IV_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20130116 | |||
| 3 | IV_KEYDATE | Call by reference | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20130116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Calendar Evaluation | 20130116 |
Method ADD_MONTHLY_OPTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_PERIODS | Call by reference | Type reference (TYPE) | TBAY_DCS_PERDS | DCS Periods | 20130116 | |||
| 2 | CT_UNDERLYING_KDS | Call by reference | Type reference (TYPE) | TBAY_DCS_UNDERLYING_KD | Keydates with underlying keydate | 20130308 | |||
| 3 | IV_BEGIN | Call by reference | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20130116 | |||
| 4 | IV_END | Call by reference | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20130116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Calendar Evaluation | 20130116 |
Method ADD_QUOTATION_PERIOD_OPTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_PERIODS | Call by reference | Type reference (TYPE) | TBAY_DCS_PERDS | DCS Periods | 20130116 | |||
| 2 | IV_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20130116 | |||
| 3 | IV_KEYDATE | Call by reference | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20130116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Calendar Evaluation | 20130116 |
Method ADD_TRADING_PERIOD_OPTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_PERIODS | Call by reference | Type reference (TYPE) | TBAY_DCS_PERDS | DCS Periods | 20130116 | |||
| 2 | IV_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20130116 | |||
| 3 | IV_KEYDATE | Call by reference | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20130116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Calendar Evaluation | 20130116 |
Method ADD_UNDERLYING_KEYDATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_UNDERLYING_KDS | Call by reference | Type reference (TYPE) | TBAY_DCS_UNDERLYING_KD | Keydates with underlying keydate | 20130308 | |||
| 2 | IV_KEYDATE | Call by reference | Type reference (TYPE) | TBA_KEYDATE | Derivative Contract Key Date | 20130308 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | CT_TEXT | Call by reference | Type reference (TYPE) | TBAY_DCS_KDT | Texts for Keydates | 20130116 | |||
| 2 | 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 | 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 | Exception class for invalid customizing | 20130116 | ||
| 2 | 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 | IV_CALENDAR | Call by reference | Type reference (TYPE) | SKALID | Factory calendar | 20130116 | |||
| 2 | IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130116 | |||
| 3 | IV_PDEF_ID | Call by reference | Type reference (TYPE) | TBA_PERIODDEF_ID | Period Definition Schema | 20130116 | |||
| 4 | IV_PERIODTYPE | Call by reference | Type reference (TYPE) | TBA_PERIODTYPE | Period Type | 20130215 | |||
| 5 | IV_PERIODTYPE_EXPDATELOGIC | Call by reference | Type reference (TYPE) | TBA_PERIODTYPE | Period Type Expiration Date Logic | 20130319 | |||
| 6 | IV_PHYSCOMM | Call by reference | Type reference (TYPE) | TBA_STOEFFCHEN | Physical Commodity | 20130116 | |||
| 7 | IV_WITH_TEXTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | With Key Date Texts | 20130215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 |