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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 IF_CPE_QUOTATIONS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_CPE_QUOTATION_FACTORY 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 C_SELECT_FIRST_OF_DAY Constant Public Type reference (TYPE) TY_TIME_SELECTOR 2 Time Selector 20130925
2 C_SELECT_LAST_OF_DAY Constant Public Type reference (TYPE) TY_TIME_SELECTOR 1 Time Selector 20130925
3 C_SELECT_TIME Constant Public Type reference (TYPE) TY_TIME_SELECTOR 0 Time Selector 20130925
4 C_SRCROUT_03_FIRST Constant Private Type reference (TYPE) CPET_SOURCEROUT '0000003' CPE Term - Source Routine for Price Quot. or Curr. Ex. Rates 20130925
5 C_SRCROUT_04_LAST Constant Private Type reference (TYPE) CPET_SOURCEROUT '0000004' CPE Term - Source Routine for Price Quot. or Curr. Ex. Rates 20130925
6 KEY Instance attribute Public Attribute reference (LIKE) 20130925
7 KEY_TYPE Instance attribute Private Type reference (TYPE) IF_CPE_QUOTATION_FACTORY=>TY_KEYTYPE Quotation Key Type 20130925
8 QUOTATIONS Instance attribute Protected Type reference (TYPE) IF_CPE_QUOTATIONS=>TY_QUOTATIONS Quotations 20130925
9 TIME_SELECTOR Instance attribute Protected Type reference (TYPE) TY_TIME_SELECTOR Time Selector 20130925
10 VALID_ON 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 ADD_QUOTATIONS Instance method Private Method 20130925
2 CONSTRUCTOR Instance method Public Constructor 20130925
3 GET_TIME_SELECTOR Static method Public Method Get time selector 20130925
4 GET_WITH_DATE_SORTED Instance method Private Method Get quotation with quotation date only (binary search OK) 20130925
5 GET_WITH_DATE_UNSORTED Instance method Private Method Get quotation with quotation date only (w/o binary search) 20130925
6 GET_WITH_TIME Instance method Private Method Get quotation with quotation date AND time 20130925
7 IS_LAST_OF_DAY_SOURCE Static method Private Method Does the source routine request the last days' quotes? 20130925
8 IS_SOURCE_WITHOUT_TIME Static method Public Method Does the source routine consider the quotation time? 20130925
9 SORT 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 Importing KEY Call by reference Type reference (TYPE) IF_CPE_QUOTATIONS=>TY_KEY Quotation Key 20130925
2 Importing 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 Importing I_SOURCE_ROUTINE Call by reference Type reference (TYPE) CPET_SOURCEROUT CPE Term - Source Routine for Price Quot. or Curr. Ex. Rates 20130925
2 Returning 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 Importing I_QUOTDATE Call by reference Type reference (TYPE) CPET_QUOTDATE Date of Price Quotation 20130925
2 Returning 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 Importing I_QUOTDATE Call by reference Type reference (TYPE) CPET_QUOTDATE Date of Price Quotation 20130925
2 Returning 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 Importing I_QUOTDATE Call by reference Type reference (TYPE) CPET_QUOTDATE Date of Price Quotation 20130925
2 Importing I_QUOTTIME Call by reference Type reference (TYPE) CPET_QUOTTIME Time of Price Quotation 20130925
3 Returning 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 Importing I_SOURCE_ROUTINE Call by reference Type reference (TYPE) CPET_SOURCEROUT CPE Term - Source Routine for Price Quot. or Curr. Ex. Rates 20130925
2 Returning 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 Importing I_SOURCE_ROUTINE Call by reference Type reference (TYPE) CPET_SOURCEROUT CPE Term - Source Routine for Price Quot. or Curr. Ex. Rates 20130925
2 Returning 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