SAP ABAP Class CL_SCV_HIERARCHY_EXPANDER (Hierarchy Expander)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-COV (Application Component) Coverage Analyzer
⤷
SCOV_API_ALL (Package) Coverage API for All Purposes
⤷
⤷
Properties
| Class | CL_SCV_HIERARCHY_EXPANDER | |
| Short Description | Hierarchy Expander | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SCOV_API_ALL | Coverage API for All Purposes |
| Created | 20090724 | 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_SCV_HIERARCHY_EXPANDER has no interface implemented.
Friends
Class CL_SCV_HIERARCHY_EXPANDER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | '$TMP' | 20120301 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_SCV_ELEMENT_ACCESSOR | Access to Elementary Operations | 20090724 | |||
| 3 | Constant | Private | Type reference (TYPE) | I | 100 | Used for Indirect Cycle ID | 20090811 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Returns a new hierarchy expander (with plugin) | 20090724 | |
| 2 | Static method | Public | Method | Returns a new component expander | 20090724 | |
| 3 | Static method | Public | Method | Returns a new package expander | 20090724 | |
| 4 | Instance method | Public | Method | Checks whether an element exists | 20090724 | |
| 5 | Instance method | Public | Method | Returns all elements within the range (not recursive) | 20090724 | |
| 6 | Instance method | Public | Method | Returns all direct and indirect subelements | 20090724 | |
| 7 | Instance method | Private | Method | Returns all direct and indirect subelements | 20090831 | |
| 8 | Instance method | Public | Method | Returns all root elements of a range | 20090724 | |
| 9 | Instance method | Public | Method | Returns all direct subelements | 20090724 | |
| 10 | Instance method | Public | Method | Returns the direct superior element | 20090724 | |
| 11 | Instance method | Private | Method | Checks whether one of the higher-level elements is contained | 20090831 | |
| 12 | Instance method | Public | Method | Enables Primitive Operations to Be Replaced | 20090724 | |
| 13 | Instance method | Public | Method | Resolves a range into an object list | 20090812 |
Events
Class CL_SCV_HIERARCHY_EXPANDER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_ELEMENT | Public | Type reference (TYPE) | STRING | Element Name | 20090724 | |
| 2 | TY_ELEMENTS | Public | See coding | Sorts list of elements (no duplicate entries) | 20090724 | ty_elements TYPE SORTED TABLE OF ty_element WITH UNIQUE KEY table_line
|
|
| 3 | TY_ELEMENT_RANGE | Public | See coding | Range of Elements | 20090724 | ty_element_range TYPE RANGE OF ty_element
|
|
| 4 | TY_PATH | Public | See coding | Path Within Hierarchy | 20090828 | ty_path TYPE STANDARD TABLE OF ty_element WITH DEFAULT KEY
|
Method Signatures
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT_ACCESSOR | Call by reference | Object reference (TYPE REF TO) | IF_SCV_ELEMENT_ACCESSOR | 20090724 | ||||
| 2 | R_EXPANDER | Value transfer | Object reference (TYPE REF TO) | CL_SCV_HIERARCHY_EXPANDER | 20090724 |
Method CREATE on class CL_SCV_HIERARCHY_EXPANDER has no exception.
Method CREATE_COMPONENT_EXPANDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_EXPANDER | Value transfer | Object reference (TYPE REF TO) | CL_SCV_HIERARCHY_EXPANDER | 20090724 |
Method CREATE_COMPONENT_EXPANDER on class CL_SCV_HIERARCHY_EXPANDER has no exception.
Method CREATE_PACKAGE_EXPANDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_EXPANDER | Value transfer | Object reference (TYPE REF TO) | CL_SCV_HIERARCHY_EXPANDER | 20090724 |
Method CREATE_PACKAGE_EXPANDER on class CL_SCV_HIERARCHY_EXPANDER has no exception.
Method EXISTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20090724 | ||||
| 2 | R_EXISTS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090724 |
Method EXISTS on class CL_SCV_HIERARCHY_EXPANDER has no exception.
Method FIND_ELEMENTS_BY_RANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT_RANGE | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20090724 | ||||
| 2 | R_ELEMENTS | Value transfer | Type reference (TYPE) | TY_ELEMENTS | 20090724 |
Method FIND_ELEMENTS_BY_RANGE on class CL_SCV_HIERARCHY_EXPANDER has no exception.
Method GET_ALL_SUBELEMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20090724 | ||||
| 2 | R_ELEMENTS | Value transfer | Type reference (TYPE) | TY_ELEMENTS | 20090724 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090811 |
Method GET_ALL_SUBELEMENTS_INTERN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20090831 | ||||
| 2 | I_EXCLUSION_RANGE | Call by reference | Type reference (TYPE) | TY_ELEMENT_RANGE | 20090831 | ||||
| 3 | I_ROOT_PATH | Call by reference | Type reference (TYPE) | TY_ELEMENTS | Sortierte Liste von Elementen (keine Mehrfacheinträge) | 20090831 | |||
| 4 | R_ELEMENTS | Value transfer | Type reference (TYPE) | TY_ELEMENTS | 20090831 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090831 |
Method GET_ROOT_ELEMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT_RANGE | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20090724 | ||||
| 2 | R_ELEMENTS | Value transfer | Type reference (TYPE) | TY_ELEMENTS | 20090724 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090811 |
Method GET_SUBELEMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20090724 | ||||
| 2 | I_RECURSION_COUNTER | Call by reference | Type reference (TYPE) | I | 0 | 20090811 | |||
| 3 | R_SUBELEMENTS | Value transfer | Type reference (TYPE) | TY_ELEMENTS | 20090724 |
Method GET_SUBELEMENTS on class CL_SCV_HIERARCHY_EXPANDER has no exception.
Method GET_SUPERELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20090724 | ||||
| 2 | R_SUPERELEMENT | Value transfer | Type reference (TYPE) | TY_ELEMENT | 20090724 |
Method GET_SUPERELEMENT on class CL_SCV_HIERARCHY_EXPANDER has no exception.
Method IS_ANY_PARENT_IN_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20090831 | ||||
| 2 | I_ELEMENTS | Call by reference | Type reference (TYPE) | TY_ELEMENTS | Sortierte Liste von Elementen (keine Mehrfacheinträge) | 20090831 | |||
| 3 | R_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090831 |
Method IS_ANY_PARENT_IN_LIST on class CL_SCV_HIERARCHY_EXPANDER has no exception.
Method REPLACE_ACCESSOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT_ACCESSOR | Call by reference | Object reference (TYPE REF TO) | IF_SCV_ELEMENT_ACCESSOR | 20090724 |
Method REPLACE_ACCESSOR on class CL_SCV_HIERARCHY_EXPANDER has no exception.
Method RESOLVE_ELEMENT_RANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT_RANGE | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20090812 | ||||
| 2 | R_ELEMENTS | Value transfer | Type reference (TYPE) | TY_ELEMENTS | 20090812 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090812 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 800 |