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 | 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 | Instance method | Public | Method | Add forecast values to list of requested exchange rates | 20130919 | |
| 2 | Instance method | Private | Method | Convert date format | 20130919 | |
| 3 | Static method | Public | Method | Get forecast values | 20130919 | |
| 4 | Instance method | Private | Method | Get last business day | 20130919 | |
| 5 | 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 | CT_EXCHANGE_RATES | Call by reference | Type reference (TYPE) | CPET_CURR_EXCH_RATES_TAB | 20130919 | ||||
| 2 | IV_CALENDAR_ID | Call by reference | Type reference (TYPE) | CPET_PERDETCALID | 20130919 | ||||
| 3 | IV_CURRENCY_FROM | Call by reference | Type reference (TYPE) | CPET_CURRFROM | 20130919 | ||||
| 4 | IV_CURRENCY_TO | Call by reference | Type reference (TYPE) | CPET_CURRTO | 20130919 | ||||
| 5 | IV_EXCHANGE_RATE_TYPE | Call by reference | Type reference (TYPE) | KURST_CURR | 20130919 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130919 |
Method EXPORT_DATETIMES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DATETIME | Call by reference | Type reference (TYPE) | TT_DATETIME | 20130919 | ||||
| 2 | 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 | ET_FORECAST_VALUES | Value transfer | Type reference (TYPE) | CPET_CURR_EXCH_RATES_TAB | 20130919 | ||||
| 2 | EV_FORECAST_STATUS | Value transfer | Type reference (TYPE) | CPET_FORECAST_STATUS | Status of Quotation and/or Exchange Rate Forecast | 20130919 | |||
| 3 | IO_EVALUATION_DATA | Call by reference | Object reference (TYPE REF TO) | CL_CPE_FE_EVALUATION_DATA | 20130919 | ||||
| 4 | IT_FORECAST_CURRDATES | Call by reference | Type reference (TYPE) | IF_CPE_FE_EXRATE_FCST_ROUT=>TY_EXCH_RATE_DATES | 20130919 | ||||
| 5 | IV_CURRENCY_FROM | Call by reference | Type reference (TYPE) | CPET_CURRFROM | 20130919 | ||||
| 6 | IV_CURRENCY_TO | Call by reference | Type reference (TYPE) | CPET_CURRTO | 20130919 | ||||
| 7 | IV_EVALUATION_KEYDATE | Call by reference | Type reference (TYPE) | CPET_USED_EVAL_KEYDATE | 20130919 | ||||
| 8 | IV_EXCHANGE_RATE_TYPE | Call by reference | Type reference (TYPE) | KURST_CURR | 20130919 | ||||
| 9 | IV_FORECAST_PROPOSED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130919 | ||||
| 10 | IV_FORECAST_ROUTINE | Call by reference | Type reference (TYPE) | CPET_EXRATE_FORECAST_ROUTINE | 20130919 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130919 |
Method GET_LAST_BUSINESS_DAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CALENDAR | Call by reference | Object reference (TYPE REF TO) | IF_CPE_CALENDAR | 20130919 | ||||
| 2 | IV_START_DATE | Call by reference | Type reference (TYPE) | D | 20130919 | ||||
| 3 | RV_DATE | Value transfer | Type reference (TYPE) | D | 20130919 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130919 |
Method SPLIT_EXCHANGE_RATES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_EXCHANGE_RATES | Value transfer | Type reference (TYPE) | CPET_CURR_EXCH_RATES_TAB | 20130919 | ||||
| 2 | ET_FORECAST_DATETIMES | Value transfer | Type reference (TYPE) | TT_DATETIME | 20130919 | ||||
| 3 | IT_EXCHANGE_RATES | Call by reference | Type reference (TYPE) | CPET_CURR_EXCH_RATES_TAB | 20130919 | ||||
| 4 | IV_EVAL_KEY_DATE | Call by reference | Type reference (TYPE) | CPET_USED_EVAL_KEYDATE | 20130919 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130919 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in |