SAP ABAP Class CL_SALV_STI_AUNIT_ATS_WITH_GRP (unit tests for grouping features)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
BC-WD-CMP-ATS (Application Component) ABAP Table/Tree Services
⤷
SALV_STI (Package) ALV Services for Tables: iTab Services impl.
⤷
⤷
Properties
| Class | CL_SALV_STI_AUNIT_ATS_WITH_GRP | |
| Short Description | unit tests for grouping features | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 5 | |
| Package | SALV_STI | ALV Services for Tables: iTab Services impl. |
| Created | 20120403 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no interface implemented.
Friends
Class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | Y_INSERT_DIRECTION | 'A' | 20120403 | |||
| 2 | Constant | Protected | Type reference (TYPE) | Y_DIRECTION | 'B' | 20120403 | |||
| 3 | Constant | Protected | Type reference (TYPE) | Y_INSERT_DIRECTION | 'B' | 20120403 | |||
| 4 | Constant | Protected | Type reference (TYPE) | Y_DIRECTION | 'F' | 20120403 | |||
| 5 | Constant | Protected | Type reference (TYPE) | CHAR1 | '|' | 20120403 | |||
| 6 | Static Attribute | Protected | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_FIELD_PATH | 20120403 | ||||
| 7 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_SALV_ITAB_SERVICES | ALV UI services for internal tables | 20120403 | |||
| 8 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_SALV_ITAB_VIEW_GROUPED_DATA | merged view on results of IF_SALV_ITAB_SERVICES | 20120403 | |||
| 9 | Instance attribute | Protected | Attribute reference (LIKE) | MTS_VALID_GROUP_LABEL | 20120403 | ||||
| 10 | Instance attribute | Protected | Attribute reference (LIKE) | MTS_IDX_HIDDEN_BY_COLLAPSE | 20120403 | ||||
| 11 | Instance attribute | Protected | See coding | 20120403 | |||||
| 12 | Instance attribute | Protected | See coding | 20120403 | |||||
| 13 | Instance attribute | Protected | Attribute reference (LIKE) | MTS_VALID_GROUP_LABEL | 20120403 | ||||
| 14 | Instance attribute | Protected | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_GROUPING_RULE | 20120403 | ||||
| 15 | Instance attribute | Protected | Type reference (TYPE) | YT_TEST_DATA | 20120403 | ||||
| 16 | Instance attribute | Protected | Type reference (TYPE) | YT_TEST_DATA | 20120403 | ||||
| 17 | Instance attribute | Protected | Type reference (TYPE) | I | 20120403 | ||||
| 18 | Instance attribute | Protected | Type reference (TYPE) | SYTABIX | Index of Internal Tables | 20120403 | |||
| 19 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | 20120403 | ||||
| 20 | Constant | Protected | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120403 | |||
| 21 | Constant | Protected | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20120403 |
Methods
Events
Class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | YS_TEST_DATA | Protected | See coding | 20120403 | begin of ys_test_data,
"auxiliary fields:
orig_pos type sytabix, "original position in mt_test_data
exp_group_label type string, "expected group as string, levels separated by ';'
filter_match type abap_bool, "should the row match the filter?
"test data:
l1 type string,
l2 type string,
end of ys_test_data
|
||
| 2 | YT_TEST_DATA | Protected | See coding | 20120403 | yt_test_data type standard table of ys_test_data with default key
|
||
| 3 | Y_DIRECTION | Protected | See coding | 20120403 | Y_DIRECTION type C length 1
|
||
| 4 | Y_INSERT_DIRECTION | Protected | See coding | 20120403 | y_insert_direction type c length 1
|
Method Signatures
Method ABORT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MSG | Call by reference | Type reference (TYPE) | STRING | 20120403 |
Method ABORT on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method ASSERT_DIFFERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACT | Value transfer | Type reference (TYPE) | ANY | 20120403 | ||||
| 2 | EXP | Value transfer | Type reference (TYPE) | ANY | 20120403 | ||||
| 3 | MSG | Call by reference | Type reference (TYPE) | STRING | 20120403 |
Method ASSERT_DIFFERS on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method ASSERT_EQUALS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACT | Value transfer | Type reference (TYPE) | ANY | 20120403 | ||||
| 2 | EXP | Value transfer | Type reference (TYPE) | ANY | 20120403 | ||||
| 3 | MSG | Call by reference | Type reference (TYPE) | STRING | 20120403 |
Method ASSERT_EQUALS on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method CALC_VALID_GROUP_LABELS Signature
Method CALC_VALID_GROUP_LABELS on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no parameter.
Method CALC_VALID_GROUP_LABELS on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method CALC_VISIBLE_GROUPS Signature
Method CALC_VISIBLE_GROUPS on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no parameter.
Method CALC_VISIBLE_GROUPS on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method CHECK_GROUP_SRC_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DATA | Call by reference | Type reference (TYPE) | YS_TEST_DATA | 20120403 | ||||
| 2 | I_GROUP_LABEL | Call by reference | Type reference (TYPE) | STRING | 20120403 | ||||
| 3 | I_LEVEL | Call by reference | Type reference (TYPE) | I | 20120403 |
Method CHECK_GROUP_SRC_FIELDS on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method CLASS_SETUP Signature
Method CLASS_SETUP on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no parameter.
Method CLASS_SETUP on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | GROUP | Call by reference | Type reference (TYPE) | STRING | 20120403 | ||||
| 2 | L1 | Call by reference | Type reference (TYPE) | YS_TEST_DATA-L1 | 20120403 | ||||
| 3 | L2 | Call by reference | Type reference (TYPE) | YS_TEST_DATA-L2 | 20120403 | ||||
| 4 | MATCH_FILTER | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20120403 |
Method DATA on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method FAIL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MSG | Call by reference | Type reference (TYPE) | STRING | 20120403 | ||||
| 2 | TOLERABLE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120403 |
Method FAIL on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method FILTER_VARIATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_VARIATION_EXISTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120403 | ||||
| 2 | I_VARIATION | Call by reference | Type reference (TYPE) | I | 20120403 |
Method FILTER_VARIATION on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method FIND_GROUP_IDX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_GROUP_LABEL | Call by reference | Type reference (TYPE) | STRING | 20120403 | ||||
| 2 | R_TABIX | Value transfer | Type reference (TYPE) | SYTABIX | Index of Internal Tables | 20120403 |
Method FIND_GROUP_IDX on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method FORGET_RESULT Signature
Method FORGET_RESULT on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no parameter.
Method FORGET_RESULT on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method INIT_RESULT Signature
Method INIT_RESULT on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no parameter.
Method INIT_RESULT on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method NEXT_FILTER_VARIATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_VARIATION_EXISTS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120403 |
Method NEXT_FILTER_VARIATION on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method SETUP Signature
Method SETUP on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no parameter.
Method SETUP on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method SET_GROUPING_RULES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | GROUP_BY | Call by reference | Type reference (TYPE) | STRING | grouping columns separated by ';' | 20120403 | |||
| 2 | SORT | Call by reference | Type reference (TYPE) | STRING | sort orders separated by ';' | 20120403 |
Method SET_GROUPING_RULES on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method TEST_COLLAPSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_GROUP_LABEL | Call by reference | Type reference (TYPE) | STRING | 20120403 |
Method TEST_COLLAPSE on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method TEST_DELETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ORIG_POSITIONS | Call by reference | Type reference (TYPE) | STRING | 20120403 |
Method TEST_DELETE on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method TEST_EXPAND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_GROUP_LABEL | Call by reference | Type reference (TYPE) | STRING | 20120403 |
Method TEST_EXPAND on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method TEST_FIND_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DIRECTION | Call by reference | Type reference (TYPE) | Y_DIRECTION | 20120403 | ||||
| 2 | EXPECT | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_ROW_INDEX | Index of Internal Tables | 20120403 | |||
| 3 | START | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_ROW_INDEX | Index of Internal Tables | 20120403 |
Method TEST_FIND_DATA on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method TEST_GROUPING Signature
Method TEST_GROUPING on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no parameter.
Method TEST_GROUPING on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method TEST_INSERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXP_GROUP_LABEL | Call by reference | Type reference (TYPE) | STRING | 20120403 | ||||
| 2 | INSERT | Call by reference | Type reference (TYPE) | Y_INSERT_DIRECTION | 20120403 | ||||
| 3 | LINES | Call by reference | Type reference (TYPE) | STRING | 20120403 | ||||
| 4 | POS | Call by reference | Type reference (TYPE) | I | result insert position | 20120403 | |||
| 5 | SRC_POS_TO_USE | Call by reference | Type reference (TYPE) | I | overwrites POS for SET_INSERT_POSITION | 20120403 |
Method TEST_INSERT on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
Method TEST_MOVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INSERT | Call by reference | Type reference (TYPE) | Y_INSERT_DIRECTION | 20120403 | ||||
| 2 | LINE_INDEX_FROM | Call by reference | Type reference (TYPE) | I | 20120403 | ||||
| 3 | LINE_INDEX_TO | Call by reference | Type reference (TYPE) | I | 20120403 |
Method TEST_MOVE on class CL_SALV_STI_AUNIT_ATS_WITH_GRP has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 732 |