SAP ABAP Class CL_SALV_RANGE_TOOLS (tools for handling index range tables (see documentation))
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
BC-WD-CMP-ATS (Application Component) ABAP Table/Tree Services
⤷
SALV_ST_PUB (Package) ALV Services for Tables: Public API
⤷
⤷
Properties
| Class | CL_SALV_RANGE_TOOLS | |
| Short Description | tools for handling index range tables (see documentation) | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SALV_ST_PUB | ALV Services for Tables: Public API |
| Created | 20100727 | 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) |
Interfaces
Class CL_SALV_RANGE_TOOLS has no interface implemented.
Friends
Class CL_SALV_RANGE_TOOLS has no friend class.
Attributes
Class CL_SALV_RANGE_TOOLS has no attribute.
Methods
Events
Class CL_SALV_RANGE_TOOLS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | YS_INDEX_RANGE | Public | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YS_RANGE | 20120709 | |
|
| 2 | YS_RANGE_MAP | Public | Type reference (TYPE) | IF_SALV_ITAB_CHANGE_LOG=>YS_RANGE_MAP | 20120709 | |
|
| 3 | YT_INDEX | Public | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_ROW_INDEX | 20120709 | |
|
| 4 | YT_INDEX_RANGE | Public | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_RANGE | 20120709 | |
|
| 5 | YT_RANGE_MAP | Public | Type reference (TYPE) | IF_SALV_ITAB_CHANGE_LOG=>YT_RANGE_MAP | 20120709 | |
|
| 6 | Y_INDEX | Public | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>Y_ROW_INDEX | Index of Internal Tables | 20100727 | |
Method Signatures
Method ADD_INDEX_TO_RANGE_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_NORMALIZED_RANGE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_RANGE | 20120327 | ||||
| 2 | I_INDEX | Call by reference | Type reference (TYPE) | Y_INDEX | 20120327 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120327 |
Method ADD_TO_RANGE_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_NORMALIZED_RANGE_B | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_RANGE | range table to be added and receiving result | 20110406 | |||
| 2 | IT_NORMALIZED_RANGE_A | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_RANGE | range table to be added | 20110406 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110406 |
Method APPLY_MAP_TO_INDEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_RANGE_MOVE_MAP | Call by reference | Type reference (TYPE) | IF_SALV_ITAB_CHANGE_LOG=>YT_RANGE_MAP | 20120711 | ||||
| 2 | X_INDEX | Call by reference | Type reference (TYPE) | I | 20120711 |
Method APPLY_MAP_TO_INDEX on class CL_SALV_RANGE_TOOLS has no exception.
Method APPLY_MAP_TO_INDEXES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_RANGE_MOVE_MAP | Call by reference | Type reference (TYPE) | IF_SALV_ITAB_CHANGE_LOG=>YT_RANGE_MAP | 20120711 | ||||
| 2 | XT_INDEX | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_ROW_INDEX | 20120711 |
Method APPLY_MAP_TO_INDEXES on class CL_SALV_RANGE_TOOLS has no exception.
Method APPLY_MAP_TO_RANGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_RANGE_MOVE_MAP | Call by reference | Type reference (TYPE) | IF_SALV_ITAB_CHANGE_LOG=>YT_RANGE_MAP | 20120711 | ||||
| 2 | XT_RANGE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_RANGE | 20120711 |
Method APPLY_MAP_TO_RANGES on class CL_SALV_RANGE_TOOLS has no exception.
Method CHECK_RANGE_MAP_CONSISTENCY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DELETED_NORMALIZED | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_RANGE | 20110412 | ||||
| 2 | IT_INSERTED_NORMALIZED | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_RANGE | 20110412 | ||||
| 3 | IT_RANGE_MAP | Call by reference | Type reference (TYPE) | IF_SALV_ITAB_CHANGE_LOG=>YT_RANGE_MAP | 20110412 | ||||
| 4 | I_MAXIMUM_INDEX | Call by reference | Type reference (TYPE) | Y_INDEX | maximum possible table index | 20110412 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110412 |
Method CHECK_RANGE_TAB_NORMALIZED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_RANGE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_RANGE | range table to be checked | 20101108 | |||
| 2 | I_MAXIMUM_INDEX | Call by reference | Type reference (TYPE) | Y_INDEX | -1 | maximum possible table index | 20110412 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Illegal values in range table | 20101108 |
Method CONVERT_INDEXES_TO_RANGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RANGE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_RANGE | 20100728 | ||||
| 2 | IT_SORTED_INDEX | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_ROW_INDEX | must be sorted ascending | 20100728 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100727 |
Method CONVERT_RANGES_TO_INDEXES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_SORTED_INDEX | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_ROW_INDEX | 20101108 | ||||
| 2 | IT_NORMALIZED_RANGE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_RANGE | 20101108 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Illegal values in range table | 20110406 |
Method COUNT_SIZE_OF_RANGE_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_NORMALIZED_RANGE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_RANGE | range table | 20101108 | |||
| 2 | R_COUNT | Value transfer | Type reference (TYPE) | SYTABIX | number of indexes in it_range | 20101108 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Illegal values in range table | 20110406 |
Method INVERT_RANGE_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_INVERTED_RANGE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_RANGE | inverted range table | 20110406 | |||
| 2 | IT_NORMALIZED_RANGE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_RANGE | range table to be inverted | 20110406 | |||
| 3 | I_MAXIMUM_INDEX | Call by reference | Type reference (TYPE) | Y_INDEX | maximum possible table index | 20110406 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110406 |
Method IS_INDEX_IN_RANGE_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_NORMALIZED_RANGE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_RANGE | 20120217 | ||||
| 2 | I_INDEX | Value transfer | Type reference (TYPE) | Y_INDEX | 20120217 | ||||
| 3 | R_IS_IN_RANGE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120217 |
Method IS_INDEX_IN_RANGE_TAB on class CL_SALV_RANGE_TOOLS has no exception.
Method SORT_AND_MERGE_ADJACENT_RANGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_RANGE | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_RANGE | 20120327 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120327 |
Method SUBTRACT_FROM_RANGE_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_NORMALIZED_RANGE_B | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_RANGE | range table to be subtracted from | 20110406 | |||
| 2 | IT_NORMALIZED_RANGE_A | Call by reference | Type reference (TYPE) | IF_SALV_SERVICE_TYPES=>YT_RANGE | range table to be subtracted | 20110406 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110406 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 703 |