SAP ABAP Class CL_RSR_RRK0_RESULT_SET_BASE (Result Set of the OLAP Processor)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-BEX-OT (Application Component) OLAP Technology
     RSROA_RT (Package) OLAP: Kernel Runtime
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_RSR_RRK0_SERVICE_BASE Basis for RRK0 Service Classes 20120829
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_RSR_RRK0_RESULT_SET Result Set of the OLAP Processor 20120829
2 Inheritance (c INHERITING FROM c_ref)  CL_RSR_RRK0_RESULT_SET_FLAT Flat Result Set of the OLAP Processor 20120829
Properties
Class CL_RSR_RRK0_RESULT_SET_BASE  
Short Description Result Set of the OLAP Processor    
Super Class CL_RSR_RRK0_SERVICE_BASE Basis for RRK0 Service Classes 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSROA_RT   OLAP: Kernel Runtime 
Created 20120829   SAP 
Last change 20140121   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 RRK Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 RRK0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 RRK1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
5 RRO01 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
6 RRX1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
7 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
8 RSD Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
9 RSR Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSR_RRK0_RESULT_SET_BASE has no interface implemented.
Friends
Class CL_RSR_RRK0_RESULT_SET_BASE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 N_CA_ZERO_NOALL Constant Public See coding 20120829
2 N_C_USER_DEFINED Constant Public See coding 20120829
3 N_C_ZERO Constant Public See coding 20120829
4 N_R_RESULT_SET_IDS Instance attribute Public Object reference (TYPE REF TO) CL_RSR_RRK0_RESULT_SET_IDS Number Ranges shared by Result Sets 20121009
5 N_SX_REQ_KIDS Instance attribute Public Type reference (TYPE) RRK0_SX_KID_SELECTION The requested KIDs of the subtotal level 20120829
6 N_TH_AGGR_IDXS Instance attribute Public Type reference (TYPE) RRK1_TH_AGGR_IDXS Aggregation Indexes 20120829
7 N_TH_KEY_FIGURE Instance attribute Public Type reference (TYPE) TN_TH_KEY_FIGURE 20121002
8 N_TSX_CHARACTERISTIC Instance attribute Public Type reference (TYPE) TN_TSX_CHARACTERISTIC 20121002
9 N_TS_AXES Instance attribute Public Type reference (TYPE) RRK0_TS_AXES 20120829
10 N_TS_SUBTOTAL_LEVEL Instance attribute Public Type reference (TYPE) TN_TS_SUBTOTAL_LEVEL 20121002
11 O_CLASS_NAME_STL Instance attribute Protected Type reference (TYPE) ABAP_CLASSNAME 20120829
Methods
# Method Level Visibility Method type Description Created on
1 ADAPT_PLEVEL Instance method Public Method adapt the PLEVEL of the subtotal level 20121004
2 CHECK_CONDITION Instance method Public Method Check a condition 20120829
3 CONSTRUCTOR Instance method Public Constructor 20120829
4 GET_FIRST_STL_FOR_CHAR Instance method Protected Method 20121008
5 GET_KYF_FROM_KID_AND_CELL Instance method Protected Method 20121002
6 GET_LAST_STL_FOR_CHAR Instance method Protected Method 20121005
7 GET_WANZ Instance method Protected Method Get the WANZ (Number of BNRs) 20120829
8 GET_WANZ_OF_LRECH Instance method Private Method Get WANZ (number of BNRs) of an LRECH cell 20120829
9 GET_WANZ_OF_SUMM Instance method Private Method Get the WANZ (number of BNRs) of a SUMM Cell 20120829
10 RAISE_PLEVEL_ERROR Instance method Private Method Raise a normalization error 20121004
11 SETUP_WGRS_IN_KEY_FIGURES Instance method Protected Method 20121002
12 SET_CHARACTERISTICS Instance method Protected Method Set the characteristics 20121002
13 SET_KEY_FIGURES Instance method Protected Method 20121002
14 SET_USED_BITS_IN_WGR Instance method Private Method 20120829
15 SORT_AXES Instance method Protected Method Sort axes (put fix characteristics to the beginning) 20120829
Events
Class CL_RSR_RRK0_RESULT_SET_BASE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TN_SX_AND Public See coding 20120829 BEGIN OF tn_sx_and, eltuid TYPE rsuniidx, ranking TYPE rs_bool, or TYPE rrk0_tx_term, END OF tn_sx_and
2 TN_SX_CHARACTERISTIC Public See coding 20121002 BEGIN OF tn_sx_characteristic. INCLUDE TYPE rrk0_s_axes AS axes. TYPES: sortid TYPE i, "reference to the sorting info table (attribute of char) condid TYPE i, "reference to the condition info table (attribute of char) anzl TYPE i, "number of levels of a display hierarchy (attribute of char) toffs TYPE i, "offset in SORTX (attribute of char) tleng TYPE i, "length of bytes in SORTX including all display hierarchy levels (attribute of char) sortl TYPE i, "length per characteristic and hierarchy level in SORTX (attribute of char) fixcheck TYPE rs_bool, "post filter of FIX sid needed (attribute of char) level TYPE i, "hierarchy sorting level (attribute of STL) lclevel TYPE rrlevel, "aggregation level (starts with 1, similar to aggrid), aggrid+1? hstatus TYPE rsr_status, "is a display hierarchy active or not? mstatus TYPE rs_bool, "there is at least one active condition (attribute of char) styp TYPE rrosart, "sorting type taken from the sorting info table, pnly filled in case of sorting by value spoc TYPE rs_bool, "SPOC active (attribute of char) hn_posit TYPE rrxhrynodeposit, " expand direction of hier-nodes hr_posit TYPE rrxsumposit, " position of result with hierarchy plevel TYPE rrplevel, "the normalization setting, from CHAFREE (attribute of char) cumul TYPE rs_bool, "cumulation in char active, from CHAFREE (attribute of char) noct TYPE rs_bool, "sum suppression was set beause of condition or sorting on char combinations (attribute of char) spcnm TYPE rsalias, "name of the relevant SP columns (attribute of char) dupl TYPE tn_thx_dupl, "duplication of non-unique hierarchy is needed (attribute of char) END OF tn_sx_characteristic
3 TN_SX_DUPL Public See coding 20121002 BEGIN OF tn_sx_dupl, tupleid TYPE rrtupleid, oind TYPE i, " Referenz auf Original S_SET tabix TYPE i, pm TYPE i, dupl TYPE tn_ts_dupl, END OF tn_sx_dupl
4 TN_S_CHARACTERISTIC_KEY Public See coding 20121002 BEGIN OF tn_s_characteristic_key, sort TYPE rsrsfsort, chanmid TYPE rrchanmid, END OF tn_s_characteristic_key
5 TN_S_DUPL Public See coding 20121002 BEGIN OF tn_s_dupl, dind TYPE i, " Referenz auf das duplizierte S_SET sid TYPE rssid, " Neue Sid der Copy tlevel TYPE rsrtlevel, " Neues Tlevel tlshift TYPE rrtlshift, " Neues TLSHIFT parent_sid TYPE rssid, " Neue Parent SID END OF tn_s_dupl
6 TN_S_KEY_FIGURE Public See coding 20121002 BEGIN OF tn_s_key_figure, kid TYPE rro01_s_cell-kid, quell TYPE rro01_s_cell-quell, qufl TYPE rro01_s_cell-qufl, qubh TYPE rro01_s_cell-qubh, mwkz TYPE rro01_s_cell-mwkz, max_prec TYPE rrprec, num_scale TYPE rrk0_s_kid-num_scale, num_prec TYPE rrprec, emphasis TYPE rrk0_s_kid-emphasis, inputable TYPE rrinput, noinput TYPE rrnoinput, dis_mode TYPE rro01_s_cell-dis_mode, dis_kid TYPE rro01_s_cell-dis_kid, user_defined TYPE rs_char1, p_status TYPE rsr_status, set100 TYPE rs_bool, s_status TYPE rs_bool, plevel TYPE rrplevel, rgc_laggr TYPE rs_bool, intformat TYPE rs_bool, acell TYPE rzi0celltp, factor TYPE rsroa_df, " H1143795 cu TYPE tn_s_cu, "CU in case of RGC dpos TYPE i, "position of the key figure in the SP cupos type i, "position of the Currency/Unit in the SP cond TYPE rs_bool, "key_figure/KID is only for helper reasons, not directly requested from outside tsx_condk_and TYPE tn_tsx_and, END OF tn_s_key_figure
7 TN_S_SID_CHECK Public See coding 20120829 BEGIN OF tn_s_sid_check, sid_index TYPE i, sid_tab TYPE REF TO rrsi_ts_sid, END OF tn_s_sid_check
8 TN_S_STL_STATUS Public See coding 20121008 BEGIN OF tn_s_stl_status, stl_id TYPE i, cstatus TYPE rs_bool, hstatus TYPE rsr_status, END OF tn_s_stl_status
9 TN_S_SUBTOTAL_LEVEL Public See coding 20121002 BEGIN OF tn_s_subtotal_level, stl_id TYPE i, r_stl TYPE REF TO cl_rsr_rrk0_stl_base, END OF tn_s_subtotal_level
10 TN_THX_DUPL Public See coding 20121002 tn_thx_dupl TYPE HASHED TABLE OF tn_sx_dupl WITH UNIQUE KEY tupleid INITIAL SIZE 0
11 TN_TH_KEY_FIGURE Public See coding 20121002 tn_th_key_figure TYPE HASHED TABLE OF tn_s_key_figure WITH UNIQUE KEY kid INITIAL SIZE 10
12 TN_TSX_AND Public See coding 20120829 tn_tsx_and TYPE SORTED TABLE OF tn_sx_and WITH UNIQUE KEY eltuid INITIAL SIZE 1
13 TN_TSX_CHARACTERISTIC Public See coding 20121002 tn_tsx_characteristic TYPE SORTED TABLE OF tn_sx_characteristic WITH UNIQUE KEY sort chanmid WITH NON-UNIQUE SORTED KEY chanmid COMPONENTS chanmid
14 TN_TS_CHARACTERISTIC_KEY Public See coding 20121002 tn_ts_characteristic_key TYPE SORTED TABLE OF tn_s_characteristic_key WITH UNIQUE KEY sort chanmid WITH NON-UNIQUE SORTED KEY chanmid COMPONENTS chanmid
15 TN_TS_DUPL Public See coding 20121002 tn_ts_dupl TYPE SORTED TABLE OF tn_s_dupl WITH UNIQUE KEY table_line INITIAL SIZE 0
16 TN_TS_STL_STATUS Public See coding 20121008 tn_ts_stl_status TYPE SORTED TABLE OF tn_s_stl_status WITH UNIQUE KEY stl_id INITIAL SIZE 3
17 TN_TS_SUBTOTAL_LEVEL Public See coding 20121002 tn_ts_subtotal_level TYPE SORTED TABLE OF tn_s_subtotal_level WITH UNIQUE KEY stl_id
18 TN_T_SID_CHECK Public See coding 20120829 tn_t_sid_check TYPE STANDARD TABLE OF tn_s_sid_check WITH KEY table_line INITIAL SIZE 2
19 TO_S_INDEX_BOOL Protected See coding 20120829 BEGIN OF to_s_index_bool, tabix TYPE i, true TYPE rs_bool, END OF to_s_Index_bool
20 TO_S_INDEX_COUNTER Protected See coding 20120829 BEGIN OF to_s_index_counter, tabix TYPE i, counter TYPE int4, END OF to_s_index_counter
21 TO_TH_INDEX_BOOL Protected See coding 20120829 to_th_index_bool TYPE HASHED TABLE OF to_s_index_bool WITH UNIQUE KEY tabix INITIAL SIZE 0
22 TO_TH_INDEX_COUNTER Protected See coding 20120829 to_th_index_counter TYPE HASHED TABLE OF to_s_index_counter WITH UNIQUE KEY tabix INITIAL SIZE 0
Method Signatures

Method ADAPT_PLEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_ERROR Call by reference Type reference (TYPE) RS_BOOL Boolean 20121004
2 Importing I_AXIS Call by reference Type reference (TYPE) RSZAXIS Axis Description 20121004
3 Importing I_R_STL Call by reference Object reference (TYPE REF TO) CL_RSR_RRK0_STL_BASE Abstract superclass of a Subtotal Level in the OLAP 20121011

Method ADAPT_PLEVEL on class CL_RSR_RRK0_RESULT_SET_BASE has no exception.

Method CHECK_CONDITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HIGH Call by reference Type reference (TYPE) RSROA_DF 20120829
2 Importing I_LOW Call by reference Type reference (TYPE) RSROA_DF 20120829
3 Importing I_OPT Call by reference Type reference (TYPE) RSZ_OPERATOR 20120829
4 Importing I_VALUE Call by reference Type reference (TYPE) RSROA_DF 20120829
5 Returning R_VALID_COUNT Value transfer Type reference (TYPE) INT4 Natural number 20120829

Method CHECK_CONDITION on class CL_RSR_RRK0_RESULT_SET_BASE has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_QUERY_RUNTIME Call by reference Object reference (TYPE REF TO) CL_RSR_RRK0_QUERY_RUNTIME 20120829
2 Importing I_R_RESULT_SET_IDS Call by reference Object reference (TYPE REF TO) CL_RSR_RRK0_RESULT_SET_IDS Number Ranges shared by Result Sets 20121009

Method CONSTRUCTOR on class CL_RSR_RRK0_RESULT_SET_BASE has no exception.

Method GET_FIRST_STL_FOR_CHAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHANMID Call by reference Type reference (TYPE) RRCHANMID Internal ID of the CHANM 20121008
2 Returning R_R_SUBTOTAL_LEVEL Value transfer Object reference (TYPE REF TO) CL_RSR_RRK0_STL_BASE Abstract superclass of a Subtotal Level in the OLAP 20121008

Method GET_FIRST_STL_FOR_CHAR on class CL_RSR_RRK0_RESULT_SET_BASE has no exception.

Method GET_KYF_FROM_KID_AND_CELL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_S_CELL Call by reference Type reference (TYPE) RRO01_S_CELL 20121002
2 Importing I_S_KID Call by reference Type reference (TYPE) RRK0_S_KID 20121002
3 Returning R_S_KEY_FIGURE Value transfer Type reference (TYPE) TN_S_KEY_FIGURE 20121002

Method GET_KYF_FROM_KID_AND_CELL on class CL_RSR_RRK0_RESULT_SET_BASE has no exception.

Method GET_LAST_STL_FOR_CHAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHANMID Call by reference Type reference (TYPE) RRCHANMID Internal ID of the CHANM 20121005
2 Returning R_R_SUBTOTAL_LEVEL Value transfer Object reference (TYPE REF TO) CL_RSR_RRK0_STL_BASE Abstract superclass of a Subtotal Level in the OLAP 20121005

Method GET_LAST_STL_FOR_CHAR on class CL_RSR_RRK0_RESULT_SET_BASE has no exception.

Method GET_WANZ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TS_WANZ Call by reference Type reference (TYPE) RRSI_TS_SID SID (or Integer) Table 20120829
2 Importing I_S_KEY_FIGURE Call by reference Type reference (TYPE) TN_S_KEY_FIGURE 20121002
3 Importing I_TX_LRECH Call by reference Type reference (TYPE) RRO01_TX_LRECH Formulas 20120829
4 Importing I_T_SUMM Call by reference Type reference (TYPE) RRO01_T_SUMM 20120829

Method GET_WANZ on class CL_RSR_RRK0_RESULT_SET_BASE has no exception.

Method GET_WANZ_OF_LRECH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TS_WANZ Call by reference Type reference (TYPE) RRSI_TS_SID SID (or Integer) Table 20120829
2 Importing I_INDEX Call by reference Type reference (TYPE) I 20120829
3 Importing I_TX_LRECH Call by reference Type reference (TYPE) RRO01_TX_LRECH Formulas 20120829
4 Importing I_T_SUMM Call by reference Type reference (TYPE) RRO01_T_SUMM 20120829

Method GET_WANZ_OF_LRECH on class CL_RSR_RRK0_RESULT_SET_BASE has no exception.

Method GET_WANZ_OF_SUMM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TS_WANZ Call by reference Type reference (TYPE) RRSI_TS_SID SID (or Integer) Table 20120829
2 Importing I_HIGH Call by reference Type reference (TYPE) I 20120829
3 Importing I_LOW Call by reference Type reference (TYPE) I 20120829
4 Importing I_T_SUMM Call by reference Type reference (TYPE) RRO01_T_SUMM 20120829

Method GET_WANZ_OF_SUMM on class CL_RSR_RRK0_RESULT_SET_BASE has no exception.

Method RAISE_PLEVEL_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_ERROR Call by reference Type reference (TYPE) RS_BOOL Boolean 20121004

Method RAISE_PLEVEL_ERROR on class CL_RSR_RRK0_RESULT_SET_BASE has no exception.

Method SETUP_WGRS_IN_KEY_FIGURES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TSX_WGR Call by reference Type reference (TYPE) RRO01_TSX_WGR 20121002
2 Exporting E_ALL Call by reference Type reference (TYPE) RS_BOOL 20121002
3 Importing I_ANZ_KID Call by reference Type reference (TYPE) I 20121002
4 Importing I_TX_LRECH Call by reference Type reference (TYPE) RRO01_TX_LRECH 20121002
5 Importing I_T_SUMM Call by reference Type reference (TYPE) RRO01_T_SUMM 20121002

Method SETUP_WGRS_IN_KEY_FIGURES on class CL_RSR_RRK0_RESULT_SET_BASE has no exception.

Method SET_CHARACTERISTICS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SUMPOSIT Call by reference Type reference (TYPE) RRXSUMPOSIT RRX1_C_SUMPOSIT-TOP Query: Position of the results row 20121002
2 Importing I_TSX_CHAFREE Call by reference Type reference (TYPE) RRO01_TSX_CHAFREE 20121002
3 Importing I_TSX_LFH Call by reference Type reference (TYPE) RRKG_TSX_LFH Description of the List 20121002
4 Importing I_TS_AXES Call by reference Type reference (TYPE) RRK0_TS_AXES 20121002
# Exception Resumable Description Created on
1 CX_RSROA_EMPTY Empty Result 20121002

Method SET_KEY_FIGURES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SX_KID_SELECTION Call by reference Type reference (TYPE) RRK0_SX_KID_SELECTION 20121002
2 Importing I_TS_CELL Call by reference Type reference (TYPE) RRO01_TS_CELL 20121002

Method SET_KEY_FIGURES on class CL_RSR_RRK0_RESULT_SET_BASE has no exception.

Method SET_USED_BITS_IN_WGR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TSX_WGR Call by reference Type reference (TYPE) RRO01_TSX_WGR 20120829
2 Importing I_TS_WANZ Call by reference Type reference (TYPE) RRSI_TS_SID 20120829

Method SET_USED_BITS_IN_WGR on class CL_RSR_RRK0_RESULT_SET_BASE has no exception.

Method SORT_AXES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TS_AXES Call by reference Type reference (TYPE) RRK0_TS_AXES 20120829

Method SORT_AXES on class CL_RSR_RRK0_RESULT_SET_BASE has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740