SAP ABAP Class CL_SALV_CSL_UTILS (Utilities (only static methods available))
Hierarchy
SAP_UI (Software Component) User Interface Technology
   BC-WD-CMP-ALV-ABA (Application Component) Web Dynpro ALV for ABAP
     SALV_CSL (Package) Service Framework
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_SALV_CSL_BASE Base class for consumer services 20080629
Properties
Class CL_SALV_CSL_UTILS  
Short Description Utilities (only static methods available)    
Super Class CL_SALV_CSL_BASE Base class for consumer services 
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SALV_CSL   Service Framework 
Created 20080629   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_ABAP_STRUCTDESCR Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 IF_SALV_CSZ_API Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_SALV_CSL_UTILS has no interface implemented.
Friends
Class CL_SALV_CSL_UTILS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_INDEX_FIELD_PREFIX Constant Public Type reference (TYPE) STRING '_ALV_IDX_' 20080629
2 C_SEARCH_STEP Constant Private Type reference (TYPE) Y_SIZE 50 20080806
3 PTS_SUBSTRUCTURES Static Attribute Private Type reference (TYPE) YTS_SUBSTRUCTURE 20080814
4 T_SELECTION_EMPTY Static Attribute Public Type reference (TYPE) YT_INDEX_RANGE 20080629
5 T_SELECTION_FOR_COMPLETE_DATA Static Attribute Public Type reference (TYPE) YT_INDEX_RANGE 20080629
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor 20080629
2 CONDENSE_RANGES Static method Public Method 20080806
3 GET_ATTRIBUTES_TREE Static method Private Method 20080805
4 GET_COMPLEMENT_RANGES Static method Public Method 20080629
5 GET_DATA_FOR_SELECTION Static method Public Method 20080629
6 GET_FIELDS_AS_STRING Static method Public Method 20080629
7 GET_FIRST_INDEX_FROM_RANGES Static method Public Method 20080629
8 GET_INDEXES_AS_RANGES Static method Public Method 20080629
9 GET_INDEX_AS_RANGES Static method Public Method 20080629
10 GET_INNER_RNG_FROM_OUTER_RNG Static method Public Method 20080806
11 GET_OUTER_RNG_FROM_INNER_RNG Static method Public Method 20080806
12 GET_RANGES_AS_INDEXES Static method Public Method 20080629
13 GET_RANGES_FOR_SELECTION Static method Public Method 20080629
14 GET_SELECTION_FOR_SORTED_KEYS Static method Public Method 20080629
15 GET_SELECTION_SIZE Static method Public Method 20080629
16 GET_STRUCTURE_COMPONENTS Static method Private Method 20080814
17 GET_SUBSTRUCTURE Static method Public Method 20080814
18 GET_SUBSTRUCTURE_FROM_TREE Static method Private Method 20080814
19 IS_SELECTION_EMPTY Static method Public Method 20080629
20 IS_SELECTION_FOR_COMPLETE_DATA Static method Public Method 20080629
21 MERGE_RANGE_TABLES Static method Public Method merges one range table into another 20100602
22 REFERENCED_DATA_IS_INITIAL Static method Public Method 20080629
Events
Class CL_SALV_CSL_UTILS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_ATTRIBUTE_NODE Public See coding 20080814 begin of ys_attribute_node, name type y_field_name, r_attributes type ref to data, " recursion END OF ys_attribute_node
2 YS_SUBSTRUCTURE Private See coding 20080814 begin of ys_substructure, orig_structure_name type string, field_names type y_field_name, substructure type ref to CL_ABAP_STRUCTDESCR, END OF ys_substructure
3 YTS_ATTRIBUTE_TREE Public See coding 20080814 yts_attribute_tree type sorted table of ys_attribute_node with UNIQUE key name
4 YTS_SUBSTRUCTURE Private See coding 20080814 yts_substructure type SORTED TABLE OF ys_substructure with UNIQUE key orig_structure_name field_names
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_SALV_CSL_UTILS has no parameter.
Method CLASS_CONSTRUCTOR on class CL_SALV_CSL_UTILS has no exception.

Method CONDENSE_RANGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing T_RANGES Call by reference Type reference (TYPE) YT_INDEX_RANGE 20080806

Method CONDENSE_RANGES on class CL_SALV_CSL_UTILS has no exception.

Method GET_ATTRIBUTES_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning T_ATTRIBUTE_TREE Value transfer Type reference (TYPE) YTS_ATTRIBUTE_TREE 20080814
2 Importing T_FIELD_NAMES Call by reference Type reference (TYPE) YT_FIELD_NAME 20080814

Method GET_ATTRIBUTES_TREE on class CL_SALV_CSL_UTILS has no exception.

Method GET_COMPLEMENT_RANGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TABLE_SIZE Call by reference Type reference (TYPE) Y_SIZE 20080629
2 Exporting T_COMPLEMENT_RANGE Call by reference Type reference (TYPE) YT_INDEX_RANGE 20080629
3 Importing T_RANGE Call by reference Type reference (TYPE) YT_INDEX_RANGE 20080629

Method GET_COMPLEMENT_RANGES on class CL_SALV_CSL_UTILS has no exception.

Method GET_DATA_FOR_SELECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIRST_TABLE_ROW_INDEX Call by reference Type reference (TYPE) Y_INDEX 1 20080629
2 Importing TI_DATA Call by reference Type reference (TYPE) INDEX TABLE 20080629
3 Exporting TI_SUBSET Call by reference Type reference (TYPE) INDEX TABLE 20080629
4 Importing T_SELECTION Call by reference Type reference (TYPE) YT_INDEX_RANGE 20080629

Method GET_DATA_FOR_SELECTION on class CL_SALV_CSL_UTILS has no exception.

Method GET_FIELDS_AS_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ID Value transfer Type reference (TYPE) STRING 20080629
2 Importing IS_RECORD Call by reference Type reference (TYPE) ANY 20080629
3 Importing IT_FIELDS Call by reference Type reference (TYPE) YT_FIELD_NAME_INDEX 20080629

Method GET_FIELDS_AS_STRING on class CL_SALV_CSL_UTILS has no exception.

Method GET_FIRST_INDEX_FROM_RANGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing T_RANGE Call by reference Type reference (TYPE) YT_INDEX_RANGE 20080629
2 Returning VALUE Value transfer Type reference (TYPE) Y_INDEX 20080629

Method GET_FIRST_INDEX_FROM_RANGES on class CL_SALV_CSL_UTILS has no exception.

Method GET_INDEXES_AS_RANGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing T_INDEX Call by reference Type reference (TYPE) YT_INDEX 20080629
2 Exporting T_RANGE Call by reference Type reference (TYPE) YT_INDEX_RANGE 20080629

Method GET_INDEXES_AS_RANGES on class CL_SALV_CSL_UTILS has no exception.

Method GET_INDEX_AS_RANGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INDEX Value transfer Type reference (TYPE) Y_INDEX 20080629
2 Returning T_RANGE Value transfer Type reference (TYPE) YT_INDEX_RANGE 20080629

Method GET_INDEX_AS_RANGES on class CL_SALV_CSL_UTILS has no exception.

Method GET_INNER_RNG_FROM_OUTER_RNG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting T_INNER_RANGES Call by reference Type reference (TYPE) YT_INDEX_RANGE 20080806
2 Importing T_OUTER_RANGES Call by reference Type reference (TYPE) YT_INDEX_RANGE 20080806
3 Importing T_RANGE_MAP Call by reference Type reference (TYPE) YT_RANGE_MAP 20080806

Method GET_INNER_RNG_FROM_OUTER_RNG on class CL_SALV_CSL_UTILS has no exception.

Method GET_OUTER_RNG_FROM_INNER_RNG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing T_INNER_RANGES Call by reference Type reference (TYPE) YT_INDEX_RANGE 20080806
2 Exporting T_OUTER_RANGES Call by reference Type reference (TYPE) YT_INDEX_RANGE 20080806
3 Importing T_RANGE_MAP Call by reference Type reference (TYPE) YT_RANGE_MAP 20080806

Method GET_OUTER_RNG_FROM_INNER_RNG on class CL_SALV_CSL_UTILS has no exception.

Method GET_RANGES_AS_INDEXES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TABLE_SIZE Call by reference Type reference (TYPE) Y_SIZE 20080629
2 Exporting T_INDEX Call by reference Type reference (TYPE) YT_INDEX 20080629
3 Importing T_RANGE Call by reference Type reference (TYPE) YT_INDEX_RANGE 20080629

Method GET_RANGES_AS_INDEXES on class CL_SALV_CSL_UTILS has no exception.

Method GET_RANGES_FOR_SELECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing T_RANGE Call by reference Type reference (TYPE) YT_INDEX_RANGE 20080629
2 Importing T_SELECTION Call by reference Type reference (TYPE) YT_INDEX_RANGE 20080629
3 Exporting T_SUBSET Call by reference Type reference (TYPE) YT_INDEX_RANGE 20080629

Method GET_RANGES_FOR_SELECTION on class CL_SALV_CSL_UTILS has no exception.

Method GET_SELECTION_FOR_SORTED_KEYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting SIZE Call by reference Type reference (TYPE) Y_SIZE 20080629
2 Importing TA_ALL_KEYS Call by reference Type reference (TYPE) ANY TABLE 20080629
3 Importing TS_SELECTED_KEYS Call by reference Type reference (TYPE) SORTED TABLE 20080629
4 Exporting T_SELECTION Call by reference Type reference (TYPE) YT_INDEX_RANGE 20080629

Method GET_SELECTION_FOR_SORTED_KEYS on class CL_SALV_CSL_UTILS has no exception.

Method GET_SELECTION_SIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_EXCLUSIVE Value transfer Type reference (TYPE) BOOLEAN 20080908
2 Returning SELECTION_SIZE Value transfer Type reference (TYPE) Y_SIZE 20080908
3 Importing TABLE_SIZE Value transfer Type reference (TYPE) Y_SIZE 20080629
4 Importing T_INDEX_RANGES Call by reference Type reference (TYPE) YT_INDEX_RANGE 20080908

Method GET_SELECTION_SIZE on class CL_SALV_CSL_UTILS has no exception.

Method GET_STRUCTURE_COMPONENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing R_STRUCTURE_DESCR Value transfer Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR 20080814
2 Importing SUFFIX Call by reference Type reference (TYPE) IF_SALV_CSZ_API=>Y_FIELD_NAME 20080814
3 Importing TS_REQUESTED_ATTRIBUTES Call by reference Type reference (TYPE) YTS_ATTRIBUTE_TREE 20080814
4 Changing T_COMPONENTS Value transfer Type reference (TYPE) CL_ABAP_STRUCTDESCR=>COMPONENT_TABLE Komponentenbeschreibungstabelle 20080814

Method GET_STRUCTURE_COMPONENTS on class CL_SALV_CSL_UTILS has no exception.

Method GET_SUBSTRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELD_NAMES Call by reference Type reference (TYPE) Y_FIELD_NAME 20080814
2 Importing R_STRUCTURE_DESCR Value transfer Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR 20080814
3 Returning R_SUBSTRUCTURE_DESCR Value transfer Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR 20080814

Method GET_SUBSTRUCTURE on class CL_SALV_CSL_UTILS has no exception.

Method GET_SUBSTRUCTURE_FROM_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing R_STRUCTURE_DESCR Value transfer Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR 20080814
2 Returning R_SUBSTRUCTURE_DESCR Value transfer Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR 20080814
3 Importing TS_ATTRIBUTE_TREE Call by reference Type reference (TYPE) YTS_ATTRIBUTE_TREE 20080814

Method GET_SUBSTRUCTURE_FROM_TREE on class CL_SALV_CSL_UTILS has no exception.

Method IS_SELECTION_EMPTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing T_SELECTION Call by reference Type reference (TYPE) YT_INDEX_RANGE 20080629
2 Returning VALUE Value transfer Type reference (TYPE) ABAP_BOOL 20080629

Method IS_SELECTION_EMPTY on class CL_SALV_CSL_UTILS has no exception.

Method IS_SELECTION_FOR_COMPLETE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing T_SELECTION Call by reference Type reference (TYPE) YT_INDEX_RANGE 20080629
2 Returning VALUE Value transfer Type reference (TYPE) ABAP_BOOL 20080629

Method IS_SELECTION_FOR_COMPLETE_DATA on class CL_SALV_CSL_UTILS has no exception.

Method MERGE_RANGE_TABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing T_RANGES_TO_BE_MERGED Call by reference Type reference (TYPE) YT_INDEX_RANGE 20100602
2 Changing T_TARGET Call by reference Type reference (TYPE) YT_INDEX_RANGE 20100602

Method MERGE_RANGE_TABLES on class CL_SALV_CSL_UTILS has no exception.

Method REFERENCED_DATA_IS_INITIAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning IS_INITIAL Value transfer Type reference (TYPE) BOOLEAN 20080629
2 Importing REF Value transfer Type reference (TYPE) YR_DATA 20080629

Method REFERENCED_DATA_IS_INITIAL on class CL_SALV_CSL_UTILS has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 712