SAP ABAP Class CL_RSR_RRK0_STL_SORT (Sorting on Subtotal Level)
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 20110628
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_RSR_RRK0_STL_SORT_HIER Sorter for SubTotalLevel with Hierarchy 20110628
2 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  
Short Description Sorting on Subtotal Level    
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 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 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 RRSI Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
7 RRX1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
8 RSR Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSR_RRK0_STL_SORT has no interface implemented.
Friends
Class CL_RSR_RRK0_STL_SORT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 N_R_SUBTOTAL_LEVEL Instance attribute Public Object reference (TYPE REF TO) CL_RSR_RRK0_SUBTOTAL_LEVEL 20120828
2 O_C_HIGH Constant Protected Type reference (TYPE) RSROA_DF '1E+250' DecFloat 20110628
3 O_R_S_SETK Instance attribute Protected Object reference (TYPE REF TO) CL_RSR_RRK0_RESULT_SET=>TN_S_SETK 20110628
4 O_R_S_SETXX Instance attribute Protected Object reference (TYPE REF TO) DATA 20110628
5 O_R_S_SID Instance attribute Protected Object reference (TYPE REF TO) DATA 20110628
6 O_R_TUPLE_ID Instance attribute Protected Object reference (TYPE REF TO) RRTUPLEID ID in SETXX 20110628
7 O_R_T_SETXX Instance attribute Protected Object reference (TYPE REF TO) DATA 20110708
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_REQUEST_FOR_KEY_OR_TEXT Instance method Protected Method 20110628
2 CHECK_COND Instance method Protected Method 20110628
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20110628
4 FILL_COND Instance method Protected Method 20110628
5 GET_INSTANCE Static method Public Method factory method: returns an instance of the class 20110628
6 GET_SORTC Instance method Protected Method 20110628
7 GET_SORTC_FOR_SLICER Instance method Private Method 20110628
8 GET_SORTF_FOR_VALUE Instance method Protected Method get sort value for sorting by keyfigure value 20110629
9 GET_S_SORTING Instance method Protected Method 20110701
10 GET_TH_INDEX_FOR_SORTC Instance method Private Method 20110628
11 SORT Instance method Public Method 20110629
12 SORT_BY_KEY_OR_TEXT Instance method Protected Method 20110628
Events
Class CL_RSR_RRK0_STL_SORT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 OT_S_SORTC Protected See coding 20110628 BEGIN OF ot_s_sortc, sid TYPE rssid, sortc TYPE string, sortf TYPE rsroa_df, sortc_2 TYPE string, END OF ot_s_sortc
2 OT_T_SORTC Protected See coding 20110628 ot_t_sortc TYPE STANDARD TABLE OF ot_s_sortc WITH KEY table_line INITIAL SIZE 0
Method Signatures

Method BUILD_REQUEST_FOR_KEY_OR_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TS_SORTING Call by reference Type reference (TYPE) RRK0_TS_SORTING 20110630
2 Exporting E_NOLAST Call by reference Type reference (TYPE) RRNOLAST # soll nicht ans Ende sortiert werden 20110628
3 Exporting E_SIDMONFL Call by reference Type reference (TYPE) RS_BOOL Boolean 20110628
4 Exporting E_TH_CHAPRSNT Call by reference Type reference (TYPE) RSDM_TH_CHAPRSNT Darstellung 20110628
5 Importing I_CHANMID Call by reference Type reference (TYPE) RRK_CHANMID 20110628
6 Importing I_TSX_CHAFREE Call by reference Type reference (TYPE) RRO01_TSX_CHAFREE 20110628

Method BUILD_REQUEST_FOR_KEY_OR_TEXT on class CL_RSR_RRK0_STL_SORT has no exception.

Method CHECK_COND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_MSTATUS Call by reference Type reference (TYPE) RS_BOOL Boolean 20110628
2 Changing C_THX_COND Call by reference Type reference (TYPE) CL_RSR_RRK0_ATTR_C=>TN_THX_COND 20110628
3 Exporting E_R_TS_SID Call by reference Object reference (TYPE REF TO) RRSI_TS_SID Tabelle von SID (bzw. Integers) 20110628
4 Importing I_CHANMID Call by reference Type reference (TYPE) RRK_CHANMID 20110628
5 Importing I_CONDID Call by reference Type reference (TYPE) I 20110628
6 Importing I_TSX_CONDK Call by reference Type reference (TYPE) CL_RSR_RRK0_RESULT_SET=>TN_TSX_CONDK 20110628

Method CHECK_COND on class CL_RSR_RRK0_STL_SORT 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 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_SETXX Call by reference Object reference (TYPE REF TO) DATA 20110708

Method CONSTRUCTOR on class CL_RSR_RRK0_STL_SORT has no exception.

Method FILL_COND 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 Exporting E_R_TS_SID Call by reference Object reference (TYPE REF TO) RRSI_TS_SID Tabelle von SID (bzw. Integers) 20110628
3 Importing I_CHANMID Call by reference Type reference (TYPE) RRK_CHANMID 20110628

Method FILL_COND on class CL_RSR_RRK0_STL_SORT has no exception.

Method GET_INSTANCE 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
5 Importing I_SX_CHARACTERISTIC Call by reference Type reference (TYPE) CL_RSR_RRK0_RESULT_SET_BASE=>TN_SX_CHARACTERISTIC 20121005
6 Returning R_R_STL_SORT Value transfer Object reference (TYPE REF TO) CL_RSR_RRK0_STL_SORT Sorting on SubTotalLevel 20110628

Method GET_INSTANCE on class CL_RSR_RRK0_STL_SORT has no exception.

Method GET_SORTC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_NOLAST Call by reference Type reference (TYPE) RRNOLAST # soll nicht ans Ende sortiert werden 20110628
2 Exporting E_T_SORTC Call by reference Type reference (TYPE) OT_T_SORTC 20110628
3 Importing I_CHANMID Call by reference Type reference (TYPE) RRK_CHANMID 20110628
4 Importing I_HSTATUS Call by reference Type reference (TYPE) RSR_STATUS Zustand von irgendwas 20110628
5 Importing I_TS_SID Call by reference Type reference (TYPE) RRSI_TS_SID Tabelle von SID (bzw. Integers) 20110628
6 Importing I_TS_SORTING Call by reference Type reference (TYPE) RRK0_TS_SORTING 20110630

Method GET_SORTC on class CL_RSR_RRK0_STL_SORT has no exception.

Method GET_SORTC_FOR_SLICER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_SORTC Call by reference Type reference (TYPE) OT_T_SORTC 20110628
2 Importing I_TH_SIDC Call by reference Type reference (TYPE) RSR_TH_SID SIDs in order of slicer 20110628
3 Importing I_TS_SIDS Call by reference Type reference (TYPE) RRSI_TS_SID SIDs to be sorted 20110628

Method GET_SORTC_FOR_SLICER on class CL_RSR_RRK0_STL_SORT has no exception.

Method GET_SORTF_FOR_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SORTF Call by reference Type reference (TYPE) RSROA_DF DecFloat 20110629
2 Importing I_DIR Call by reference Type reference (TYPE) RROSDIR Sortierrichtung 20110629
3 Importing I_KID Call by reference Type reference (TYPE) RSSID Stammdaten ID 20110629
4 Importing I_TH_DAT_N Call by reference Type reference (TYPE) RRX1_TH_DAT_N 20110629

Method GET_SORTF_FOR_VALUE on class CL_RSR_RRK0_STL_SORT has no exception.

Method GET_S_SORTING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_S_SORTING Call by reference Type reference (TYPE) RRK0_S_SORTING 20110701
2 Importing I_CHANMID Call by reference Type reference (TYPE) RRK_CHANMID 20110701
3 Importing I_TS_SORTING Call by reference Type reference (TYPE) RRK0_TS_SORTING 20110701

Method GET_S_SORTING on class CL_RSR_RRK0_STL_SORT has no exception.

Method GET_TH_INDEX_FOR_SORTC 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 20110628
2 Importing I_NOLAST Call by reference Type reference (TYPE) RRNOLAST # soll nicht ans Ende sortiert werden 20110628
3 Importing I_T_SORTC Call by reference Type reference (TYPE) OT_T_SORTC 20110628

Method GET_TH_INDEX_FOR_SORTC on class CL_RSR_RRK0_STL_SORT has no exception.

Method SORT 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_S_RESULT_SET_SETTINGS Call by reference Type reference (TYPE) CL_RSR_RRK0_RESULT_SET=>TN_S_RESULT_SET_SETTINGS 20121002
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_THX_COND Call by reference Type reference (TYPE) CL_RSR_RRK0_ATTR_C=>TN_THX_COND 20110629
7 Changing C_TH_DAT_N Call by reference Type reference (TYPE) RRX1_TH_DAT_N 20110629
8 Changing C_TSX_CONDK Call by reference Type reference (TYPE) CL_RSR_RRK0_RESULT_SET=>TN_TSX_CONDK 20110629
9 Changing C_TSX_SORTK Call by reference Type reference (TYPE) CL_RSR_RRK0_RESULT_SET=>TN_TSX_SORTK 20110630
10 Importing I_SX_CHARACTERISTIC Call by reference Type reference (TYPE) CL_RSR_RRK0_RESULT_SET_BASE=>TN_SX_CHARACTERISTIC 20121005
11 Importing I_S_STL_SETTINGS Call by reference Type reference (TYPE) CL_RSR_RRK0_SUBTOTAL_LEVEL=>TN_S_STL_SETTINGS 20121002

Method SORT on class CL_RSR_RRK0_STL_SORT has no exception.

Method SORT_BY_KEY_OR_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TS_SORTING Call by reference Type reference (TYPE) RRK0_TS_SORTING 20110630
2 Exporting E_TH_INDEX Call by reference Type reference (TYPE) RRSI_TH_SIDINT 20110628
3 Exporting E_TS_SID Call by reference Type reference (TYPE) RRSI_TS_SID Tabelle von SID (bzw. Integers) 20110630
4 Importing I_MOSTR Call by reference Type reference (TYPE) RS_BOOL Boolean 20110628
5 Importing I_SORT Call by reference Type reference (TYPE) RS_BOOL Boolean 20110628
6 Importing I_SRDATE Call by reference Type reference (TYPE) RSR_SRDATE 20110628
7 Importing I_SX_CHARACTERISTIC Call by reference Type reference (TYPE) CL_RSR_RRK0_RESULT_SET_BASE=>TN_SX_CHARACTERISTIC 20121005
8 Importing I_S_HIEDIR Call by reference Type reference (TYPE) RSRHIEDIR_OLAP OLAP-relevante Information zu den Hierarchien 20110628
9 Importing I_TSX_CHAFREE Call by reference Type reference (TYPE) RRO01_TSX_CHAFREE 20110628

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