SAP ABAP Class CL_WER_USAGE (Contains an element usages)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
LO-MD-MM (Application Component) Material Master
⤷
WER_BUSINESS (Package) Business Layer
⤷
⤷
Properties
| Class | CL_WER_USAGE | |
| Short Description | Contains an element usages | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | WER_BUSINESS | Business Layer |
| Created | 20070724 | SAP |
| Last change | 20100310 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_WER_USAGE has no interface implemented.
Friends
Class CL_WER_USAGE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_WER_ELEMENT_LIST | List of element description of an application | 20070731 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | WER_USAGE_PATH_TTY | Usage path | 20070730 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | WER_APPLICATION_ID | Application identifier | 20070731 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | WER_BOOL | Boolean: true = X and false = SPACE | 20070807 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | WER_USAGE_DEPTH_LEVEL | Usage depth level | 20070730 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | WER_ELEMENT_ID | Element unique identifier | 20070807 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | WER_ELEMENT_TYPE | Element type | 20070807 | |||
| 8 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_WER_CONST | Constants | 20070731 | |||
| 9 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_WER_EXCEPTION_REPORTER | Services for raising exceptions | 20070807 | |||
| 10 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_WER_SERVICES | Grouping of generic services | 20070731 | |||
| 11 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_WER_STORAGE | For saving and loading from database | 20070731 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add element | 20070802 | |
| 2 | Instance method | Private | Method | Build element usage path | 20070731 | |
| 3 | Instance method | Private | Method | Build non-template element usage path | 20070802 | |
| 4 | Instance method | Private | Method | Build template element usage path | 20070802 | |
| 5 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20070731 | |
| 6 | Instance method | Private | Method | Collect all the deleted children of an element | 20070803 | |
| 7 | Instance method | Private | Method | Collect the affected parents | 20070801 | |
| 8 | Instance method | Public | Constructor | Creates an instance of the usage class | 20070730 | |
| 9 | Instance method | Private | Method | Create an element usage entry | 20070731 | |
| 10 | Instance method | Public | Method | Update the usage list on element deletion | 20070801 | |
| 11 | Instance method | Public | Method | Free resources | 20070730 | |
| 12 | Instance method | Private | Method | Returns the parent element of an assigned element | 20070731 | |
| 13 | Instance method | Private | Method | Returns the elements using the object | 20070731 | |
| 14 | Instance method | Public | Method | Returns the list of elements using this object | 20070730 | |
| 15 | Instance method | Private | Method | Returns the usage depth of an element | 20070801 | |
| 16 | Instance method | Public | Method | Returns flag indicating that the element has changed | 20070807 | |
| 17 | Instance method | Public | Method | Load the usage list into memory | 20070731 | |
| 18 | Instance method | Public | Method | Set the changed status | 20070807 | |
| 19 | Instance method | Public | Method | Set search depth level | 20070801 | |
| 20 | Instance method | Public | Method | Update the usage list on element change | 20070802 |
Events
Class CL_WER_USAGE has no event.
Types
Class CL_WER_USAGE has no local type.
Method Signatures
Method ADD_ELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ID | Call by reference | Type reference (TYPE) | WER_ELEMENT_ID | Element unique identifier | 20070802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20070813 |
Method BUILD_USAGE_PATH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DEPTH | Call by reference | Type reference (TYPE) | WER_USAGE_DEPTH_LEVEL | Usage depth level | 20070731 | |||
| 2 | I_ID | Call by reference | Type reference (TYPE) | WER_ELEMENT_ID | Element unique identifier | 20070731 | |||
| 3 | I_TYPE | Call by reference | Type reference (TYPE) | WER_ELEMENT_TYPE | Element type | 20070731 | |||
| 4 | XT_USAGE | Call by reference | Type reference (TYPE) | WER_USAGE_PATH_TTY | Usage path | 20070731 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20070813 |
Method BUILD_USAGE_PATH_FOR_ELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DEPTH | Call by reference | Type reference (TYPE) | WER_USAGE_DEPTH_LEVEL | Usage depth level | 20070802 | |||
| 2 | I_ID | Call by reference | Type reference (TYPE) | WER_ELEMENT_ID | Element unique identifier | 20070802 | |||
| 3 | I_TYPE | Call by reference | Type reference (TYPE) | WER_ELEMENT_TYPE | Element type | 20070802 | |||
| 4 | XT_USAGE | Call by reference | Type reference (TYPE) | WER_USAGE_PATH_TTY | Usage path | 20070802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20070813 | ||
| 2 | Value does not exist | 20070813 |
Method BUILD_USAGE_PATH_FOR_TEMPLATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DEPTH | Call by reference | Type reference (TYPE) | WER_USAGE_DEPTH_LEVEL | Usage depth level | 20070802 | |||
| 2 | I_ID | Call by reference | Type reference (TYPE) | WER_ELEMENT_ID | Element unique identifier | 20070802 | |||
| 3 | I_TYPE | Call by reference | Type reference (TYPE) | WER_ELEMENT_TYPE | Element type | 20070802 | |||
| 4 | XT_USAGE | Call by reference | Type reference (TYPE) | WER_USAGE_PATH_TTY | Usage path | 20070802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20070813 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_WER_USAGE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WER_USAGE has no exception.
Method COLLECT_DELETED_CHILDREN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ID | Call by reference | Type reference (TYPE) | WER_ELEMENT_ID | Element unique identifier | 20070803 | |||
| 2 | XT_AFFECTED_ELEMENT | Call by reference | Type reference (TYPE) | WER_USAGE_PATH_TTY | Usage path | 20070803 | |||
| 3 | XT_DELETED | Call by reference | Type reference (TYPE) | WER_USAGE_PATH_TTY | Usage path | 20070803 |
Method COLLECT_DELETED_CHILDREN on class CL_WER_USAGE has no exception.
Method COLLECT_PARENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ID | Call by reference | Type reference (TYPE) | WER_ELEMENT_ID | Element unique identifier | 20070801 | |||
| 2 | XT_PARENTS | Call by reference | Type reference (TYPE) | WER_USAGE_PATH_TTY | Usage path | 20070801 |
Method COLLECT_PARENTS on class CL_WER_USAGE has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_ELEMENT_LIST | Call by reference | Object reference (TYPE REF TO) | CL_WER_ELEMENT_LIST | List of element description of an application | 20070731 | |||
| 2 | I_ID | Call by reference | Type reference (TYPE) | WER_ELEMENT_ID | Element unique identifier | 20070730 | |||
| 3 | I_TYPE | Call by reference | Type reference (TYPE) | WER_ELEMENT_TYPE | Element type | 20070731 |
Method CONSTRUCTOR on class CL_WER_USAGE has no exception.
Method CREATE_ELEMENT_USAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CHILD | Call by reference | Type reference (TYPE) | WER_ELEMENT_ID | Element unique identifier | 20070731 | |||
| 2 | I_PARENT | Call by reference | Type reference (TYPE) | WER_ELEMENT_ID | Element unique identifier | 20070731 | |||
| 3 | I_TYPE | Call by reference | Type reference (TYPE) | WER_ELEMENT_TYPE | Element type | 20070731 | |||
| 4 | RS_USAGE | Value transfer | Type reference (TYPE) | WER_USAGE_PATH_STY | Element usage path | 20070731 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20070813 |
Method DELETE_ELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ID | Call by reference | Type reference (TYPE) | WER_ELEMENT_ID | Element unique identifier | 20070801 |
Method DELETE_ELEMENT on class CL_WER_USAGE has no exception.
Method FREE Signature
Method FREE on class CL_WER_USAGE has no parameter.
Method FREE on class CL_WER_USAGE has no exception.
Method GET_ASSIGNED_ELEM_PARENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APPLICATION | Call by reference | Type reference (TYPE) | WER_APPLICATION_ID | Application identifier | 20070731 | |||
| 2 | I_ELEMENT | Call by reference | Type reference (TYPE) | WER_ELEMENT_ID | Element unique identifier | 20070731 | |||
| 3 | RT_ELEMENT | Value transfer | Object reference (TYPE REF TO) | WER_ELEMENT_ID_TTY | List of element identificators | 20070731 |
Method GET_ASSIGNED_ELEM_PARENT on class CL_WER_USAGE has no exception.
Method GET_ELEMENT_USAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ID | Call by reference | Type reference (TYPE) | WER_ELEMENT_ID | Element unique identifier | 20070731 | |||
| 2 | I_TYPE | Call by reference | Type reference (TYPE) | WER_ELEMENT_TYPE | Element type | 20070731 | |||
| 3 | RT_USAGE_PATH | Value transfer | Object reference (TYPE REF TO) | WER_USAGE_PATH_TTY | Usage path | 20070731 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20070731 | ||
| 2 | Value does not exist | 20070731 |
Method GET_USAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DEPTH | Call by reference | Type reference (TYPE) | WER_USAGE_DEPTH_LEVEL | Usage depth level | 20070730 | |||
| 2 | RT_PATHS | Value transfer | Object reference (TYPE REF TO) | WER_USAGE_PATH_TTY | Usage path | 20070730 |
Method GET_USAGES on class CL_WER_USAGE has no exception.
Method GET_USAGE_DEPTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_USAGE | Call by reference | Type reference (TYPE) | WER_USAGE_PATH_STY | Element usage path | 20070801 | |||
| 2 | R_DEPTH | Value transfer | Type reference (TYPE) | WER_USAGE_DEPTH_LEVEL | Usage depth level | 20070801 |
Method GET_USAGE_DEPTH on class CL_WER_USAGE has no exception.
Method HAS_CHANGED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_CHANGED | Value transfer | Type reference (TYPE) | WER_BOOL | Boolean: true = X and false = SPACE | 20070807 |
Method HAS_CHANGED on class CL_WER_USAGE has no exception.
Method LOAD Signature
Method LOAD on class CL_WER_USAGE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20070813 |
Method SET_CHANGED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CHANGED | Call by reference | Type reference (TYPE) | WER_BOOL | Boolean: true = X and false = SPACE | 20070807 |
Method SET_CHANGED on class CL_WER_USAGE has no exception.
Method SET_SEARCH_DEPTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DEPTH | Call by reference | Type reference (TYPE) | WER_USAGE_DEPTH_LEVEL | Usage depth level | 20070801 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20070813 |
Method UPDATE_ELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ID | Call by reference | Type reference (TYPE) | WER_ELEMENT_ID | Element unique identifier | 20070802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20070813 |
History
| Last changed by/on | SAP | 20100310 |
| SAP Release Created in | 603 |