SAP ABAP Class CL_CPE_FE_EXRATE_FCAST_ROUT (Class for BAdI Implementation BADI_CPE_FE_EXRATE_FCAST_ROUT)
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_BADI_INTERFACE Tag Interface for BAdIs 20130919
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_CPE_FE_EXRATE_FCST_ROUT Interface for BAdI: BADI_CPE_FE_EXRATE_FCAST_ROUT 20130919
Properties
Class CL_CPE_FE_EXRATE_FCAST_ROUT  
Short Description Class for BAdI Implementation BADI_CPE_FE_EXRATE_FCAST_ROUT    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class CPE_IPC    
Program status     
Category 0   
Package CPE_FA_FE   Commodity Pricing: Formula Assembly and Evaluation (ABAP) 
Created 20130816   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)
Interfaces
# Interface Abstract Final Description Created on
1 IF_BADI_INTERFACE Tag Interface for BAdIs 20130919
2 IF_CPE_FE_EXRATE_FCST_ROUT Interface for BAdI: BADI_CPE_FE_EXRATE_FCAST_ROUT 20130919
Friends
Class CL_CPE_FE_EXRATE_FCAST_ROUT has no friend class.
Attributes
Class CL_CPE_FE_EXRATE_FCAST_ROUT has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 ADD_FORECAST_VALUES Instance method Public Method Add forecast values to list of requested exchange rates 20130919
2 EXPORT_DATETIMES Instance method Private Method Convert date format 20130919
3 GET_FORECAST_VALUES Static method Public Method Get forecast values 20130919
4 GET_LAST_BUSINESS_DAY Instance method Private Method Get last business day 20130919
5 SPLIT_EXCHANGE_RATES Instance method Private Method Split dates to forecast from requested dates 20130919
Events
Class CL_CPE_FE_EXRATE_FCAST_ROUT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_DATETIME Private See coding 20130919 tt_datetime TYPE SORTED TABLE OF ty_datetime WITH UNIQUE KEY currdate currtime
2 TY_DATETIME Private See coding 20130919 BEGIN OF ty_datetime, currdate TYPE cpet_currdate, currtime TYPE cpet_currtime, END OF ty_datetime
Method Signatures

Method ADD_FORECAST_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_EXCHANGE_RATES Call by reference Type reference (TYPE) CPET_CURR_EXCH_RATES_TAB 20130919
2 Importing IV_CALENDAR_ID Call by reference Type reference (TYPE) CPET_PERDETCALID 20130919
3 Importing IV_CURRENCY_FROM Call by reference Type reference (TYPE) CPET_CURRFROM 20130919
4 Importing IV_CURRENCY_TO Call by reference Type reference (TYPE) CPET_CURRTO 20130919
5 Importing IV_EXCHANGE_RATE_TYPE Call by reference Type reference (TYPE) KURST_CURR 20130919
# Exception Resumable Description Created on
1 CX_CPE_EVALUATION_TERMINATED 20130919

Method EXPORT_DATETIMES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATETIME Call by reference Type reference (TYPE) TT_DATETIME 20130919
2 Returning RT_EXCH_RATE_DATES Value transfer Type reference (TYPE) IF_CPE_FE_EXRATE_FCST_ROUT=>TY_EXCH_RATE_DATES 20130919

Method EXPORT_DATETIMES on class CL_CPE_FE_EXRATE_FCAST_ROUT has no exception.

Method GET_FORECAST_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FORECAST_VALUES Value transfer Type reference (TYPE) CPET_CURR_EXCH_RATES_TAB 20130919
2 Exporting EV_FORECAST_STATUS Value transfer Type reference (TYPE) CPET_FORECAST_STATUS Status of Quotation and/or Exchange Rate Forecast 20130919
3 Importing IO_EVALUATION_DATA Call by reference Object reference (TYPE REF TO) CL_CPE_FE_EVALUATION_DATA 20130919
4 Importing IT_FORECAST_CURRDATES Call by reference Type reference (TYPE) IF_CPE_FE_EXRATE_FCST_ROUT=>TY_EXCH_RATE_DATES 20130919
5 Importing IV_CURRENCY_FROM Call by reference Type reference (TYPE) CPET_CURRFROM 20130919
6 Importing IV_CURRENCY_TO Call by reference Type reference (TYPE) CPET_CURRTO 20130919
7 Importing IV_EVALUATION_KEYDATE Call by reference Type reference (TYPE) CPET_USED_EVAL_KEYDATE 20130919
8 Importing IV_EXCHANGE_RATE_TYPE Call by reference Type reference (TYPE) KURST_CURR 20130919
9 Importing IV_FORECAST_PROPOSED Call by reference Type reference (TYPE) ABAP_BOOL 20130919
10 Importing IV_FORECAST_ROUTINE Call by reference Type reference (TYPE) CPET_EXRATE_FORECAST_ROUTINE 20130919
# Exception Resumable Description Created on
1 CX_CPE_EVALUATION_TERMINATED 20130919

Method GET_LAST_BUSINESS_DAY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CALENDAR Call by reference Object reference (TYPE REF TO) IF_CPE_CALENDAR 20130919
2 Importing IV_START_DATE Call by reference Type reference (TYPE) D 20130919
3 Returning RV_DATE Value transfer Type reference (TYPE) D 20130919
# Exception Resumable Description Created on
1 CX_CPE_EVALUATION_TERMINATED 20130919

Method SPLIT_EXCHANGE_RATES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_EXCHANGE_RATES Value transfer Type reference (TYPE) CPET_CURR_EXCH_RATES_TAB 20130919
2 Exporting ET_FORECAST_DATETIMES Value transfer Type reference (TYPE) TT_DATETIME 20130919
3 Importing IT_EXCHANGE_RATES Call by reference Type reference (TYPE) CPET_CURR_EXCH_RATES_TAB 20130919
4 Importing IV_EVAL_KEY_DATE Call by reference Type reference (TYPE) CPET_USED_EVAL_KEYDATE 20130919
# Exception Resumable Description Created on
1 CX_CPE_EVALUATION_TERMINATED 20130919
History
Last changed by/on SAP  20140121 
SAP Release Created in