SAP ABAP Class CL_RSDRC_VALTAB_FILTER (Validity table filter)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷ BW-BEX-OT (Application Component) OLAP Technology
⤷ RSDRC (Package) Data Manager InfoProvider Read Access
⤷ BW-BEX-OT (Application Component) OLAP Technology
⤷ RSDRC (Package) Data Manager InfoProvider Read Access
Properties
Class | CL_RSDRC_VALTAB_FILTER | |
Short Description | Validity table filter | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | RSDRC | Data Manager InfoProvider Read Access |
Created | 20090727 | SAP |
Last change | 20130531 | 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) |
2 | CL_ABAP_STRUCTDESCR | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
3 | RRSI | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
4 | RS | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
5 | RSD | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RSDRC_VALTAB_FILTER has no interface implemented.
Friends
Class CL_RSDRC_VALTAB_FILTER has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | N_TS_VALID_CHA | Instance attribute | Public | Type reference (TYPE) | TN_TS_VALID_CHA | description of validity characteristics | 20090727 | ||
2 | P_RT_VALID | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | 20090727 | |||
3 | P_R_TIME_DERIVER | Instance attribute | Private | Object reference (TYPE REF TO) | CL_RSDRC_TIME_DERIVER | Time deriver | 20090731 | ||
4 | P_S_META | Instance attribute | Private | Type reference (TYPE) | TP_S_META | Runtime metadata needed for filtering | 20090727 | ||
5 | P_TH_SFC | Instance attribute | Private | Type reference (TYPE) | RSDD_TH_SFC | SFC | 20090727 | ||
6 | P_T_COMPONENTS | Instance attribute | Private | Type reference (TYPE) | CL_ABAP_STRUCTDESCR=>COMPONENT_TABLE | Data Components | 20090727 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | BUILD_METADATA | Instance method | Private | Method | build internal runtime metadata | 20090730 |
2 | CHECK_RTIME_HIGH | Instance method | Private | Method | check whether new record is inside rtime | 20101130 |
3 | CHECK_RTIME_LOW | Instance method | Private | Method | check whether new record is inside rtime | 20101130 |
4 | EXECUTE | Instance method | Public | Method | execute filter for a given data table | 20090727 |
5 | GET_ALLOWED_TIMES | Instance method | Private | Method | get times from valtab interval that need to be transformed | 20090730 |
6 | GET_COMP_ENTRY | Instance method | Private | Method | get data position | 20090727 |
7 | GET_DATA_POS | Instance method | Private | Method | get data position | 20090727 |
8 | GET_MAX_RTIME | Instance method | Public | Method | Get maximum ncumtim value from rtime | 20110506 |
9 | GET_MIN_RTIME | Instance method | Public | Method | Get mimimum ncumtim value from rtime | 20110506 |
10 | GET_TIME_INTERVALS | Instance method | Private | Method | get the matching time intervals | 20090727 |
11 | PREPARE | Instance method | Public | Method | prepare validity table filter access | 20090727 |
12 | SHIFT_BOARDERS | Instance method | Private | Method | shift the borders of the containing records | 20090729 |
13 | SORT_VALID_TAB | Static method | Public | Method | Create a sorted validity table | 20090728 |
Events
Class CL_RSDRC_VALTAB_FILTER has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TN_S_VALID_CHA | Public | See coding | 20090727 | BEGIN OF tn_s_valid_cha, "structure of internal validity table
chanm TYPE rsd_chanm,
pos TYPE i, "0 if ncumtim
tim_from TYPE i, "only set if ncumtim
tim_to TYPE i, "only set if ncumtim
END OF tn_s_valid_cha
|
||
2 | TN_TS_VALID_CHA | Public | See coding | 20090727 | tn_ts_valid_cha TYPE SORTED TABLE OF tn_s_valid_cha WITH UNIQUE KEY chanm
|
||
3 | TP_S_ALLOWED | Private | See coding | 20090729 | begin of TP_S_allowed,
sid TYPE rssid, "ncumtim sid
sidlow TYPE rssid, "sidlow of according rtime
sidhigh TYPE rssid, "sidhigh of according rtime
is_shift TYPE rs_bool, "is this a shift entry
end of tp_s_allowed
|
||
4 | TP_S_META | Private | See coding | 20090727 | BEGIN OF tp_s_meta,
ncumtim TYPE rsd_chanm,
ncumtim_pos TYPE i, "position of ncumtim in data
tim_from TYPE i, "position in validity table
tim_to TYPE i, "position in validity table
r_valtab_key TYPE REF TO cl_abap_structdescr,
"key of valid cha components in data
r_key TYPE REF TO cl_abap_structdescr,
"key by valtab chars, sfc entries, time
first_aggr TYPE rs_bool,
"kyf with day start value
last_aggr TYPE rs_bool,
"kyf with day end value
ts_allowed_times TYPE tp_ts_allowed,
"times that are on the boarder of rtime and
"might need special processing
ts_valid_cha TYPE tp_ts_valid_cha,
"actually needed valtab characteristics
extend_validity TYPE rs_bool,
min_rtime TYPE i,
"absolute minimum of rtimes
max_rtime TYPE i,
"absolute maximum of rtimes
ts_range TYPE tp_ts_range,
"rtime ranges
t_sortorder TYPE abap_sortorder_tab,
"sortorder of data to be filtered/adapted
virt_ind_pos TYPE i, "position of virtula indicator for data set
END OF tp_s_meta
|
||
5 | TP_S_RANGE | Private | See coding | 20101130 | BEGIN OF tp_s_range,
low TYPE rssid,
high TYPE rssid,
END OF tp_s_range
|
||
6 | TP_S_VALID_CHA | Private | See coding | 20090727 | BEGIN OF tp_s_valid_cha,
chanm TYPE rsd_chanm,
valid_pos TYPE i,
valid_name TYPE string,
END OF tp_s_valid_cha
|
||
7 | TP_TS_ALLOWED | Private | See coding | 20101109 | tp_ts_allowed TYPE SORTED TABLE OF tp_s_allowed WITH UNIQUE KEY sid is_shift sidlow sidhigh
|
||
8 | TP_TS_RANGE | Private | See coding | 20101130 | tp_ts_range TYPE SORTED TABLE OF tp_s_range WITH UNIQUE KEY low high
|
||
9 | TP_TS_VALID_CHA | Private | See coding | 20090727 | tp_ts_valid_cha TYPE SORTED TABLE OF tp_s_valid_cha WITH UNIQUE KEY valid_name
|
Method Signatures
Method BUILD_METADATA Signature
Method BUILD_METADATA on class CL_RSDRC_VALTAB_FILTER has no parameter.
Method BUILD_METADATA on class CL_RSDRC_VALTAB_FILTER has no exception.
Method CHECK_RTIME_HIGH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_NCUMTIM | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20101130 | ||
2 | Returning | R_NCUMTIM | Value transfer | Type reference (TYPE) | RSSID | Stammdaten ID | 20101130 |
Method CHECK_RTIME_HIGH on class CL_RSDRC_VALTAB_FILTER has no exception.
Method CHECK_RTIME_LOW Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_NCUMTIM | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20101130 | ||
2 | Returning | R_NCUMTIM | Value transfer | Type reference (TYPE) | RSSID | Stammdaten ID | 20101130 |
Method CHECK_RTIME_LOW on class CL_RSDRC_VALTAB_FILTER has no exception.
Method EXECUTE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | C_T_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | data to be filtered | 20090727 |
Method EXECUTE on class CL_RSDRC_VALTAB_FILTER has no exception.
Method GET_ALLOWED_TIMES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_S_VALID | Call by reference | Type reference (TYPE) | ANY | entry for valtab to be used for NCUM handling | 20090730 | ||
2 | Importing | I_T_RTIME | Call by reference | Type reference (TYPE) | RSDD_T_RTIME | RTIME with adapted ncumtim | 20090730 |
Method GET_ALLOWED_TIMES on class CL_RSDRC_VALTAB_FILTER has no exception.
Method GET_COMP_ENTRY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_CHANM | Call by reference | Type reference (TYPE) | RSD_CHANM | 20090727 | |||
2 | Returning | R_S_COMP | Value transfer | Type reference (TYPE) | ABAP_COMPONENTDESCR | 20090727 |
Method GET_COMP_ENTRY on class CL_RSDRC_VALTAB_FILTER has no exception.
Method GET_DATA_POS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_CHANM | Call by reference | Type reference (TYPE) | RSD_CHANM | 20090727 | |||
2 | Returning | R_POS | Value transfer | Type reference (TYPE) | I | 20090727 |
Method GET_DATA_POS on class CL_RSDRC_VALTAB_FILTER has no exception.
Method GET_MAX_RTIME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_MAX_RTIME | Value transfer | Type reference (TYPE) | RSSID | Stammdaten ID | 20110506 |
Method GET_MAX_RTIME on class CL_RSDRC_VALTAB_FILTER has no exception.
Method GET_MIN_RTIME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_MIN_RTIME | Value transfer | Type reference (TYPE) | RSSID | Stammdaten ID | 20110506 |
Method GET_MIN_RTIME on class CL_RSDRC_VALTAB_FILTER has no exception.
Method GET_TIME_INTERVALS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_TIM1_FROM | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20110627 | ||
2 | Exporting | E_TIM1_TO | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20110627 | ||
3 | Exporting | E_TIM_FROM | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20090727 | ||
4 | Exporting | E_TIM_TO | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20090727 | ||
5 | Importing | I_S_KEY | Call by reference | Type reference (TYPE) | ANY | 20090727 |
Method GET_TIME_INTERVALS on class CL_RSDRC_VALTAB_FILTER has no exception.
Method PREPARE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_S_VALID | Call by reference | Type reference (TYPE) | ANY | entry for valtab to be used for NCUM handling | 20090730 | ||
2 | Importing | I_FIRST_AGGR | Call by reference | Type reference (TYPE) | RS_BOOL | Is there a kyf with first aggregation | 20090729 | ||
3 | Importing | I_LAST_AGGR | Call by reference | Type reference (TYPE) | RS_BOOL | Is there a kyf with last, max, min or AVG ? | 20090729 | ||
4 | Importing | I_TH_SFC | Call by reference | Type reference (TYPE) | RSDD_TH_SFC | SFC containing ICVAL characteristics | 20090727 | ||
5 | Importing | I_TI_VALID | Call by reference | Type reference (TYPE) | INDEX TABLE | content of validity table (sorted, unless no valid chas) | 20090803 | ||
6 | Importing | I_TS_VALID_CHA | Call by reference | Type reference (TYPE) | TN_TS_VALID_CHA | validity characteristics and position in i_ta_valid | 20090727 | ||
7 | Importing | I_T_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | example output data table | 20090730 | ||
8 | Importing | I_T_RTIME | Call by reference | Type reference (TYPE) | RSDD_T_RTIME | RTIME with adapted ncumtim | 20090729 |
Method PREPARE on class CL_RSDRC_VALTAB_FILTER has no exception.
Method SHIFT_BOARDERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | C_T_BOARDER_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20090729 | |||
2 | Changing | C_T_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20090729 | |||
3 | Importing | I_HIGH1_EXISTS | Call by reference | Type reference (TYPE) | RS_BOOL | 20110627 | |||
4 | Importing | I_HIGH_EXISTS | Call by reference | Type reference (TYPE) | RS_BOOL | 20090729 | |||
5 | Importing | I_LOW1_EXISTS | Call by reference | Type reference (TYPE) | RS_BOOL | 20110627 | |||
6 | Importing | I_LOW_EXISTS | Call by reference | Type reference (TYPE) | RS_BOOL | 20090729 | |||
7 | Importing | I_TIM1_FROM | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20110627 | ||
8 | Importing | I_TIM1_TO | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20110627 | ||
9 | Importing | I_TIM_FROM | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20090729 | ||
10 | Importing | I_TIM_TO | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20090729 | ||
11 | Importing | I_TS_EXISTING | Call by reference | Type reference (TYPE) | RRSI_TS_EQSID | ncumtim values for which entries outside validity already ex | 20110628 |
Method SHIFT_BOARDERS on class CL_RSDRC_VALTAB_FILTER has no exception.
Method SORT_VALID_TAB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_TA_VALID | Call by reference | Type reference (TYPE) | ANY TABLE | validity table | 20090728 | ||
2 | Importing | I_TS_VALID_CHA | Call by reference | Type reference (TYPE) | TN_TS_VALID_CHA | validity characteristics | 20090728 | ||
3 | Returning | R_TS_VALID | Value transfer | Object reference (TYPE REF TO) | DATA | sorted validity table (needed by prepare) | 20090728 |
Method SORT_VALID_TAB on class CL_RSDRC_VALTAB_FILTER has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 730 |