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

⤷

⤷

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 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
3 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
4 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
5 | ![]() |
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 | ![]() |
Instance attribute | Public | Type reference (TYPE) | TN_TS_VALID_CHA | description of validity characteristics | 20090727 | ||
2 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | DATA | 20090727 | |||
3 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | CL_RSDRC_TIME_DERIVER | Time deriver | 20090731 | ||
4 | ![]() |
Instance attribute | Private | Type reference (TYPE) | TP_S_META | Runtime metadata needed for filtering | 20090727 | ||
5 | ![]() |
Instance attribute | Private | Type reference (TYPE) | RSDD_TH_SFC | SFC | 20090727 | ||
6 | ![]() |
Instance attribute | Private | Type reference (TYPE) | CL_ABAP_STRUCTDESCR=>COMPONENT_TABLE | Data Components | 20090727 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Private | Method | build internal runtime metadata | 20090730 |
2 | ![]() |
Instance method | Private | Method | check whether new record is inside rtime | 20101130 |
3 | ![]() |
Instance method | Private | Method | check whether new record is inside rtime | 20101130 |
4 | ![]() |
Instance method | Public | Method | execute filter for a given data table | 20090727 |
5 | ![]() |
Instance method | Private | Method | get times from valtab interval that need to be transformed | 20090730 |
6 | ![]() |
Instance method | Private | Method | get data position | 20090727 |
7 | ![]() |
Instance method | Private | Method | get data position | 20090727 |
8 | ![]() |
Instance method | Public | Method | Get maximum ncumtim value from rtime | 20110506 |
9 | ![]() |
Instance method | Public | Method | Get mimimum ncumtim value from rtime | 20110506 |
10 | ![]() |
Instance method | Private | Method | get the matching time intervals | 20090727 |
11 | ![]() |
Instance method | Public | Method | prepare validity table filter access | 20090727 |
12 | ![]() |
Instance method | Private | Method | shift the borders of the containing records | 20090729 |
13 | ![]() |
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 | ![]() |
I_NCUMTIM | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20101130 | ||
2 | ![]() |
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 | ![]() |
I_NCUMTIM | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20101130 | ||
2 | ![]() |
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 | ![]() |
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 | ![]() |
E_S_VALID | Call by reference | Type reference (TYPE) | ANY | entry for valtab to be used for NCUM handling | 20090730 | ||
2 | ![]() |
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 | ![]() |
I_CHANM | Call by reference | Type reference (TYPE) | RSD_CHANM | 20090727 | |||
2 | ![]() |
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 | ![]() |
I_CHANM | Call by reference | Type reference (TYPE) | RSD_CHANM | 20090727 | |||
2 | ![]() |
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 | ![]() |
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 | ![]() |
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 | ![]() |
E_TIM1_FROM | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20110627 | ||
2 | ![]() |
E_TIM1_TO | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20110627 | ||
3 | ![]() |
E_TIM_FROM | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20090727 | ||
4 | ![]() |
E_TIM_TO | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20090727 | ||
5 | ![]() |
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 | ![]() |
E_S_VALID | Call by reference | Type reference (TYPE) | ANY | entry for valtab to be used for NCUM handling | 20090730 | ||
2 | ![]() |
I_FIRST_AGGR | Call by reference | Type reference (TYPE) | RS_BOOL | Is there a kyf with first aggregation | 20090729 | ||
3 | ![]() |
I_LAST_AGGR | Call by reference | Type reference (TYPE) | RS_BOOL | Is there a kyf with last, max, min or AVG ? | 20090729 | ||
4 | ![]() |
I_TH_SFC | Call by reference | Type reference (TYPE) | RSDD_TH_SFC | SFC containing ICVAL characteristics | 20090727 | ||
5 | ![]() |
I_TI_VALID | Call by reference | Type reference (TYPE) | INDEX TABLE | content of validity table (sorted, unless no valid chas) | 20090803 | ||
6 | ![]() |
I_TS_VALID_CHA | Call by reference | Type reference (TYPE) | TN_TS_VALID_CHA | validity characteristics and position in i_ta_valid | 20090727 | ||
7 | ![]() |
I_T_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | example output data table | 20090730 | ||
8 | ![]() |
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 | ![]() |
C_T_BOARDER_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20090729 | |||
2 | ![]() |
C_T_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20090729 | |||
3 | ![]() |
I_HIGH1_EXISTS | Call by reference | Type reference (TYPE) | RS_BOOL | 20110627 | |||
4 | ![]() |
I_HIGH_EXISTS | Call by reference | Type reference (TYPE) | RS_BOOL | 20090729 | |||
5 | ![]() |
I_LOW1_EXISTS | Call by reference | Type reference (TYPE) | RS_BOOL | 20110627 | |||
6 | ![]() |
I_LOW_EXISTS | Call by reference | Type reference (TYPE) | RS_BOOL | 20090729 | |||
7 | ![]() |
I_TIM1_FROM | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20110627 | ||
8 | ![]() |
I_TIM1_TO | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20110627 | ||
9 | ![]() |
I_TIM_FROM | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20090729 | ||
10 | ![]() |
I_TIM_TO | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20090729 | ||
11 | ![]() |
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 | ![]() |
I_TA_VALID | Call by reference | Type reference (TYPE) | ANY TABLE | validity table | 20090728 | ||
2 | ![]() |
I_TS_VALID_CHA | Call by reference | Type reference (TYPE) | TN_TS_VALID_CHA | validity characteristics | 20090728 | ||
3 | ![]() |
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 |