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
⤷ 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 | MT_SAMPLE_ACF | Instance attribute | Private | Type reference (TYPE) | TY_T_SAMPLE_ACF | Sample Autocorrelation Coefficients | 20071018 | ||
2 | MT_SERIES | Instance attribute | Private | Type reference (TYPE) | /SAPAPO/WERT_TAB | Value Table of Time Series | 20071003 | ||
3 | MV_MEAN | Instance attribute | Private | Type reference (TYPE) | F | Mean of the Time Series | 20071003 | ||
4 | MV_MEDIAN | Instance attribute | Private | Type reference (TYPE) | F | Median of the Time Series | 20071003 | ||
5 | MV_STDDEV | Instance attribute | Private | Type reference (TYPE) | F | Standard Deviation of the Time Series | 20071003 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD_TS_VALUE | Instance method | Public | Method | Add A New Value To The Time Series | 20080128 |
2 | CONCATENATE_SERIES | Static method | Public | Method | Concatenate Two Time Series | 20080128 |
3 | CONSTRUCTOR | Instance method | Public | Constructor | Constructor | 20071003 |
4 | GET_DIFFERENCED_SERIES | Instance method | Public | Method | Get The Differenced Series For The Given Lag | 20071018 |
5 | GET_LAGGED_SERIES | Instance method | Public | Method | Get The Lagged Series For The Given Lag | 20071018 |
6 | GET_SAMPLE_ACF | Instance method | Public | Method | Get The Sample Autocorrelation Coefficient For The Given Lag | 20071018 |
7 | GET_SERIES_LENGTH | Instance method | Public | Method | Get the Length Of The Time Series | 20080128 |
8 | GET_TS_VALUE | Instance method | Public | Method | Returns One Value Of The Time Series | 20071018 |
9 | MEAN | Instance method | Public | Method | Returns The Mean / Average Of The Series | 20071003 |
10 | MEDIAN | Instance method | Public | Method | Returns The Median Of The Series | 20071003 |
11 | STDDEV | 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 | Importing | IV_INDEX | Call by reference | Type reference (TYPE) | I | Time Series Index | 20080128 | ||
2 | Importing | IV_TS_VALUE | Call by reference | Type reference (TYPE) | F | Time Series Value | 20080128 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SAPAPO/CX_TIME_SERIES | Exceptions for Time Series | 20080128 |
Method CONCATENATE_SERIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EO_TIME_SERIES | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_TIME_SERIES | Time Series | 20080128 | ||
2 | Importing | IO_TIME_SERIES_1 | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_TIME_SERIES | Time Series | 20080128 | ||
3 | Importing | 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 | /SAPAPO/CX_TIME_SERIES | Exceptions for Time Series | 20080128 |
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_TIME_SERIES | Call by reference | Type reference (TYPE) | /SAPAPO/WERT_TAB | Table Containing the Values of the Series | 20071003 | ||
2 | Importing | IV_REVERSE_ORDER | Call by reference | Type reference (TYPE) | /SAPAPO/FCSTFLAG | Flag for Reversely Sorted Series | 20071019 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SAPAPO/CX_TIME_SERIES | 20071003 |
Method GET_DIFFERENCED_SERIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EO_DIFFERENCED_SERIES | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_TIME_SERIES | Differenced Time Series | 20071018 | ||
2 | Importing | IV_LAG | Call by reference | Type reference (TYPE) | I | Lag | 20071018 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SAPAPO/CX_TIME_SERIES | 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 | Exporting | EO_LAGGED_SERIES | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_TIME_SERIES | Lagged Time Series | 20071018 | ||
2 | Importing | IV_LAG | Call by reference | Type reference (TYPE) | I | Lag | 20071018 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SAPAPO/CX_TIME_SERIES | 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 | Returning | EV_SAMPLE_ACF | Value transfer | Type reference (TYPE) | F | Sample Autocorrelation for Given Lag | 20071018 | ||
2 | Importing | IV_LAG | Call by reference | Type reference (TYPE) | I | Lag | 20071018 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SAPAPO/CX_TIME_SERIES | 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 | Returning | 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 | Returning | EV_TS_VALUE | Value transfer | Type reference (TYPE) | F | Time Series Value | 20071018 | ||
2 | Importing | IV_INDEX | Call by reference | Type reference (TYPE) | I | Time Series Index | 20071018 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SAPAPO/CX_TIME_SERIES | Exceptions for Time Series | 20071018 |
Method MEAN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | EV_MEAN | Value transfer | Type reference (TYPE) | F | Mean of the Series | 20071003 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SAPAPO/CX_TIME_SERIES | 20071003 |
Method MEDIAN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | EV_MEDIAN | Value transfer | Type reference (TYPE) | F | Median of the Series | 20071003 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SAPAPO/CX_TIME_SERIES | 20071003 |
Method STDDEV Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | EV_STDDEV | Value transfer | Type reference (TYPE) | F | Standard Deviation of the Series | 20071003 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SAPAPO/CX_TIME_SERIES | 20071003 |
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 710 |