SAP ABAP Class CL_SALV_BS_NEW_SORT (new sort service (not based on SLIS))
Hierarchy
SAP_UI (Software Component) User Interface Technology
   BC-WD-CMP-ALV-ABA (Application Component) Web Dynpro ALV for ABAP
     SALV_BS_SERVICE (Package) Service
Properties
Class CL_SALV_BS_NEW_SORT  
Short Description new sort service (not based on SLIS)    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SALV_BS_SERVICE   Service 
Created 20101227   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_SALV_BS_SORT Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_SALV_BS_NEW_SORT has no interface implemented.
Friends
Class CL_SALV_BS_NEW_SORT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CS_COMPNAME Constant Protected See coding 20101229
2 CS_MAPPING_TYPE Constant Public See coding 20101229
3 MO_SRC_STRUCTDESCR Instance attribute Protected Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20101227
4 MRS_AUX_WA Instance attribute Protected Object reference (TYPE REF TO) DATA work area for aux table 20101227
5 MRS_SRC_SAMPLE Instance attribute Protected Object reference (TYPE REF TO) DATA sample of a src data row 20101227
6 MRT_AUX Instance attribute Protected Object reference (TYPE REF TO) DATA auxiliary table for sorting 20101227
7 MRT_SRC Instance attribute Protected Object reference (TYPE REF TO) DATA 20101229
8 MS_STATE Instance attribute Protected Type reference (TYPE) YS_EXECUTION_STATE 20101227
9 MT_ASO_AUX Instance attribute Protected Type reference (TYPE) ABAP_SORTORDER_TAB sortorder for sort on AUX table 20101229
10 MT_ASO_SRC Instance attribute Protected Type reference (TYPE) ABAP_SORTORDER_TAB sortorder for sort on SRC table 20101229
11 MT_RULE_INTERNAL Instance attribute Protected Type reference (TYPE) YT_RULE_INTERNAL 20101227
12 M_COMPIDX_AUX Instance attribute Protected Type reference (TYPE) I 20101227
13 M_COMPIDX_SRC Instance attribute Protected Type reference (TYPE) I 20101227
14 M_FORCE_MAPPING_TYPE Instance attribute Protected Type reference (TYPE) Y_MAPPING_TYPE 20101229
Methods
# Method Level Visibility Method type Description Created on
1 APPLY_TO_SOURCE Instance method Public Method applies sort order to source table 20101227
2 CALCULATE_TABIX_MAP Instance method Protected Method maps line indexes (foward and/or backward) 20101227
3 CONVERT_RULES_TO_ASO Instance method Protected Method convert internal rules to ABAP sortorder 20101228
4 CONVERT_RULES_TO_INTERNAL Instance method Protected Method 20101227
5 CREATE Static method Public Method constructor 20101227
6 CREATE_AUX_STRUCT Instance method Protected Method 20101227
7 CREATE_AUX_TABLE Instance method Protected Method 20101227
8 DETERMINE_MAPPING_TYPE Instance method Protected Method determine mapping type by heuristic 20101229
9 MAP_BY_IDX_MAP Instance method Protected Method 20101229
10 MAP_BY_IDX_SEARCH Instance method Protected Method 20101229
11 MAP_BY_REF_MAP_GET_REFS Instance method Protected Method 20101229
12 MAP_BY_REF_MAP_MAP Instance method Protected Method 20101229
13 MAP_BY_REF_SEARCH_GET_REFS Instance method Protected Method 20101229
14 MAP_BY_REF_SEARCH_MAP Instance method Protected Method 20101229
15 SORT Instance method Protected Method 20101228
16 TRANSFER_AUX_SORT_TO_SOURCE Instance method Protected Method applies sort order to source table 20101228
Events
Class CL_SALV_BS_NEW_SORT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YR_DATA Protected Object reference (TYPE REF TO) DATA 20101229
2 YS_EXECUTION_STATE Protected See coding 20101227 begin of ys_execution_state, aux_table_ready type abap_bool, end of ys_execution_state
3 YS_REF_POS Protected See coding 20101229 begin of ys_ref_pos, ref type yr_data, fix_pos type sytabix, end of ys_ref_pos
4 YS_RULE_INTERNAL Protected See coding 20101227 begin of ys_rule_internal, abap_sortorder type abap_sortorder, external type abap_bool, outputlen type i, end of ys_rule_internal
5 YTH_REF_POS Protected See coding 20101229 yth_ref_pos type hashed table of ys_ref_pos with unique key ref
6 YT_FIELD_PATH Protected See coding 20101227 yt_field_path type standard table of y_field_path
7 YT_RULE_INTERNAL Protected See coding 20101227 yt_rule_internal type standard table of ys_rule_internal with default key
8 YT_R_DATA Protected See coding 20101229 YT_R_DATA type standard table of yr_data with key table_line
9 YT_TABIX Public See coding 20101227 yt_tabix type standard table of sytabix with key table_line
10 Y_FIELD_PATH Protected Type reference (TYPE) STRING 20101227
11 Y_MAPPING_TYPE Public See coding 20101229 Y_MAPPING_TYPE type C length 2
Method Signatures

Method APPLY_TO_SOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_TABLE_TO_FIX Call by reference Type reference (TYPE) INDEX TABLE 20101228
2 Importing I_COMPINDEX_TO_FIX Call by reference Type reference (TYPE) I 20101228
3 Importing I_FIX_INDEXES_IN_TABLE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20101228

Method APPLY_TO_SOURCE on class CL_SALV_BS_NEW_SORT has no exception.

Method CALCULATE_TABIX_MAP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OLD_TO_NEW Call by reference Type reference (TYPE) YT_TABIX 20101227

Method CALCULATE_TABIX_MAP on class CL_SALV_BS_NEW_SORT has no exception.

Method CONVERT_RULES_TO_ASO Signature

Method CONVERT_RULES_TO_ASO on class CL_SALV_BS_NEW_SORT has no parameter.
Method CONVERT_RULES_TO_ASO on class CL_SALV_BS_NEW_SORT has no exception.

Method CONVERT_RULES_TO_INTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RULE_INTERNAL Call by reference Type reference (TYPE) YT_RULE_INTERNAL 20101227
2 Importing IT_RULE Call by reference Type reference (TYPE) CL_SALV_BS_SORT=>T_TYPE_SORT 20101227

Method CONVERT_RULES_TO_INTERNAL on class CL_SALV_BS_NEW_SORT has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IRT_SOURCE Call by reference Object reference (TYPE REF TO) DATA source data table (to be sorted) 20101227
2 Importing IT_RULE Call by reference Type reference (TYPE) CL_SALV_BS_SORT=>T_TYPE_SORT 20101227
3 Importing I_FORCE_MAPPING_TYPE Call by reference Type reference (TYPE) Y_MAPPING_TYPE use only for testing! 20101229
4 Returning RO_SERVICE Value transfer Object reference (TYPE REF TO) CL_SALV_BS_NEW_SORT new sort service (not based on SLIS) 20101227

Method CREATE on class CL_SALV_BS_NEW_SORT has no exception.

Method CREATE_AUX_STRUCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_STRUCTDESCR Value transfer Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20101227

Method CREATE_AUX_STRUCT on class CL_SALV_BS_NEW_SORT has no exception.

Method CREATE_AUX_TABLE Signature

Method CREATE_AUX_TABLE on class CL_SALV_BS_NEW_SORT has no parameter.
Method CREATE_AUX_TABLE on class CL_SALV_BS_NEW_SORT has no exception.

Method DETERMINE_MAPPING_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TABLE_TO_FIX Call by reference Type reference (TYPE) INDEX TABLE 20101229
2 Importing I_COMPINDEX_TO_FIX Call by reference Type reference (TYPE) I 20101229
3 Importing I_FIX_INDEXES_IN_TABLE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20101229
4 Returning R_MAPPING_TYPE Value transfer Type reference (TYPE) Y_MAPPING_TYPE 20101229

Method DETERMINE_MAPPING_TYPE on class CL_SALV_BS_NEW_SORT has no exception.

Method MAP_BY_IDX_MAP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_TABLE_TO_FIX Call by reference Type reference (TYPE) INDEX TABLE 20101229
2 Importing I_COMPINDEX_TO_FIX Call by reference Type reference (TYPE) I 20101229

Method MAP_BY_IDX_MAP on class CL_SALV_BS_NEW_SORT has no exception.

Method MAP_BY_IDX_SEARCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_TABLE_TO_FIX Call by reference Type reference (TYPE) INDEX TABLE 20101229
2 Importing I_COMPINDEX_TO_FIX Call by reference Type reference (TYPE) I 20101229

Method MAP_BY_IDX_SEARCH on class CL_SALV_BS_NEW_SORT has no exception.

Method MAP_BY_REF_MAP_GET_REFS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETH_REF_POS Call by reference Type reference (TYPE) YTH_REF_POS 20101229
2 Importing IT_TABLE_TO_FIX Call by reference Type reference (TYPE) INDEX TABLE 20101229
3 Importing I_COMPINDEX_TO_FIX Call by reference Type reference (TYPE) I 20101229

Method MAP_BY_REF_MAP_GET_REFS on class CL_SALV_BS_NEW_SORT has no exception.

Method MAP_BY_REF_MAP_MAP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_TABLE_TO_FIX Call by reference Type reference (TYPE) INDEX TABLE 20101229
2 Importing ITH_REF_POS Call by reference Type reference (TYPE) YTH_REF_POS 20101229
3 Importing I_COMPINDEX_TO_FIX Call by reference Type reference (TYPE) I 20101229

Method MAP_BY_REF_MAP_MAP on class CL_SALV_BS_NEW_SORT has no exception.

Method MAP_BY_REF_SEARCH_GET_REFS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_REFERENCE Call by reference Type reference (TYPE) YT_R_DATA 20101229
2 Importing IT_TABLE_TO_FIX Call by reference Type reference (TYPE) INDEX TABLE 20101229
3 Importing I_COMPINDEX_TO_FIX Call by reference Type reference (TYPE) I 20101229

Method MAP_BY_REF_SEARCH_GET_REFS on class CL_SALV_BS_NEW_SORT has no exception.

Method MAP_BY_REF_SEARCH_MAP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_TABLE_TO_FIX Call by reference Type reference (TYPE) INDEX TABLE 20101229
2 Importing IT_REFERENCE Call by reference Type reference (TYPE) YT_R_DATA 20101229
3 Importing I_COMPINDEX_TO_FIX Call by reference Type reference (TYPE) I 20101229

Method MAP_BY_REF_SEARCH_MAP on class CL_SALV_BS_NEW_SORT has no exception.

Method SORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NEED_T_AUX Call by reference Type reference (TYPE) ABAP_BOOL 20101229

Method SORT on class CL_SALV_BS_NEW_SORT has no exception.

Method TRANSFER_AUX_SORT_TO_SOURCE Signature

Method TRANSFER_AUX_SORT_TO_SOURCE on class CL_SALV_BS_NEW_SORT has no parameter.
Method TRANSFER_AUX_SORT_TO_SOURCE on class CL_SALV_BS_NEW_SORT has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 703