SAP ABAP Class CL_SALV_BS_GROUPING (Aggregation)
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
⤷ BC-WD-CMP-ALV-ABA (Application Component) Web Dynpro ALV for ABAP
⤷ SALV_BS_SERVICE (Package) Service
Properties
Class | CL_SALV_BS_GROUPING | |
Short Description | Aggregation | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SALV_BS_SERVICE | Service |
Created | 20071218 | SAP |
Last change | 20110908 | 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_SERVICE_C8R | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
3 | IF_SALV_BS | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
4 | IF_SALV_BS_AGGR_TYPES | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
5 | IF_SALV_BS_C_SORT | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
6 | IF_SALV_BS_DATA_TABLE_MAPPING | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
7 | KKBLO | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_SALV_BS_GROUPING has no interface implemented.
Friends
Class CL_SALV_BS_GROUPING has no friend class.
Attributes
Class CL_SALV_BS_GROUPING has no attribute.
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CALCULATE | Static method | Public | Method | Calculate | 20071218 |
2 | CONSOLIDATE_MEASURE | Static method | Protected | Method | Calculate | 20071218 |
3 | CREATE_GROUPING_TREE | Static method | Protected | Method | Calculate | 20071218 |
4 | CREATE_MEASURE_FOR_LEAFS | Static method | Protected | Method | Calculate | 20071218 |
Events
Class CL_SALV_BS_GROUPING has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | S_TYPE_AGGR_RULE | Public | See coding | 20071218 | BEGIN OF s_type_aggr_rule,
fieldname TYPE string,
c7tnr_fieldname TYPE i,
rel_fieldname TYPE string,
c7tnr_rel_fieldname TYPE i,
aggregation_type TYPE salv_bs_constant,
r_aggr_rule TYPE REF TO object,
type_kind(1) TYPE c,
END OF s_type_aggr_rule
|
||
2 | S_TYPE_GROUPING | Public | See coding | 20071218 | BEGIN OF s_type_grouping,
fieldname TYPE string,
c7tnr_fieldname TYPE i,
text_fieldname TYPE string,
c7tnr_text_fieldname TYPE i,
value_fieldname TYPE string,
c7tnr_value_fieldname TYPE i,
sort_position TYPE i,
sort_order LIKE if_salv_bs_c_sort=>sort_order,
r_sort_rule TYPE REF TO object,
flavour TYPE salv_bs_constant,
presentation_mode TYPE salv_bs_constant,
END OF s_type_grouping
|
||
3 | S_TYPE_GROUPING_TREE | Public | See coding | 20071218 | BEGIN OF s_type_grouping_tree,
parent TYPE salv_bs_nodekey,
nodekey TYPE salv_bs_nodekey,
first_child TYPE salv_bs_nodekey,
last_child TYPE salv_bs_nodekey,
next TYPE salv_bs_nodekey,
next_level TYPE salv_bs_nodekey,
prev TYPE salv_bs_nodekey,
prev_level TYPE salv_bs_nodekey,
is_leaf TYPE sap_bool,
name TYPE string,
value TYPE string,
name_text TYPE string,
value_text TYPE string,
text TYPE string,
idx_from TYPE int4,
idx_to TYPE int4,
treelevel TYPE int4,
node_count TYPE int4,
aggr_lines TYPE int4,
* item_order TYPE int4,
flavour TYPE salv_bs_constant,
aggrlevel TYPE int4,
measure_nodeid TYPE salv_bs_nodekey,
END OF s_type_grouping_tree
|
||
4 | S_TYPE_MEASURE | Public | See coding | 20071218 | BEGIN OF s_type_measure,
nodekey TYPE salv_bs_nodekey,
name TYPE string,
value TYPE string,
rel_name TYPE string,
rel_name_value TYPE string,
node_sum TYPE salv_bs_aggr_p_field,
node_min TYPE salv_bs_aggr_p_field,
node_max TYPE salv_bs_aggr_p_field,
node_average TYPE salv_bs_aggr_p_field,
node_count TYPE salv_bs_nodekey,
node_sum_f TYPE salv_bs_aggr_f_field,
node_min_f TYPE salv_bs_aggr_f_field,
node_max_f TYPE salv_bs_aggr_f_field,
node_average_f TYPE salv_bs_aggr_f_field,
node_count_f TYPE salv_bs_nodekey,
aggrtype TYPE salv_bs_constant,
type_kind TYPE char1,
decimals TYPE int4,
line_index TYPE int4,
item_order TYPE int4,
next_nodeid TYPE salv_bs_nodekey,
previous_nodeid TYPE salv_bs_nodekey,
nodeid TYPE salv_bs_nodekey,
END OF s_type_measure
|
||
5 | TY_S_COMPARE | Protected | See coding | 20071218 | begin of ty_s_compare,
act type string,
prev type string,
end of ty_s_compare
|
||
6 | TY_T_COMPARE | Protected | See coding | 20071218 | ty_t_compare type table of ty_s_compare
|
||
7 | T_TYPE_AGGR_RULE | Public | See coding | 20071218 | t_type_aggr_rule TYPE TABLE OF s_type_aggr_rule WITH KEY table_line
|
||
8 | T_TYPE_GROUPING | Public | See coding | 20071218 | t_type_grouping TYPE TABLE OF s_type_grouping WITH KEY table_line
|
||
9 | T_TYPE_GROUPING_TREE | Public | See coding | 20071218 | t_type_grouping_tree TYPE STANDARD TABLE OF s_type_grouping_tree WITH KEY table_line
|
||
10 | T_TYPE_MEASURE | Public | See coding | 20071218 | t_type_measure TYPE STANDARD TABLE OF s_type_measure WITH KEY table_line
|
Method Signatures
Method CALCULATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | R_SORTED_TABLE_CONTROLLER | Call by reference | Object reference (TYPE REF TO) | CL_SALV_BS_DATA_TABLE | DataController | 20071218 | ||
2 | Importing | T_AGGREGATION_CRITERIA | Call by reference | Type reference (TYPE) | CL_SALV_BS_GROUPING=>T_TYPE_AGGR_RULE | 20071218 | |||
3 | Importing | T_GROUPING_CRITERIA | Call by reference | Type reference (TYPE) | CL_SALV_BS_GROUPING=>T_TYPE_GROUPING | 20071218 | |||
4 | Exporting | T_GROUPING_TREE | Call by reference | Type reference (TYPE) | CL_SALV_BS_GROUPING=>T_TYPE_GROUPING_TREE | SALV: Table Aggregation Tree | 20071218 | ||
5 | Exporting | T_MEASURE | Call by reference | Type reference (TYPE) | CL_SALV_BS_GROUPING=>T_TYPE_MEASURE | SALV: Table of Measure Columns | 20071218 | ||
6 | Exporting | T_ROWS | Call by reference | Type reference (TYPE) | IF_SALV_BS=>TT_TYPE_ROW | Zeilenreferenzen | 20071218 |
Method CALCULATE on class CL_SALV_BS_GROUPING has no exception.
Method CONSOLIDATE_MEASURE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | T_GROUPING_TREE | Call by reference | Type reference (TYPE) | CL_SALV_BS_GROUPING=>T_TYPE_GROUPING_TREE | SALV: Table Aggregation Tree | 20071218 | ||
2 | Changing | T_MEASURE | Call by reference | Type reference (TYPE) | CL_SALV_BS_GROUPING=>T_TYPE_MEASURE | SALV: Table of Measure Columns | 20071218 |
Method CONSOLIDATE_MEASURE on class CL_SALV_BS_GROUPING has no exception.
Method CREATE_GROUPING_TREE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | R_SORTED_TABLE_CONTROLLER | Call by reference | Object reference (TYPE REF TO) | CL_SALV_BS_DATA_TABLE | DataController | 20071218 | ||
2 | Importing | T_AGGREGATION_CRITERIA | Call by reference | Type reference (TYPE) | CL_SALV_BS_GROUPING=>T_TYPE_AGGR_RULE | 20071218 | |||
3 | Importing | T_GROUPING_CRITERIA | Call by reference | Type reference (TYPE) | CL_SALV_BS_GROUPING=>T_TYPE_GROUPING | 20071218 | |||
4 | Exporting | T_GROUPING_TREE | Call by reference | Type reference (TYPE) | CL_SALV_BS_GROUPING=>T_TYPE_GROUPING_TREE | SALV: Table Aggregation Tree | 20071218 | ||
5 | Exporting | T_ROWS | Call by reference | Type reference (TYPE) | IF_SALV_BS=>TT_TYPE_ROW | Zeilenreferenzen | 20071218 |
Method CREATE_GROUPING_TREE on class CL_SALV_BS_GROUPING has no exception.
Method CREATE_MEASURE_FOR_LEAFS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | R_SORTED_TABLE_CONTROLLER | Call by reference | Object reference (TYPE REF TO) | CL_SALV_BS_DATA_TABLE | DataController | 20071218 | ||
2 | Importing | T_AGGREGATION_CRITERIA | Call by reference | Type reference (TYPE) | CL_SALV_BS_GROUPING=>T_TYPE_AGGR_RULE | 20071218 | |||
3 | Importing | T_GROUPING_CRITERIA | Call by reference | Type reference (TYPE) | CL_SALV_BS_GROUPING=>T_TYPE_GROUPING | 20071218 | |||
4 | Changing | T_GROUPING_TREE | Call by reference | Type reference (TYPE) | CL_SALV_BS_GROUPING=>T_TYPE_GROUPING_TREE | SALV: Table Aggregation Tree | 20071218 | ||
5 | Changing | T_MEASURE | Call by reference | Type reference (TYPE) | CL_SALV_BS_GROUPING=>T_TYPE_MEASURE | SALV: Table of Measure Columns | 20071218 |
Method CREATE_MEASURE_FOR_LEAFS on class CL_SALV_BS_GROUPING has no exception.
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 711 |