SAP ABAP Class CL_RSPLFC_FORECAST (Forecast)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-PLA (Application Component) Planning
⤷
RSPLFC (Package) Services Type Planning
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_RSPLFA_SRVTYPE_IMP_CHECK | Planning Function Type: Checks | 20050317 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_RSPLFA_SRVTYPE_IMP_EXEC_REF | Planning Function Type: Impl. Execution (with Ref. Data) | 20050317 |
Properties
| Class | CL_RSPLFC_FORECAST | |
| Short Description | Forecast | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSPLFC | Services Type Planning |
| Created | 20050317 | SAP |
| Last change | 20130531 | 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_RSPLFA_SRVTYPE_IMP_CHECK | Planning Function Type: Checks | 20050317 | ||
| 2 | IF_RSPLFA_SRVTYPE_IMP_EXEC_REF | Planning Function Type: Impl. Execution (with Ref. Data) | 20050317 |
Friends
Class CL_RSPLFC_FORECAST has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | C | Dummy Message | 20051116 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20051110 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_RSPLFA_INFOPROV_DESC | InfoProvider (Metadata) | 20051116 | |||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_RSPLFA_SRV | Planning Function | 20051110 | |||
| 5 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_TABLEDESCR | Table Description for Time Series Table | 20051120 | |||
| 6 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Structure Description for Time Series Table | 20060406 | |||
| 7 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Structure Definition for Higher-Level Characteristics | 20051120 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | RSIOBJNM | Time Characteristic for Forecast | 20051117 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | LT_TS_IOBJ_PRO | Table of Characteristic Properties | 20051122 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | LT_TS_RULE | Table of All Prepared Parameter Set Rules | 20051111 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | LT_TS_TIME_SERIES | Cache for All Prepared Auxiliary Time Series | 20060406 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | RSPLF_T_CHARNM | Higher-Level Characteristics of Time Characteristic | 20051119 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Check Parameter Set Rule | 20051123 | |
| 2 | Static method | Private | Method | Smoothing Factor Check | 20051122 | |
| 3 | Static method | Private | Method | Check Whether Interval Falls within F4 Interval | 20060817 | |
| 4 | Static method | Private | Method | Conversion of CHARSEL to SELDR | 20051121 | |
| 5 | Instance method | Private | Method | Create Structure Definition for InfoObjects | 20051121 | |
| 6 | Instance method | Private | Method | Create Time Series (Key Is Time Characteristic) | 20051120 | |
| 7 | Instance method | Private | Method | Generate Structure for Time Series | 20060406 | |
| 8 | Static method | Private | Method | Fill PCOM Structure | 20051116 | |
| 9 | Instance method | Private | Method | Forecast for Key Figure | 20051116 | |
| 10 | Instance method | Private | Method | Get Auxiliary Time Series for Parameter Set Rule | 20060406 | |
| 11 | Instance method | Private | Method | Get Parameter Set Rule | 20051115 | |
| 12 | Static method | Private | Method | Get Single Value of Characteristic from Selection | 20051120 | |
| 13 | Static method | Private | Method | Get Single Value of Characteristic from Sorted Selection | 20051122 | |
| 14 | Instance method | Private | Method | Determine Time Characteristic from Characteristic Usage | 20051119 | |
| 15 | Instance method | Private | Method | Copy Paramter Set to Parameter Set Rule | 20051123 | |
| 16 | Instance method | Private | Method | Read Periods for Specified Time Period | 20060406 | |
| 17 | Instance method | Private | Method | Refresh Parameter Set Rule | 20051120 |
Events
Class CL_RSPLFC_FORECAST has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | LT_FACTOR | Private | See coding | Smoothing factor | 20051122 | LT_FACTOR(16) type p decimals 3
|
|
| 2 | LT_S_RULE | Private | See coding | Prepared Parameter Set Rule | 20051111 | begin of LT_S_RULE,
rulepos type rsplf_rulepos,
t_data_charsel TYPE RSPLF_T_CHARSEL,
ts_data_sel type rspls_ts_sel,
r_tim_cmp_fc type ref to data,
r_tim_cmp_hist type ref to data,
t_tim_cmp_fc_charsel type RSPLF_T_CHARSEL,
t_tim_cmp_hist_charsel type RSPLF_T_CHARSEL,
t_keyfnm type RSPLF_T_KEYFNM,
r_work_area TYPE REF TO CL_RSPLFU_WORK_AREA,
t_fc_horizon type RSPLF_T_CHARSEL,
ts_fc_horizon type rspls_ts_sel,
t_hist_horizon type RSPLF_T_CHARSEL,
ts_hist_horizon type rspls_ts_sel,
t_hist_sel type RSPLF_T_CHARSEL,
ts_hist_sel type rspls_ts_sel,
hist_kyf type rsiobjnm,
fc_str type rsplfc_fcstr,
fc_outl type /SAPAPO/FLGEXC,
fc_sigma type LT_FACTOR,
fc_logstat type rs_bool,
fc_tdampa type rs_bool,
fc_tdamp type f,
fc_zero type rs_bool,
fc_periods type i,
fc_ord type i,
fc_weights type standard table of f with default key,
fc_alpha type LT_FACTOR,
fc_beta type LT_FACTOR,
fc_gamma type LT_FACTOR,
fc_spor type rs_bool,
fc_err type rsplfc_fcerr,
fc_alpha_f type LT_FACTOR,
fc_alpha_t type LT_FACTOR,
fc_alpha_s type LT_FACTOR,
fc_beta_f type LT_FACTOR,
fc_beta_t type LT_FACTOR,
fc_beta_s type LT_FACTOR,
fc_gamma_f type LT_FACTOR,
fc_gamma_t type LT_FACTOR,
fc_gamma_s type LT_FACTOR,
pcom type /SAPAPO/PCOM,
t_weight type lt_t_weight,
end of lt_s_rule
|
|
| 3 | LT_S_TIME_SERIES | Private | See coding | Auxiliary Time Series for Parameter Set Rule | 20060406 | begin of LT_S_TIME_SERIES,
rulepos type rsplf_rulepos,
r_fc_data type ref to data,
r_fc_data2 type ref to data,
r_hist_data type ref to data,
r_hist_data2 type ref to data,
end of LT_S_TIME_SERIES
|
|
| 4 | LT_TS_IOBJ_PRO | Private | See coding | Table of Characteristic Properties | 20051122 | LT_TS_IOBJ_PRO type sorted table of RSPLFA_S_IOBJ_PRO with unique key iobjnm
|
|
| 5 | LT_TS_RULE | Private | See coding | Table of All Prepared Parameter Set Rules | 20051111 | LT_TS_RULE type sorted table of lt_s_rule with unique key rulepos
|
|
| 6 | LT_TS_TIME_SERIES | Private | See coding | Cache for All Prepared Auxiliary Time Series | 20060406 | LT_TS_TIME_SERIES type sorted table of LT_S_TIME_SERIES with unique key rulepos
|
|
| 7 | LT_T_WEIGHT | Private | See coding | Weighting Factors | 20051122 | LT_T_WEIGHT type standard table of /sapapo/fcst_factor with default key
|
Method Signatures
Method _CHECK_RULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_MSG | Call by reference | Object reference (TYPE REF TO) | IF_RSPLFA_MSG_PARAM_CHECK | Meldungen für Parameterprüfung | 20051123 | |||
| 2 | I_S_RULE | Call by reference | Type reference (TYPE) | LT_S_RULE | Parametersatz-Regel | 20051123 |
Method _CHECK_RULE on class CL_RSPLFC_FORECAST has no exception.
Method _CHECK_SMOOTH_FACTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FACTOR | Call by reference | Type reference (TYPE) | LT_FACTOR | Glättungsfaktor | 20051122 | |||
| 2 | I_PARNM | Call by reference | Type reference (TYPE) | RSPLF_PARNM | Parametername | 20051122 | |||
| 3 | I_R_MSG | Call by reference | Object reference (TYPE REF TO) | IF_RSPLFA_MSG_PARAM_CHECK | Meldungen für Parameterprüfung | 20051122 |
Method _CHECK_SMOOTH_FACTOR on class CL_RSPLFC_FORECAST has no exception.
Method _CHECK_TIME_PERIOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TIM_CHANM | Call by reference | Type reference (TYPE) | RSIOBJNM | Zeitmerkmal | 20060817 | |||
| 2 | I_T_TIME_CHARSEL | Call by reference | Type reference (TYPE) | RSPLF_T_CHARSEL | Selektion für Zeitmerkmal | 20060817 | |||
| 3 | I_VARNT | Call by reference | Type reference (TYPE) | RSPERIV | Geschäftsjahresvariante | 20060817 | |||
| 4 | R_OK | Value transfer | Type reference (TYPE) | RSBOOL | Zeitraum liegt im F4-Intervall | 20060817 |
Method _CHECK_TIME_PERIOD on class CL_RSPLFC_FORECAST has no exception.
Method _CONVERT_CHARSEL_2_SELDR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_T_CHARSEL | Call by reference | Type reference (TYPE) | RSPLF_T_CHARSEL | Selektionstabelle | 20051121 | |||
| 2 | R_TS_SELDR | Value transfer | Type reference (TYPE) | RSDD_TSX_SELDR | Selektion an den Datamanager | 20051121 |
Method _CONVERT_CHARSEL_2_SELDR on class CL_RSPLFC_FORECAST has no exception.
Method _CREATE_STRUCTDESCR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TH_IOBJNM | Call by reference | Type reference (TYPE) | RSPLFU_TH_IOBJNM | Hash-Tabelle für InfoObjektnamen | 20051121 | |||
| 2 | R_R_STRUCTDESCR | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Strukturbeschreibung | 20051121 |
Method _CREATE_STRUCTDESCR on class CL_RSPLFC_FORECAST has no exception.
Method _CREATE_TIME_SERIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_TIME_SERIES | Value transfer | Object reference (TYPE REF TO) | DATA | Referenz auf Zeitreihe | 20051120 |
Method _CREATE_TIME_SERIES on class CL_RSPLFC_FORECAST has no exception.
Method _CREATE_TIME_SERIES_STRUC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_TIME_SERIES_STRUC | Value transfer | Object reference (TYPE REF TO) | DATA | Referenz auf Struktur für die Zeitreihe | 20060406 |
Method _CREATE_TIME_SERIES_STRUC on class CL_RSPLFC_FORECAST has no exception.
Method _FILL_PCOM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_S_RULE | Call by reference | Type reference (TYPE) | LT_S_RULE | Vorbereitete Parametersatz-Regel | 20051116 |
Method _FILL_PCOM on class CL_RSPLFC_FORECAST has no exception.
Method _FORECAST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_TS_FC_DATA | Call by reference | Type reference (TYPE) | SORTED TABLE | Zeitreihe für Prognosedaten | 20051120 | |||
| 2 | I_FC_KYFNM | Call by reference | Type reference (TYPE) | RSIOBJNM | Prognosekennzahl | 20051116 | |||
| 3 | I_R_MSG | Call by reference | Object reference (TYPE REF TO) | CL_RSPLFU_MSG | Meldungen (mit Kontext) | 20051117 | |||
| 4 | I_S_RULE | Call by reference | Type reference (TYPE) | LT_S_RULE | Parametersatzregel | 20051116 | |||
| 5 | I_TS_HIST_DATA | Call by reference | Type reference (TYPE) | SORTED TABLE | Zeitreihe mit Vergangenheitsdaten | 20051120 |
Method _FORECAST on class CL_RSPLFC_FORECAST has no exception.
Method _GET_AUX_TIME_SERIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_MSG | Call by reference | Object reference (TYPE REF TO) | CL_RSPLFU_MSG | Meldungen (mit Kontext) | 20060406 | |||
| 2 | I_S_RULE | Call by reference | Type reference (TYPE) | LT_S_RULE | Parametersatz-Regel | 20060406 | |||
| 3 | R_S_TIME_SERIES | Value transfer | Type reference (TYPE) | LT_S_TIME_SERIES | Hilfs-Zeitreihen zu einer Parametersatz-Regel | 20060406 |
Method _GET_AUX_TIME_SERIES on class CL_RSPLFC_FORECAST has no exception.
Method _GET_RULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_MSG | Call by reference | Object reference (TYPE REF TO) | CL_RSPLFU_MSG | Meldungen für Parameterprüfung | 20051115 | |||
| 2 | I_R_PARAM_SET | Call by reference | Object reference (TYPE REF TO) | IF_RSPLFA_PARAM_SET | Satz von Parameterwerten | 20051115 | |||
| 3 | R_S_RULE | Value transfer | Type reference (TYPE) | LT_S_RULE | Vorbereitete Parametersatz-Regel | 20051115 |
Method _GET_RULE on class CL_RSPLFC_FORECAST has no exception.
Method _GET_SINGLE_VAL_FROM_CHARSEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_SINGLE_VAL | Call by reference | Type reference (TYPE) | ANY | Einzelwert | 20051120 | |||
| 2 | E_SINGLE_VAL_FOUND | Call by reference | Type reference (TYPE) | RS_BOOL | Genau einen Einzelwert gefunden | 20051120 | |||
| 3 | I_IOBJNM | Call by reference | Type reference (TYPE) | RSIOBJNM | InfoObject | 20051120 | |||
| 4 | I_T_CHARSEL | Call by reference | Type reference (TYPE) | RSPLF_T_CHARSEL | Selektionstabelle | 20051120 |
Method _GET_SINGLE_VAL_FROM_CHARSEL on class CL_RSPLFC_FORECAST has no exception.
Method _GET_SINGLE_VAL_FROM_SEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_SINGLE_VAL | Call by reference | Type reference (TYPE) | ANY | Einzelwert | 20051122 | |||
| 2 | E_SINGLE_VAL_FOUND | Call by reference | Type reference (TYPE) | RS_BOOL | Genau einen Einzelwert gefunden | 20051122 | |||
| 3 | I_IOBJNM | Call by reference | Type reference (TYPE) | RSIOBJNM | InfoObject | 20051122 | |||
| 4 | I_TS_SEL | Call by reference | Type reference (TYPE) | RSPLS_TS_SEL | Selektion | 20051122 |
Method _GET_SINGLE_VAL_FROM_SEL on class CL_RSPLFC_FORECAST has no exception.
Method _GET_TIM_CHA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_INFOPROV_DESC | Call by reference | Object reference (TYPE REF TO) | IF_RSPLFA_INFOPROV_DESC | InfoProvider (Metadaten) | 20051119 | |||
| 2 | I_R_MSG | Call by reference | Object reference (TYPE REF TO) | IF_RSPLFA_MSG | Meldungen | 20051119 | |||
| 3 | I_T_CHAR_USAGE | Call by reference | Type reference (TYPE) | RSPLF_T_CHAR_USAGE | Merkmalsverwendungen | 20051119 |
Method _GET_TIM_CHA on class CL_RSPLFC_FORECAST has no exception.
Method _PARAM_SET_2_RULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_MSG | Call by reference | Object reference (TYPE REF TO) | CL_RSPLFU_MSG | Meldungen | 20051123 | |||
| 2 | I_R_PARAM_SET | Call by reference | Object reference (TYPE REF TO) | IF_RSPLFA_PARAM_SET | Satz von Parameterwerten | 20051123 | |||
| 3 | R_S_RULE | Value transfer | Type reference (TYPE) | LT_S_RULE | Vorbereitete Parametersatz-Regel | 20051123 |
Method _PARAM_SET_2_RULE on class CL_RSPLFC_FORECAST has no exception.
Method _SELECT_PERIODS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TS_DATA | Call by reference | Type reference (TYPE) | SORTED TABLE | Bewegungsdaten | 20060406 | |||
| 2 | I_S_RULE | Call by reference | Type reference (TYPE) | LT_S_RULE | Vorbereitete Parametersatz-Regel | 20060406 | |||
| 3 | I_T_CHARSEL | Call by reference | Type reference (TYPE) | RSPLF_T_CHARSEL | Selektionstabelle u.a. mit Zeitmerkmal | 20060406 | |||
| 4 | I_T_TIM_CMP_CHARSEL | Call by reference | Type reference (TYPE) | RSPLF_T_CHARSEL | Selektionstabelle übergeordnete Merkmale | 20060406 |
Method _SELECT_PERIODS on class CL_RSPLFC_FORECAST has no exception.
Method _UPDATE_RULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_S_RULE | Call by reference | Type reference (TYPE) | LT_S_RULE | Parametersatz-Regel | 20051120 |
Method _UPDATE_RULE on class CL_RSPLFC_FORECAST has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 700 |