SAP ABAP Interface IF_BADI_TBA_DCS_DYN_PERIODS (Interface for BAdI: BADI_TBA_DCS_DYN_PERIODS)
Hierarchy
☛
PI_BASIS (Software Component) Basis Plug-In
⤷
CA-GTF-TRB (Application Component) Financial Risk Management Basis
⤷
FTR_BASIS_PERSISTENCY (Package) Treasury Basis Objects - Data Persistency
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_TBA_CMELOA_PERIODS | Class for BAdI: BADI_TBA_DCS_DYN_PERIODS | 20130115 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_TBA_CME_COPPER_PERIODS | CME Copper Period Logic | 20120726 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_TBA_CME_CRUDE_PERIODS | CME Nymex Crude Period Logic | 20120730 |
| 4 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_TBA_LME_OPTION_PERIODS | LME Period Determination Logic for Listed Options | 20130116 |
| 5 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_TBA_LME_PERIODS | LME Period Determination Logic for Commodity Futures | 20120726 |
| 6 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_TBA_PERIODS_EXAMPLE | Example Implementation of Period BAdI | 20130325 |
Properties
| Interface | IF_BADI_TBA_DCS_DYN_PERIODS | |
| Short Description | Interface for BAdI: BADI_TBA_DCS_DYN_PERIODS |
General Data
| Package | FTR_BASIS_PERSISTENCY | Treasury Basis Objects - Data Persistency |
| Created | 20120629 | SAP |
| Last changed | 20131127 | SAP |
| 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 | 20120629 |
Friends
Interface IF_BADI_TBA_DCS_DYN_PERIODS has no friend.
Attributes
Interface IF_BADI_TBA_DCS_DYN_PERIODS has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Get closed periods of a DCS | 20121010 | |
| 2 | Instance method | Public | Method | Get periods of a DCS | 20120629 | |
| 3 | Instance method | Public | Method | Shift Date to Keydate | 20130110 | |
| 4 | Instance method | Public | Method | Shift Date to Workday | 20130415 |
Events
Interface IF_BADI_TBA_DCS_DYN_PERIODS has no event.
Types
Interface IF_BADI_TBA_DCS_DYN_PERIODS has no local type.
Method Signatures
Method GET_CLOSED_PERIODS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_KEYDATE_TEXTS | Call by reference | Type reference (TYPE) | TBAY_DCS_KDT | Texts for Keydates | 20121010 | |||
| 2 | CT_PERIODS | Call by reference | Type reference (TYPE) | TBAY_DCS_PERDS | DCS Periods | 20121010 | |||
| 3 | CT_UNDERLYING_KDS | Call by reference | Type reference (TYPE) | TBAY_DCS_UNDERLYING_KD | Keydates with underlying keydate | 20130308 | |||
| 4 | IV_CALENDAR | Call by reference | Type reference (TYPE) | SKALID | Factory calendar | 20121010 | |||
| 5 | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20121010 | |||
| 6 | IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20121010 | |||
| 7 | IV_PDEF_ID | Call by reference | Type reference (TYPE) | TBA_PERIODDEF_ID | Period Determination Method | 20121010 | |||
| 8 | IV_PERIODTYPE | Call by reference | Type reference (TYPE) | TBA_PERIODTYPE | Period Type | 20121010 | |||
| 9 | IV_PERIODTYPE_EXPDATELOGIC | Call by reference | Type reference (TYPE) | TBA_PERIODTYPE | Period Type Expiration Date Logic | 20130319 | |||
| 10 | IV_PHYSCOMM | Call by reference | Type reference (TYPE) | TBA_STOEFFCHEN | Physical Commodity | 20121010 | |||
| 11 | IV_UNDERLYING_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID_UNDERLYING | Derivative Contract Specification ID | 20130116 | |||
| 12 | IV_WITH_KEYDATE_TEXTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Determine Texts for Keydates | 20121010 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Excepion Class for Calendar Evaluation | 20121010 | ||
| 2 | Exception class for invalid customizing | 20121010 | ||
| 3 | Exception thrown when input param invalid | 20121010 | ||
| 4 | Missing Calendar | 20121010 |
Method GET_PERIODS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_KEYDATE_TEXTS | Call by reference | Type reference (TYPE) | TBAY_DCS_KDT | Texts for Keydates | 20121010 | |||
| 2 | CT_PERIODS | Call by reference | Type reference (TYPE) | TBAY_DCS_PERDS | DCS Periods | 20120629 | |||
| 3 | CT_UNDERLYING_KDS | Call by reference | Type reference (TYPE) | TBAY_DCS_UNDERLYING_KD | Keydates with underlying keydate | 20130308 | |||
| 4 | IV_CALENDAR | Call by reference | Type reference (TYPE) | SKALID | Factory calendar | 20120817 | |||
| 5 | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Strtdate for Period Determination | 20120629 | |||
| 6 | IV_DATE_FROM | Call by reference | Type reference (TYPE) | DATS | Date from | 20120716 | |||
| 7 | IV_DATE_TO | Call by reference | Type reference (TYPE) | DATS | Date to | 20120716 | |||
| 8 | IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20120629 | |||
| 9 | IV_KEYDATE | Call by reference | Type reference (TYPE) | TBA_KEYDATE | Key Date | 20120710 | |||
| 10 | IV_PDEF_ID | Call by reference | Type reference (TYPE) | TBA_PERIODDEF_ID | Period Definition Schema | 20120817 | |||
| 11 | IV_PERIODTYPE | Call by reference | Type reference (TYPE) | TBA_PERIODTYPE | Type of Contract Period | 20120710 | |||
| 12 | IV_PERIODTYPE_EXPDATELOGIC | Call by reference | Type reference (TYPE) | TBA_PERIODTYPE | Period Type Expiration Date Logic | 20130319 | |||
| 13 | IV_PHYSCOMM | Call by reference | Type reference (TYPE) | TBA_STOEFFCHEN | Physical Commodity | 20120817 | |||
| 14 | IV_UNDERLYING_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID_UNDERLYING | Derivative Contract Specification ID | 20130116 | |||
| 15 | IV_WITH_KEYDATE_TEXTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Determine Texts for Keydates | 20121010 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Calendar Evaluation | 20120706 | ||
| 2 | Exception class for invalid customizing | 20120719 | ||
| 3 | Exception thrown when input param invalid | 20120703 | ||
| 4 | Base class for all TBA exceptions | 20120703 |
Method SHIFT_DATE_TO_KEYDATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_EXPDATE_PERIOD | Call by reference | Type reference (TYPE) | TBAS_DCS_PERDS | DCS Period | 20130319 | |||
| 2 | CS_KEYDATE_TEXT | Call by reference | Type reference (TYPE) | TBAS_DCS_KDT | Key date | 20130422 | |||
| 3 | CV_KEYDATE | Call by reference | Type reference (TYPE) | TBA_KEYDATE | Derivative Contract Key Date | 20130111 | |||
| 4 | IV_CALENDAR | Call by reference | Type reference (TYPE) | SKALID | Factory calendar | 20130111 | |||
| 5 | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Date | 20130110 | |||
| 6 | IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130111 | |||
| 7 | IV_PDEF_ID | Call by reference | Type reference (TYPE) | TBA_PERIODDEF_ID | Period Determination Method | 20130111 | |||
| 8 | IV_PERIODTYPE_EXPDATELOGIC | Call by reference | Type reference (TYPE) | TBA_PERIODTYPE | Period Type Expiration Date Logic | 20130319 | |||
| 9 | IV_PHYSCOMM | Call by reference | Type reference (TYPE) | TBA_STOEFFCHEN | Physical Commodity | 20130111 | |||
| 10 | IV_START_DATE | Call by reference | Type reference (TYPE) | DATS | SY-DATUM | Field of type DATS | 20130409 | ||
| 11 | IV_UNDERLYING_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID_UNDERLYING | Derivative Contract Specification ID | 20130116 | |||
| 12 | IV_WITH_KEYDATE_TEXTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Whether key date texts shall be returned | 20130422 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Excepion Class for Calendar Evaluation | 20130110 | ||
| 2 | Exception class for invalid customizing | 20130111 | ||
| 3 | Exception thrown when input param invalid | 20130111 | ||
| 4 | Missing Calendar | 20130110 |
Method SHIFT_DATE_TO_WORKDAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_WORKDAY | Call by reference | Type reference (TYPE) | DATS | Workday | 20130415 | |||
| 2 | IV_CALENDAR | Call by reference | Type reference (TYPE) | SKALID | Factory calendar | 20130415 | |||
| 3 | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Date | 20130415 | |||
| 4 | IV_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID | Derivative Contract Specification ID | 20130415 | |||
| 5 | IV_PDEF_ID | Call by reference | Type reference (TYPE) | TBA_PERIODDEF_ID | Period Determination Method | 20130415 | |||
| 6 | IV_PHYSCOMM | Call by reference | Type reference (TYPE) | TBA_STOEFFCHEN | Physical Commodity | 20130415 | |||
| 7 | IV_UNDERLYING_DCSID | Call by reference | Type reference (TYPE) | TBA_DCSID_UNDERLYING | Derivative Contract Specification ID | 20130415 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Excepion Class for Calendar Evaluation | 20130415 | ||
| 2 | Exception class for invalid customizing | 20130415 | ||
| 3 | Exception thrown when input param invalid | 20130415 | ||
| 4 | Missing Calendar | 20130415 |
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 740 |