SAP ABAP Class CL_SALV_IDA_GROUPING_SERVICE (Statefull grouping service)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
BC-SRV-ALV (Application Component) SAP List Viewer
⤷
SALV_IDA_ATS (Package) ATS for IDA
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SALV_IDA_GROUPING_SERVICE | Grouping service | 20120821 |
Properties
| Class | CL_SALV_IDA_GROUPING_SERVICE | |
| Short Description | Statefull grouping service | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SALV_IDA_ATS | ATS for IDA |
| Created | 20120817 | SAP |
| Last change | 20141120 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SALV_IDA_GROUPING_SERVICE has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SALV_IDA_GROUPING_SERVICE | Grouping service | 20120821 |
Friends
Class CL_SALV_IDA_GROUPING_SERVICE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | See coding | 20120817 | |||||
| 2 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_ABAP_TABLEDESCR | 20120823 | ||||
| 3 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_SALV_IDA_QUERY_ENGINE | 20140228 | ||||
| 4 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | 20120817 | ||||
| 5 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | 20120924 | ||||
| 6 | Instance attribute | Protected | Type reference (TYPE) | IF_SALV_IDA_TYPES_INT=>YS_FILTER_PARAMS | 20140314 | ||||
| 7 | Instance attribute | Protected | Type reference (TYPE) | IF_SADL_QUERY_ENGINE_TYPES=>TY_AGGREGATION | 20140228 | ||||
| 8 | Instance attribute | Protected | Type reference (TYPE) | IF_SALV_IDA_GROUPING_SERVICE=>YT_AGGR_RULE | 20120817 | ||||
| 9 | Instance attribute | Protected | Type reference (TYPE) | YT_AGGR_RULE_INT | 20120817 | ||||
| 10 | Instance attribute | Protected | Type reference (TYPE) | YT_NODE | 20140304 | ||||
| 11 | Instance attribute | Protected | Type reference (TYPE) | IF_SALV_IDA_GROUPING_SERVICE=>YT_GROUP_RULE | 20120817 | ||||
| 12 | Instance attribute | Protected | Type reference (TYPE) | YT_GROUP_RULE_INT | 20120817 | ||||
| 13 | Instance attribute | Protected | Type reference (TYPE) | YT_NODE | 20120817 | ||||
| 14 | Instance attribute | Protected | Type reference (TYPE) | IF_SALV_IDA_TYPES_INT=>YT_DB_SORT_RULE | 20140228 | ||||
| 15 | Instance attribute | Protected | Type reference (TYPE) | I | 20140214 | ||||
| 16 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | 20140210 | ||||
| 17 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | 20120823 | ||||
| 18 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | 20120817 | ||||
| 19 | Instance attribute | Protected | See coding | 20130426 |
Methods
Events
Class CL_SALV_IDA_GROUPING_SERVICE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | YS_AGGR_RULE_INT | Protected | See coding | 20120821 | begin of ys_aggr_rule_int,
aggr_function type if_salv_service_types=>y_function_code,
field type string,
aggr_value_field type string,
reference_field type string,
reference_field_max type string,
end of ys_aggr_rule_int
|
||
| 2 | YS_GROUP_RULE_INT | Protected | See coding | 20120821 | begin of ys_group_rule_int,
t_sort_rules type if_salv_ida_types_int=>yt_db_sort_rule, " one level
t_key_fields type if_salv_service_types=>yt_field_path, " one level
o_group_tabledescr type ref to cl_abap_tabledescr, " all levels, incl. aggr fields
r_parent_key_record type ref to data, " parent levels
o_group_label_provider type ref to if_salv_sti_group_label_prov,
s_sadl_aggr_rules type if_sadl_query_engine_types=>ty_aggregation,
end of ys_group_rule_int
|
||
| 3 | YS_NODE | Protected | See coding | 20120817 | begin of ys_node,
level type i,
r_group_record type ref to data,
r_parent_group_record type ref to data,
size type i,
type type y_node_type, " group line, data, place holder
is_expanded type abap_bool,
result_position type if_salv_service_types=>ys_range,
node_offset type i, " used in place holders if not first child
end of ys_node
|
||
| 4 | YT_AGGR_RULE_INT | Protected | See coding | 20120821 | yt_aggr_rule_int type standard table of ys_aggr_rule_int with key field
|
||
| 5 | YT_GROUP_RULE_INT | Protected | See coding | 20120821 | yt_group_rule_int type table of ys_group_rule_int with default key
|
||
| 6 | YT_NODE | Protected | See coding | 20120817 | yt_node type standard table of ys_node with default key
|
||
| 7 | Y_NODE_TYPE | Protected | Type reference (TYPE) | CHAR1 | 20120817 | |
|
| 8 | Y_SIGN | Protected | Type reference (TYPE) | INT1 | 20120817 | |
Method Signatures
Method APPEND_AGGREGATES_TO_RESULT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ROW_INDEX | Call by reference | Type reference (TYPE) | I | 20120906 | ||||
| 2 | S_DATA | Call by reference | Type reference (TYPE) | DATA | 20120817 | ||||
| 3 | S_GROUP_RECORD | Call by reference | Type reference (TYPE) | DATA | 20120817 | ||||
| 4 | S_ROW_INFO | Call by reference | Type reference (TYPE) | IF_SALV_IDA_TYPES_INT=>YS_RESULT_ROW_INFO | 20120817 | ||||
| 5 | TS_AGGREGATION_EXCEPTION | Call by reference | Type reference (TYPE) | IF_SALV_ITAB_VIEW_GROUPED_DATA=>YTS_AGGREGATION_EXCEPTION | 20120817 |
Method APPEND_AGGREGATES_TO_RESULT on class CL_SALV_IDA_GROUPING_SERVICE has no exception.
Method APPEND_NODE_TO_RESULT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NODE_LINE_FROM | Value transfer | Type reference (TYPE) | I | 20120817 | ||||
| 2 | NODE_LINE_TO | Value transfer | Type reference (TYPE) | I | 20120817 | ||||
| 3 | ROW_INDEX | Call by reference | Type reference (TYPE) | I | 20120906 | ||||
| 4 | S_NODE | Call by reference | Type reference (TYPE) | YS_NODE | 20120817 | ||||
| 5 | TS_AGGREGATION_EXCEPTION | Call by reference | Type reference (TYPE) | IF_SALV_ITAB_VIEW_GROUPED_DATA=>YTS_AGGREGATION_EXCEPTION | 20120817 | ||||
| 6 | T_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20120817 | ||||
| 7 | T_ROW_INFO | Call by reference | Type reference (TYPE) | IF_SALV_IDA_TYPES_INT=>YT_RESULT_ROW_INFO | 20120817 |
Method APPEND_NODE_TO_RESULT on class CL_SALV_IDA_GROUPING_SERVICE has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CACHE_SIZE_ON_EXPAND | Call by reference | Type reference (TYPE) | I | 20140214 | ||||
| 2 | EXPAND_FIRST_GROUP | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20140210 | ||||
| 3 | GRAND_TOTAL_IN_RESULT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20120823 | |||
| 4 | IO_QUERY_ENGINE | Call by reference | Object reference (TYPE REF TO) | CL_SALV_IDA_QUERY_ENGINE | 20140228 | ||||
| 5 | IO_STRUCTDESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | 20120817 | ||||
| 6 | IS_FILTER_PARAMS | Call by reference | Type reference (TYPE) | IF_SALV_IDA_TYPES_INT=>YS_FILTER_PARAMS | 20140314 | ||||
| 7 | T_AGGR_RULES | Call by reference | Type reference (TYPE) | IF_SALV_IDA_GROUPING_SERVICE=>YT_AGGR_RULE | 20120817 | ||||
| 8 | T_GROUP_RULES | Call by reference | Type reference (TYPE) | IF_SALV_IDA_GROUPING_SERVICE=>YT_GROUP_RULE | 20120817 |
Method CONSTRUCTOR on class CL_SALV_IDA_GROUPING_SERVICE has no exception.
Method CREATE_INTERNAL_AGGR_RULES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | S_SRC_DATA_SAMPLE_RECORD | Call by reference | Type reference (TYPE) | DATA | 20120817 | ||||
| 2 | T_STRUCTURE_COMP | Call by reference | Type reference (TYPE) | CL_ABAP_STRUCTDESCR=>COMPONENT_TABLE | 20120817 |
Method CREATE_INTERNAL_AGGR_RULES on class CL_SALV_IDA_GROUPING_SERVICE has no exception.
Method CREATE_INTERNAL_GROUP_RULES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | S_SRC_DATA_SAMPLE_RECORD | Call by reference | Type reference (TYPE) | DATA | 20120817 | ||||
| 2 | T_AGGR_STRUCTURE_COMP | Call by reference | Type reference (TYPE) | CL_ABAP_STRUCTDESCR=>COMPONENT_TABLE | 20120817 |
Method CREATE_INTERNAL_GROUP_RULES on class CL_SALV_IDA_GROUPING_SERVICE has no exception.
Method CREATE_SALV_FIELD_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SALV_FIELD_NAME | Call by reference | Type reference (TYPE) | STRING | 20130426 | ||||
| 2 | SRC_FIELD_NAME | Call by reference | Type reference (TYPE) | STRING | 20130426 |
Method CREATE_SALV_FIELD_NAME on class CL_SALV_IDA_GROUPING_SERVICE has no exception.
Method GET_GROUP_PATH_LABEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_NODE | Call by reference | Type reference (TYPE) | YS_NODE | 20131206 | ||||
| 2 | RV_GROUP_PATH_LABEL | Value transfer | Type reference (TYPE) | STRING | 20131206 |
Method GET_GROUP_PATH_LABEL on class CL_SALV_IDA_GROUPING_SERVICE has no exception.
Method GET_LAST_CHILD_TABIX_OF_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LEVEL | Call by reference | Type reference (TYPE) | I | 20140622 | ||||
| 2 | NODE_TABIX | Value transfer | Type reference (TYPE) | SYTABIX | 20140622 | ||||
| 3 | R_KEY_RECORD | Call by reference | Object reference (TYPE REF TO) | DATA | 20140622 |
Method GET_LAST_CHILD_TABIX_OF_NODE on class CL_SALV_IDA_GROUPING_SERVICE has no exception.
Method GET_NODE_INDEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NODE_INDEX | Value transfer | Type reference (TYPE) | I | 20120817 | ||||
| 2 | RESULT_INDEX | Value transfer | Type reference (TYPE) | I | 20120817 |
Method GET_NODE_INDEX on class CL_SALV_IDA_GROUPING_SERVICE has no exception.
Method GET_NODE_INTERSECTION_RANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LAST_RESULT_TO | Value transfer | Type reference (TYPE) | I | 20120817 | ||||
| 2 | NODE_LINE_FROM | Value transfer | Type reference (TYPE) | I | 20120817 | ||||
| 3 | NODE_LINE_TO | Value transfer | Type reference (TYPE) | I | 20120817 | ||||
| 4 | RESULT_FROM | Value transfer | Type reference (TYPE) | I | 20120817 | ||||
| 5 | RESULT_TO | Value transfer | Type reference (TYPE) | I | 20120817 | ||||
| 6 | S_NODE | Call by reference | Type reference (TYPE) | YS_NODE | 20120817 |
Method GET_NODE_INTERSECTION_RANGE on class CL_SALV_IDA_GROUPING_SERVICE has no exception.
Method GET_SELECTION_FOR_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LEVEL | Call by reference | Type reference (TYPE) | I | 20120817 | ||||
| 2 | R_KEY_RECORD | Call by reference | Object reference (TYPE REF TO) | DATA | 20120817 | ||||
| 3 | S_SELECTION | Call by reference | Type reference (TYPE) | IF_SALV_IDA_TYPES_INT=>YS_FIXED_VALUE_SELECTION | 20140304 |
Method GET_SELECTION_FOR_NODE on class CL_SALV_IDA_GROUPING_SERVICE has no exception.
Method INSERT_GROUPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INSERT_NODE_LINE_FROM | Value transfer | Type reference (TYPE) | I | 20120817 | ||||
| 2 | INSERT_NODE_LINE_TO | Value transfer | Type reference (TYPE) | I | 20120817 | ||||
| 3 | PL_HOLDER_NODE_INDEX | Value transfer | Type reference (TYPE) | I | 20120817 | ||||
| 4 | T_NEW_NODES | Call by reference | Type reference (TYPE) | YT_NODE | 20120817 |
Method INSERT_GROUPS on class CL_SALV_IDA_GROUPING_SERVICE has no exception.
Method INSERT_PL_HOLDER_FOR_CHILDREN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NODE_INSERT_POSITION | Value transfer | Type reference (TYPE) | I | 20130123 | ||||
| 2 | S_PARENT_NODE | Call by reference | Type reference (TYPE) | YS_NODE | 20130123 |
Method INSERT_PL_HOLDER_FOR_CHILDREN on class CL_SALV_IDA_GROUPING_SERVICE has no exception.
Method READ_AND_EXPAND_GROUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT_INDEX | Call by reference | Type reference (TYPE) | I | 20140314 |
Method READ_AND_EXPAND_GROUP on class CL_SALV_IDA_GROUPING_SERVICE has no exception.
Method READ_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NODE_LINE_FROM | Value transfer | Type reference (TYPE) | I | 20120817 | ||||
| 2 | NODE_LINE_TO | Value transfer | Type reference (TYPE) | I | 20120817 | ||||
| 3 | S_NODE | Call by reference | Type reference (TYPE) | YS_NODE | 20120817 | ||||
| 4 | T_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20120817 | ||||
| 5 | T_REQUESTED_FIELDS | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_FIELD_PATH | 20120817 |
Method READ_DATA on class CL_SALV_IDA_GROUPING_SERVICE has no exception.
Method READ_GROUPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FILL_NODE_COUNT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20140214 | ||||
| 2 | NODE_LINE_FROM | Value transfer | Type reference (TYPE) | I | 20120817 | ||||
| 3 | NODE_LINE_TO | Value transfer | Type reference (TYPE) | I | 20120817 | ||||
| 4 | ROW_COUNT | Value transfer | Type reference (TYPE) | I | 20140214 | ||||
| 5 | S_PL_HOLDER_NODE | Call by reference | Type reference (TYPE) | YS_NODE | 20120817 | ||||
| 6 | T_NODES | Call by reference | Type reference (TYPE) | YT_NODE | 20120817 |
Method READ_GROUPS on class CL_SALV_IDA_GROUPING_SERVICE has no exception.
Method READ_INITIAL_NODES Signature
Method READ_INITIAL_NODES on class CL_SALV_IDA_GROUPING_SERVICE has no parameter.
Method READ_INITIAL_NODES on class CL_SALV_IDA_GROUPING_SERVICE has no exception.
Method READ_SIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIZE | Value transfer | Type reference (TYPE) | I | 20140228 | ||||
| 2 | S_PARENT_SELECTION | Call by reference | Type reference (TYPE) | IF_SALV_IDA_TYPES_INT=>YS_FIXED_VALUE_SELECTION | 20140304 | ||||
| 3 | T_GROUP_BY_FIELDS | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_FIELD_PATH | 20140228 |
Method READ_SIZE on class CL_SALV_IDA_GROUPING_SERVICE has no exception.
Method REFRESH_RESULT_RANGES_IN_NODES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | START_NODE_INDEX | Call by reference | Type reference (TYPE) | I | 1 | 20120817 |
Method REFRESH_RESULT_RANGES_IN_NODES on class CL_SALV_IDA_GROUPING_SERVICE has no exception.
History
| Last changed by/on | SAP | 20141120 |
| SAP Release Created in | 740 |