SAP ABAP Class CL_CPE_QUOTATIONS (Quotations)
Hierarchy
☛
PI_BASIS (Software Component) Basis Plug-In
⤷
CA-GTF-CPE (Application Component) Commodity Pricing Engine
⤷
CPE_FA_FE (Package) Commodity Pricing: Formula Assembly and Evaluation (ABAP)
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_CPE_QUOTATIONS | Quotations | 20130925 |
Properties
| Class | CL_CPE_QUOTATIONS | |
| Short Description | Quotations | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CPE_FA_FE | Commodity Pricing: Formula Assembly and Evaluation (ABAP) |
| Created | 20130923 | SAP |
| Last change | 20140121 | 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) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_CPE_QUOTATIONS | Quotations | 20130925 |
Friends
Class CL_CPE_QUOTATIONS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | TY_TIME_SELECTOR | 2 | Time Selector | 20130925 | ||
| 2 | Constant | Public | Type reference (TYPE) | TY_TIME_SELECTOR | 1 | Time Selector | 20130925 | ||
| 3 | Constant | Public | Type reference (TYPE) | TY_TIME_SELECTOR | 0 | Time Selector | 20130925 | ||
| 4 | Constant | Private | Type reference (TYPE) | CPET_SOURCEROUT | '0000003' | CPE Term - Source Routine for Price Quot. or Curr. Ex. Rates | 20130925 | ||
| 5 | Constant | Private | Type reference (TYPE) | CPET_SOURCEROUT | '0000004' | CPE Term - Source Routine for Price Quot. or Curr. Ex. Rates | 20130925 | ||
| 6 | Instance attribute | Public | Attribute reference (LIKE) | 20130925 | |||||
| 7 | Instance attribute | Private | Type reference (TYPE) | IF_CPE_QUOTATION_FACTORY=>TY_KEYTYPE | Quotation Key Type | 20130925 | |||
| 8 | Instance attribute | Protected | Type reference (TYPE) | IF_CPE_QUOTATIONS=>TY_QUOTATIONS | Quotations | 20130925 | |||
| 9 | Instance attribute | Protected | Type reference (TYPE) | TY_TIME_SELECTOR | Time Selector | 20130925 | |||
| 10 | Instance attribute | Protected | Type reference (TYPE) | CPET_REFTIMESTAMP | CPE Term - Calculated Reference Date and Time | 20130925 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | 20130925 | ||
| 2 | Instance method | Public | Constructor | 20130925 | ||
| 3 | Static method | Public | Method | Get time selector | 20130925 | |
| 4 | Instance method | Private | Method | Get quotation with quotation date only (binary search OK) | 20130925 | |
| 5 | Instance method | Private | Method | Get quotation with quotation date only (w/o binary search) | 20130925 | |
| 6 | Instance method | Private | Method | Get quotation with quotation date AND time | 20130925 | |
| 7 | Static method | Private | Method | Does the source routine request the last days' quotes? | 20130925 | |
| 8 | Static method | Public | Method | Does the source routine consider the quotation time? | 20130925 | |
| 9 | Instance method | Private | Method | Sort quotations | 20130925 |
Events
Class CL_CPE_QUOTATIONS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_TIME_SELECTOR | Public | Type reference (TYPE) | I | Time Selector | 20130925 | |
Method Signatures
Method ADD_QUOTATIONS Signature
Method ADD_QUOTATIONS on class CL_CPE_QUOTATIONS has no parameter.
Method ADD_QUOTATIONS on class CL_CPE_QUOTATIONS has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEY | Call by reference | Type reference (TYPE) | IF_CPE_QUOTATIONS=>TY_KEY | Quotation Key | 20130925 | |||
| 2 | TIME_SELECTOR | Call by reference | Type reference (TYPE) | TY_TIME_SELECTOR | C_SELECT_TIME | Time Selector | 20130925 |
Method CONSTRUCTOR on class CL_CPE_QUOTATIONS has no exception.
Method GET_TIME_SELECTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SOURCE_ROUTINE | Call by reference | Type reference (TYPE) | CPET_SOURCEROUT | CPE Term - Source Routine for Price Quot. or Curr. Ex. Rates | 20130925 | |||
| 2 | R_SELECTOR | Value transfer | Type reference (TYPE) | TY_TIME_SELECTOR | Time Selector | 20130925 |
Method GET_TIME_SELECTOR on class CL_CPE_QUOTATIONS has no exception.
Method GET_WITH_DATE_SORTED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_QUOTDATE | Call by reference | Type reference (TYPE) | CPET_QUOTDATE | Date of Price Quotation | 20130925 | |||
| 2 | R_QUOTATION | Value transfer | Object reference (TYPE REF TO) | IF_CPE_QUOTATIONS=>TY_QUOTATION | 20130925 |
Method GET_WITH_DATE_SORTED on class CL_CPE_QUOTATIONS has no exception.
Method GET_WITH_DATE_UNSORTED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_QUOTDATE | Call by reference | Type reference (TYPE) | CPET_QUOTDATE | Date of Price Quotation | 20130925 | |||
| 2 | R_QUOTATION | Value transfer | Object reference (TYPE REF TO) | IF_CPE_QUOTATIONS=>TY_QUOTATION | 20130925 |
Method GET_WITH_DATE_UNSORTED on class CL_CPE_QUOTATIONS has no exception.
Method GET_WITH_TIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_QUOTDATE | Call by reference | Type reference (TYPE) | CPET_QUOTDATE | Date of Price Quotation | 20130925 | |||
| 2 | I_QUOTTIME | Call by reference | Type reference (TYPE) | CPET_QUOTTIME | Time of Price Quotation | 20130925 | |||
| 3 | R_QUOTATION | Value transfer | Object reference (TYPE REF TO) | IF_CPE_QUOTATIONS=>TY_QUOTATION | 20130925 |
Method GET_WITH_TIME on class CL_CPE_QUOTATIONS has no exception.
Method IS_LAST_OF_DAY_SOURCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SOURCE_ROUTINE | Call by reference | Type reference (TYPE) | CPET_SOURCEROUT | CPE Term - Source Routine for Price Quot. or Curr. Ex. Rates | 20130925 | |||
| 2 | R_LASTOFDAY | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20130925 |
Method IS_LAST_OF_DAY_SOURCE on class CL_CPE_QUOTATIONS has no exception.
Method IS_SOURCE_WITHOUT_TIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SOURCE_ROUTINE | Call by reference | Type reference (TYPE) | CPET_SOURCEROUT | CPE Term - Source Routine for Price Quot. or Curr. Ex. Rates | 20130925 | |||
| 2 | R_NOTIME | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20130925 |
Method IS_SOURCE_WITHOUT_TIME on class CL_CPE_QUOTATIONS has no exception.
Method SORT Signature
Method SORT on class CL_CPE_QUOTATIONS has no parameter.
Method SORT on class CL_CPE_QUOTATIONS has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in |