SAP ABAP Class /SAPAPO/CL_TIME_SERIES (Time Series)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
SCM-BAS (Application Component) SCM Basis
⤷
/SAPAPO/SCMB_FORECAST (Package) Forecast
⤷
⤷
Properties
| Class | /SAPAPO/CL_TIME_SERIES | |
| Short Description | Time Series | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /SAPAPO/SCMB_FORECAST | Forecast |
| Created | 20071003 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class /SAPAPO/CL_TIME_SERIES has no forward declaration.
Interfaces
Class /SAPAPO/CL_TIME_SERIES has no interface implemented.
Friends
Class /SAPAPO/CL_TIME_SERIES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | TY_T_SAMPLE_ACF | Sample Autocorrelation Coefficients | 20071018 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | /SAPAPO/WERT_TAB | Value Table of Time Series | 20071003 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | F | Mean of the Time Series | 20071003 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | F | Median of the Time Series | 20071003 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | F | Standard Deviation of the Time Series | 20071003 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add A New Value To The Time Series | 20080128 | |
| 2 | Static method | Public | Method | Concatenate Two Time Series | 20080128 | |
| 3 | Instance method | Public | Constructor | Constructor | 20071003 | |
| 4 | Instance method | Public | Method | Get The Differenced Series For The Given Lag | 20071018 | |
| 5 | Instance method | Public | Method | Get The Lagged Series For The Given Lag | 20071018 | |
| 6 | Instance method | Public | Method | Get The Sample Autocorrelation Coefficient For The Given Lag | 20071018 | |
| 7 | Instance method | Public | Method | Get the Length Of The Time Series | 20080128 | |
| 8 | Instance method | Public | Method | Returns One Value Of The Time Series | 20071018 | |
| 9 | Instance method | Public | Method | Returns The Mean / Average Of The Series | 20071003 | |
| 10 | Instance method | Public | Method | Returns The Median Of The Series | 20071003 | |
| 11 | Instance method | Public | Method | Returns The Standard Deviation Of The Series | 20071003 |
Events
Class /SAPAPO/CL_TIME_SERIES has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_SAMPLE_ACF | Private | See coding | 20071018 | BEGIN OF TY_S_SAMPLE_ACF,
autocorr TYPE f,
lag TYPE i,
END OF TY_S_SAMPLE_ACF
|
||
| 2 | TY_T_SAMPLE_ACF | Private | See coding | 20071018 | TY_T_SAMPLE_ACF TYPE HASHED TABLE OF ty_s_sample_acf WITH UNIQUE KEY lag
|
Method Signatures
Method ADD_TS_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_INDEX | Call by reference | Type reference (TYPE) | I | Time Series Index | 20080128 | |||
| 2 | IV_TS_VALUE | Call by reference | Type reference (TYPE) | F | Time Series Value | 20080128 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions for Time Series | 20080128 |
Method CONCATENATE_SERIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_TIME_SERIES | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_TIME_SERIES | Time Series | 20080128 | |||
| 2 | IO_TIME_SERIES_1 | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_TIME_SERIES | Time Series | 20080128 | |||
| 3 | IO_TIME_SERIES_2 | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_TIME_SERIES | Time Series | 20080128 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions for Time Series | 20080128 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TIME_SERIES | Call by reference | Type reference (TYPE) | /SAPAPO/WERT_TAB | Table Containing the Values of the Series | 20071003 | |||
| 2 | IV_REVERSE_ORDER | Call by reference | Type reference (TYPE) | /SAPAPO/FCSTFLAG | Flag for Reversely Sorted Series | 20071019 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20071003 |
Method GET_DIFFERENCED_SERIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_DIFFERENCED_SERIES | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_TIME_SERIES | Differenced Time Series | 20071018 | |||
| 2 | IV_LAG | Call by reference | Type reference (TYPE) | I | Lag | 20071018 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions for Time Series | 20071018 |
Method GET_LAGGED_SERIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_LAGGED_SERIES | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_TIME_SERIES | Lagged Time Series | 20071018 | |||
| 2 | IV_LAG | Call by reference | Type reference (TYPE) | I | Lag | 20071018 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions for Time Series | 20071018 |
Method GET_SAMPLE_ACF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_SAMPLE_ACF | Value transfer | Type reference (TYPE) | F | Sample Autocorrelation for Given Lag | 20071018 | |||
| 2 | IV_LAG | Call by reference | Type reference (TYPE) | I | Lag | 20071018 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions for Time Series | 20071018 |
Method GET_SERIES_LENGTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_LENGTH | Value transfer | Type reference (TYPE) | I | 20080128 |
Method GET_SERIES_LENGTH on class /SAPAPO/CL_TIME_SERIES has no exception.
Method GET_TS_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_TS_VALUE | Value transfer | Type reference (TYPE) | F | Time Series Value | 20071018 | |||
| 2 | IV_INDEX | Call by reference | Type reference (TYPE) | I | Time Series Index | 20071018 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions for Time Series | 20071018 |
Method MEAN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_MEAN | Value transfer | Type reference (TYPE) | F | Mean of the Series | 20071003 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20071003 |
Method MEDIAN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_MEDIAN | Value transfer | Type reference (TYPE) | F | Median of the Series | 20071003 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20071003 |
Method STDDEV Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_STDDEV | Value transfer | Type reference (TYPE) | F | Standard Deviation of the Series | 20071003 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20071003 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 710 |