SAP ABAP Class CL_RSR_RRK0_STL_SORT_HIER (Sorter for SubTotalLevel with Hierarchy)
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_STL_SORT Sorting on Subtotal Level 20110628
Properties
Class CL_RSR_RRK0_STL_SORT_HIER  
Short Description Sorter for SubTotalLevel with Hierarchy    
Super Class CL_RSR_RRK0_STL_SORT Sorting on Subtotal Level 
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSROA_RT   OLAP: Kernel Runtime 
Created 20110628   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_RSR_RRK0_DATA_GET_TYPES Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 CL_RSR_RRK0_RESULT_SET_BASE Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 RRK Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 RRSI Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSR_RRK0_STL_SORT_HIER has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_RSR_RRK0_STL_SORT 20110708 Sorting on Subtotal Level
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 P_C_SORT_INT Constant Private Type reference (TYPE) RSROA_DF '1E+7' DecFloat 20110630
2 P_C_SORT_REST Constant Private Type reference (TYPE) RSROA_DF '1E+4' DecFloat 20110630
3 P_R_S_DSTATE Instance attribute Private Object reference (TYPE REF TO) DATA Status of a hierarchy node with respect to tree structure 20110630
4 P_R_S_EXT Instance attribute Private Object reference (TYPE REF TO) RRK1_S_EXTEND 20110630
5 P_R_S_PARENT_SID Instance attribute Private Object reference (TYPE REF TO) DATA Pointer to the Parent SID Columns 20120924
6 P_R_S_SETX Instance attribute Private Object reference (TYPE REF TO) CL_RSR_RRK0_RESULT_SET=>TN_S_SETX 20110630
7 P_R_S_TLEVEL Instance attribute Private Object reference (TYPE REF TO) DATA 20110630
8 P_R_S_TLSHIFT Instance attribute Private Object reference (TYPE REF TO) DATA 20110630
9 P_R_T_PID Instance attribute Private Object reference (TYPE REF TO) CL_RSR_RRK0_RESULT_SET=>TN_T_PID 20110630
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20110628
2 DUPLICATE_DAT_N_LINES Instance method Private Method Duplicate entries in DAT_N (e.g. for non-unique hierarchies) 20121005
3 HANDLE_COND_LAST_CHAR_IN_DRILL Instance method Private Method handle condition on last character on drilldown 20110628
4 HANDLE_NON_UNIQUE Instance method Private Method handle non-unique hierarchy node/leaf 20110628
5 HANDLE_SPOC Instance method Private Method handling for Suppress Parent of One Child 20110628
6 SORT_INTERVAL Instance method Private Method sorts intervals in hierarchy 20110629
7 TH_SORTH_TO_SETK Instance method Private Method fill the SETX-fields based on TH_SORTH 20110628
Events
Class CL_RSR_RRK0_STL_SORT_HIER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 PT_S_SORTH Private See coding 20110704 BEGIN OF pt_s_sorth, pid TYPE rssid, succ TYPE rssid, dum TYPE i, pred TYPE rssid, tlevel TYPE rsrtlevel, tlshift TYPE rrtlshift, tabix TYPE i, ind TYPE i, anzc TYPE i, delta TYPE i, dstate TYPE rrxdrillstate, delc TYPE rs_bool, zero TYPE rs_bool, END OF pt_s_sorth
2 PT_TH_SORTH Private See coding 20110704 pt_th_sorth TYPE HASHED TABLE OF pt_s_sorth WITH UNIQUE KEY pid succ dum INITIAL SIZE 0
Method Signatures

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 20110628
2 Importing I_R_SUBTOTAL_LEVEL Call by reference Object reference (TYPE REF TO) CL_RSR_RRK0_SUBTOTAL_LEVEL 20120828
3 Importing I_R_T_PID Call by reference Object reference (TYPE REF TO) CL_RSR_RRK0_RESULT_SET=>TN_T_PID 20110629
4 Importing I_R_T_SETXX Call by reference Object reference (TYPE REF TO) DATA 20110708

Method CONSTRUCTOR on class CL_RSR_RRK0_STL_SORT_HIER has no exception.

Method DUPLICATE_DAT_N_LINES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TH_DAT_N Call by reference Type reference (TYPE) RRX1_TH_DAT_N 20121005
2 Importing I_TS_TUPLE Call by reference Type reference (TYPE) RSR_TS_RENUM Renumbering 20121005

Method DUPLICATE_DAT_N_LINES on class CL_RSR_RRK0_STL_SORT_HIER has no exception.

Method HANDLE_COND_LAST_CHAR_IN_DRILL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_CHARACTERISTIC_CONDID Call by reference Type reference (TYPE) CL_RSR_RRK0_RESULT_SET_BASE=>TN_SX_CHARACTERISTIC-CONDID 20121005
2 Changing C_CHARACTERISTIC_MSTATUS Call by reference Type reference (TYPE) CL_RSR_RRK0_RESULT_SET_BASE=>TN_SX_CHARACTERISTIC-MSTATUS 20121005
3 Changing C_THX_COND Call by reference Type reference (TYPE) CL_RSR_RRK0_ATTR_C=>TN_THX_COND 20110628
4 Changing C_TH_SORTH Call by reference Type reference (TYPE) PT_TH_SORTH 20110628
5 Changing C_TSX_CONDK Call by reference Type reference (TYPE) CL_RSR_RRK0_RESULT_SET=>TN_TSX_CONDK 20110628
6 Importing I_LAST_CALL Call by reference Type reference (TYPE) RS_BOOL Boolean 20110628
7 Importing I_SX_CHARACTERISTIC Call by reference Type reference (TYPE) CL_RSR_RRK0_RESULT_SET_BASE=>TN_SX_CHARACTERISTIC 20121005

Method HANDLE_COND_LAST_CHAR_IN_DRILL on class CL_RSR_RRK0_STL_SORT_HIER has no exception.

Method HANDLE_NON_UNIQUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_DSTATE Call by reference Type reference (TYPE) RRXDRILLSTATE Zustand eines Hierarchieknotens in Bezug auf Baumstruktur 20110628
2 Changing C_DUPL Call by reference Type reference (TYPE) RS_BOOL Boolean 20110628
3 Changing C_PARENT_SID Call by reference Type reference (TYPE) RSSID Stammdaten ID 20120924
4 Changing C_S_MEM Call by reference Type reference (TYPE) RRHI_S_MEMBER Objekt einer Hierarchie 20110628
5 Changing C_THX_CHARACTERISTIC_DUPL Call by reference Type reference (TYPE) CL_RSR_RRK0_RESULT_SET_BASE=>TN_SX_CHARACTERISTIC-DUPL 20121005
6 Changing C_TH_SORTH Call by reference Type reference (TYPE) PT_TH_SORTH 20110628
7 Changing C_TLEVEL Call by reference Type reference (TYPE) RSRTLEVEL Level eines Hierarchknotens (als Integer) 20110628
8 Changing C_TLSHIFT Call by reference Type reference (TYPE) RRTLSHIFT Verschiebung des Anzeigelevels 20110628
9 Changing C_TS_TUPLE Call by reference Type reference (TYPE) RSR_TS_RENUM Umnummerierung 20110628
10 Importing I_DUPLICATE_DAT_N Call by reference Type reference (TYPE) RS_BOOL Boolean 20120217
11 Importing I_MORE_AXES Call by reference Type reference (TYPE) RS_BOOL Boolean 20110628
12 Importing I_R_S_SETXX Call by reference Object reference (TYPE REF TO) DATA 20110708
13 Importing I_SORT_INT Call by reference Type reference (TYPE) RSROA_DF DecFloat 20110628
14 Importing I_SX_CHARACTERISTIC Call by reference Type reference (TYPE) CL_RSR_RRK0_RESULT_SET_BASE=>TN_SX_CHARACTERISTIC 20121005
15 Importing I_TABIX Call by reference Type reference (TYPE) SYTABIX Index interner Tabellen 20110628
16 Importing I_T_MEM Call by reference Type reference (TYPE) RRHI_T_MEMBER Objekte einer Hierarchie 20110628

Method HANDLE_NON_UNIQUE on class CL_RSR_RRK0_STL_SORT_HIER has no exception.

Method HANDLE_SPOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_THX_COND Call by reference Type reference (TYPE) CL_RSR_RRK0_ATTR_C=>TN_THX_COND 20110628
2 Importing I_CHANMID Call by reference Type reference (TYPE) RRK_CHANMID 20110628
3 Importing I_TH_SORTH Call by reference Type reference (TYPE) PT_TH_SORTH 20110628

Method HANDLE_SPOC on class CL_RSR_RRK0_STL_SORT_HIER has no exception.

Method SORT_INTERVAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TH_INDEX Call by reference Type reference (TYPE) RRSI_TH_SIDINT 20110629
2 Importing I_SX_CHARACTERISTIC Call by reference Type reference (TYPE) CL_RSR_RRK0_RESULT_SET_BASE=>TN_SX_CHARACTERISTIC 20121005

Method SORT_INTERVAL on class CL_RSR_RRK0_STL_SORT_HIER has no exception.

Method TH_SORTH_TO_SETK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_CHARACTERISTIC_CONDID Call by reference Type reference (TYPE) CL_RSR_RRK0_RESULT_SET_BASE=>TN_SX_CHARACTERISTIC-CONDID 20121005
2 Changing C_CHARACTERISTIC_HSTATUS Call by reference Type reference (TYPE) CL_RSR_RRK0_RESULT_SET_BASE=>TN_SX_CHARACTERISTIC-HSTATUS 20121005
3 Changing C_CHARACTERISTIC_MSTATUS Call by reference Type reference (TYPE) CL_RSR_RRK0_RESULT_SET_BASE=>TN_SX_CHARACTERISTIC-MSTATUS 20121005
4 Changing C_THX_COND Call by reference Type reference (TYPE) CL_RSR_RRK0_ATTR_C=>TN_THX_COND 20110628
5 Changing C_TH_SORTH Call by reference Type reference (TYPE) PT_TH_SORTH 20110628
6 Changing C_TSX_CONDK Call by reference Type reference (TYPE) CL_RSR_RRK0_RESULT_SET=>TN_TSX_CONDK 20110628
7 Importing I_LAST_CALL Call by reference Type reference (TYPE) RS_BOOL Boolean 20110628
8 Importing I_MORE_AXES Call by reference Type reference (TYPE) RS_BOOL Boolean 20110628
9 Importing I_SX_CHARACTERISTIC Call by reference Type reference (TYPE) CL_RSR_RRK0_RESULT_SET_BASE=>TN_SX_CHARACTERISTIC 20121005

Method TH_SORTH_TO_SETK on class CL_RSR_RRK0_STL_SORT_HIER has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 740