SAP ABAP Class CL_RSR_RRK0_STL_SORT_NH_MULTI (Sorter for SubTotalLevel multiple Characteristic (w/o Hier))
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_NO_HIER Sorter for Subtotal Level without Hierarchy 20110628
Properties
Class CL_RSR_RRK0_STL_SORT_NH_MULTI  
Short Description Sorter for SubTotalLevel multiple Characteristic (w/o Hier)    
Super Class CL_RSR_RRK0_STL_SORT_NO_HIER Sorter for Subtotal Level without Hierarchy 
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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_RSR_RRK0_DATA_GET_TYPES 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 RRK0 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 RSR Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSR_RRK0_STL_SORT_NH_MULTI has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_RSR_RRK0_STL_SORT_NO_HIER 20110628 Sorter for Subtotal Level without Hierarchy
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 P_ANZ_SORT Instance attribute Private Type reference (TYPE) I number of characteristics to be sorted 20110628
2 P_C_GTABIX_SORT_SEC_KEY Constant Private Type reference (TYPE) ABAP_COMPNAME 'GTABIX_SORT_SEC_KEY' 20110629
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20110628
2 CREATE_TH_GTABIX Instance method Private Method 20110630
3 FILL_SORT_IN_THX_TABIX Instance method Private Method 20110629
4 FILL_THX_GTABIX Instance method Private Method 20110629
5 GET_MULTI_SORT_RESULT Instance method Private Method get result of sorting by multiple characteristics 20110629
6 GET_SIDS_OF_THX_GTABIX Instance method Private Method get the SIDs of THX_TABIX 20110629
7 MERGE_SINGLE_INTO_MUTLI_SORT Instance method Private Method merge sort result single char into result of multiple chars 20110629
8 MOVE_NOT_ASSIGNED_TO_LAST Instance method Private Method moves the "not assigned" (SID 0) to last place in sort order 20110630
9 SORT_BY_KEY_OR_TEXT_ONE_OF_MUL Instance method Private Method 20110629
10 SORT_BY_SELECTION Instance method Private Method 20110629
11 SORT_BY_SLICER Instance method Private Method 20110629
12 SORT_BY_VALUE Instance method Private Method sort by a key figure value 20110629
13 SORT_THX_TABIX_IN_DIR Instance method Private Method sorts THX_TABIX in given direction 20110629
Events
Class CL_RSR_RRK0_STL_SORT_NH_MULTI has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 PT_SX_GTABIX Private See coding 20110704 BEGIN OF pt_sx_gtabix, sid TYPE rssid, sort TYPE sytabix, gtabix TYPE rrsi_t_sid, END OF pt_sx_gtabix
2 PT_S_SORTF Private See coding 20110629 BEGIN OF pt_s_sortf, gtabix TYPE sytabix, sortf TYPE rsroa_df, END OF pt_s_sortf
3 PT_THX_GTABIX Private See coding 20110704 pt_thx_gtabix TYPE HASHED TABLE OF pt_sx_gtabix WITH UNIQUE KEY sid WITH NON-UNIQUE SORTED KEY sort COMPONENTS sort INITIAL SIZE 0
4 PT_T_SORTF Private See coding 20110629 pt_t_sortf TYPE STANDARD TABLE OF pt_s_sortf WITH KEY table_line WITH NON-UNIQUE SORTED KEY sortf COMPONENTS sortf 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_ANZ_SORT Call by reference Type reference (TYPE) I number of characteristics to be sorted 20110628
2 Importing I_R_QUERY_RUNTIME Call by reference Object reference (TYPE REF TO) CL_RSR_RRK0_QUERY_RUNTIME 20110628
3 Importing I_R_SUBTOTAL_LEVEL Call by reference Object reference (TYPE REF TO) CL_RSR_RRK0_SUBTOTAL_LEVEL 20120828
4 Importing I_R_T_SETXX Call by reference Object reference (TYPE REF TO) DATA 20110628

Method CONSTRUCTOR on class CL_RSR_RRK0_STL_SORT_NH_MULTI has no exception.

Method CREATE_TH_GTABIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_R_TH_GTABIX Call by reference Object reference (TYPE REF TO) DATA 20110630
2 Importing I_ANZ_SORT Call by reference Type reference (TYPE) I 20110630

Method CREATE_TH_GTABIX on class CL_RSR_RRK0_STL_SORT_NH_MULTI has no exception.

Method FILL_SORT_IN_THX_TABIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_THX_GTABIX Call by reference Type reference (TYPE) PT_THX_GTABIX 20110629
2 Importing I_NOLAST Call by reference Type reference (TYPE) RRNOLAST # soll nicht ans Ende sortiert werden 20110629
3 Importing I_T_SORTC Call by reference Type reference (TYPE) OT_T_SORTC 20110629

Method FILL_SORT_IN_THX_TABIX on class CL_RSR_RRK0_STL_SORT_NH_MULTI has no exception.

Method FILL_THX_GTABIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_THX_GTABIX Call by reference Type reference (TYPE) PT_THX_GTABIX 20110701
2 Importing I_FROM Call by reference Type reference (TYPE) SYTABIX Index interner Tabellen 20110701
3 Importing I_SID_IND Call by reference Type reference (TYPE) I 20110701
4 Importing I_TO Call by reference Type reference (TYPE) SYTABIX Index interner Tabellen 20110701

Method FILL_THX_GTABIX on class CL_RSR_RRK0_STL_SORT_NH_MULTI has no exception.

Method GET_MULTI_SORT_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TH_GTABIX Call by reference Type reference (TYPE) HASHED TABLE 20110630

Method GET_MULTI_SORT_RESULT on class CL_RSR_RRK0_STL_SORT_NH_MULTI has no exception.

Method GET_SIDS_OF_THX_GTABIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TS_SID Call by reference Type reference (TYPE) RRSI_TS_SID Tabelle von SID (bzw. Integers) 20110629
2 Importing I_THX_GTABIX Call by reference Type reference (TYPE) PT_THX_GTABIX 20110629

Method GET_SIDS_OF_THX_GTABIX on class CL_RSR_RRK0_STL_SORT_NH_MULTI has no exception.

Method MERGE_SINGLE_INTO_MUTLI_SORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TH_GTABIX Call by reference Type reference (TYPE) HASHED TABLE 20110630
2 Importing I_SINDEX Call by reference Type reference (TYPE) I 20110629
3 Importing I_THX_GTABIX Call by reference Type reference (TYPE) PT_THX_GTABIX 20110629
4 Importing I_T_SORTF Call by reference Type reference (TYPE) PT_T_SORTF 20110629

Method MERGE_SINGLE_INTO_MUTLI_SORT on class CL_RSR_RRK0_STL_SORT_NH_MULTI has no exception.

Method MOVE_NOT_ASSIGNED_TO_LAST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_THX_GTABIX Call by reference Type reference (TYPE) PT_THX_GTABIX 20110630

Method MOVE_NOT_ASSIGNED_TO_LAST on class CL_RSR_RRK0_STL_SORT_NH_MULTI has no exception.

Method SORT_BY_KEY_OR_TEXT_ONE_OF_MUL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_THX_GTABIX Call by reference Type reference (TYPE) PT_THX_GTABIX 20110630
2 Changing C_TS_SORTING Call by reference Type reference (TYPE) RRK0_TS_SORTING 20110630
3 Importing I_CHANMID Call by reference Type reference (TYPE) RSSID Stammdaten ID 20110629
4 Importing I_MOSTR Call by reference Type reference (TYPE) RS_BOOL Boolean 20110629
5 Importing I_SRDATE Call by reference Type reference (TYPE) RSR_SRDATE 20110629
6 Importing I_TSX_CHAFREE Call by reference Type reference (TYPE) RRO01_TSX_CHAFREE 20110629

Method SORT_BY_KEY_OR_TEXT_ONE_OF_MUL on class CL_RSR_RRK0_STL_SORT_NH_MULTI has no exception.

Method SORT_BY_SELECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_THX_GTABIX Call by reference Type reference (TYPE) PT_THX_GTABIX 20110629
2 Importing I_CHANMID Call by reference Type reference (TYPE) RRK_CHANMID 20110629
3 Importing I_DIR Call by reference Type reference (TYPE) RROSDIR Sortierrichtung 20110629

Method SORT_BY_SELECTION on class CL_RSR_RRK0_STL_SORT_NH_MULTI has no exception.

Method SORT_BY_SLICER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_THX_GTABIX Call by reference Type reference (TYPE) PT_THX_GTABIX 20110629
2 Importing I_DIR Call by reference Type reference (TYPE) RROSDIR Sortierrichtung 20110629
3 Importing I_TH_SID Call by reference Type reference (TYPE) RRSI_TH_SID Tabelle von SID (bzw. Integers) 20110629

Method SORT_BY_SLICER on class CL_RSR_RRK0_STL_SORT_NH_MULTI has no exception.

Method SORT_BY_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TS_SID Call by reference Type reference (TYPE) RRSI_TS_SID Tabelle von SID (bzw. Integers) 20110629
2 Exporting E_T_SORTF Call by reference Type reference (TYPE) PT_T_SORTF 20110629
3 Importing I_DIR Call by reference Type reference (TYPE) RROSDIR Sortierrichtung 20110629
4 Importing I_FROM Call by reference Type reference (TYPE) SYTABIX Index interner Tabellen 20110629
5 Importing I_KID Call by reference Type reference (TYPE) RSSID Stammdaten ID 20110629
6 Importing I_MORE Call by reference Type reference (TYPE) RS_BOOL Boolean 20110629
7 Importing I_SIDINT Call by reference Type reference (TYPE) I 20110630
8 Importing I_TH_DAT_N Call by reference Type reference (TYPE) RRX1_TH_DAT_N 20110629
9 Importing I_TO Call by reference Type reference (TYPE) SYTABIX Index interner Tabellen 20110629

Method SORT_BY_VALUE on class CL_RSR_RRK0_STL_SORT_NH_MULTI has no exception.

Method SORT_THX_TABIX_IN_DIR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_THX_GTABIX Call by reference Type reference (TYPE) PT_THX_GTABIX 20110629
2 Importing I_TS_SORTING Call by reference Type reference (TYPE) RRK0_TS_SORTING 20110630

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