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 CL_WER_CONST 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 MR_ELEMENT_LIST Instance attribute Private Object reference (TYPE REF TO) CL_WER_ELEMENT_LIST List of element description of an application 20070731
2 MT_USAGES Instance attribute Private Type reference (TYPE) WER_USAGE_PATH_TTY Usage path 20070730
3 M_APPLICATION Instance attribute Private Type reference (TYPE) WER_APPLICATION_ID Application identifier 20070731
4 M_CHANGED Instance attribute Private Type reference (TYPE) WER_BOOL Boolean: true = X and false = SPACE 20070807
5 M_DEPTH Instance attribute Private Type reference (TYPE) WER_USAGE_DEPTH_LEVEL Usage depth level 20070730
6 M_ID Instance attribute Private Type reference (TYPE) WER_ELEMENT_ID Element unique identifier 20070807
7 M_TYPE Instance attribute Private Type reference (TYPE) WER_ELEMENT_TYPE Element type 20070807
8 SR_CO Static Attribute Private Object reference (TYPE REF TO) CL_WER_CONST Constants 20070731
9 SR_ERR_REPORTER Static Attribute Private Object reference (TYPE REF TO) CL_WER_EXCEPTION_REPORTER Services for raising exceptions 20070807
10 SR_SERVICES Static Attribute Private Object reference (TYPE REF TO) CL_WER_SERVICES Grouping of generic services 20070731
11 SR_STORAGE 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 ADD_ELEMENT Instance method Public Method Add element 20070802
2 BUILD_USAGE_PATH Instance method Private Method Build element usage path 20070731
3 BUILD_USAGE_PATH_FOR_ELEMENT Instance method Private Method Build non-template element usage path 20070802
4 BUILD_USAGE_PATH_FOR_TEMPLATE Instance method Private Method Build template element usage path 20070802
5 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20070731
6 COLLECT_DELETED_CHILDREN Instance method Private Method Collect all the deleted children of an element 20070803
7 COLLECT_PARENTS Instance method Private Method Collect the affected parents 20070801
8 CONSTRUCTOR Instance method Public Constructor Creates an instance of the usage class 20070730
9 CREATE_ELEMENT_USAGE Instance method Private Method Create an element usage entry 20070731
10 DELETE_ELEMENT Instance method Public Method Update the usage list on element deletion 20070801
11 FREE Instance method Public Method Free resources 20070730
12 GET_ASSIGNED_ELEM_PARENT Instance method Private Method Returns the parent element of an assigned element 20070731
13 GET_ELEMENT_USAGES Instance method Private Method Returns the elements using the object 20070731
14 GET_USAGES Instance method Public Method Returns the list of elements using this object 20070730
15 GET_USAGE_DEPTH Instance method Private Method Returns the usage depth of an element 20070801
16 HAS_CHANGED Instance method Public Method Returns flag indicating that the element has changed 20070807
17 LOAD Instance method Public Method Load the usage list into memory 20070731
18 SET_CHANGED Instance method Public Method Set the changed status 20070807
19 SET_SEARCH_DEPTH Instance method Public Method Set search depth level 20070801
20 UPDATE_ELEMENT 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 Importing I_ID Call by reference Type reference (TYPE) WER_ELEMENT_ID Element unique identifier 20070802
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND 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 Importing I_DEPTH Call by reference Type reference (TYPE) WER_USAGE_DEPTH_LEVEL Usage depth level 20070731
2 Importing I_ID Call by reference Type reference (TYPE) WER_ELEMENT_ID Element unique identifier 20070731
3 Importing I_TYPE Call by reference Type reference (TYPE) WER_ELEMENT_TYPE Element type 20070731
4 Changing XT_USAGE Call by reference Type reference (TYPE) WER_USAGE_PATH_TTY Usage path 20070731
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND 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 Importing I_DEPTH Call by reference Type reference (TYPE) WER_USAGE_DEPTH_LEVEL Usage depth level 20070802
2 Importing I_ID Call by reference Type reference (TYPE) WER_ELEMENT_ID Element unique identifier 20070802
3 Importing I_TYPE Call by reference Type reference (TYPE) WER_ELEMENT_TYPE Element type 20070802
4 Changing XT_USAGE Call by reference Type reference (TYPE) WER_USAGE_PATH_TTY Usage path 20070802
# Exception Resumable Description Created on
1 CX_WER_DATA_INVALID Invalid data supplied 20070813
2 CX_WER_DATA_NOT_FOUND 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 Importing I_DEPTH Call by reference Type reference (TYPE) WER_USAGE_DEPTH_LEVEL Usage depth level 20070802
2 Importing I_ID Call by reference Type reference (TYPE) WER_ELEMENT_ID Element unique identifier 20070802
3 Importing I_TYPE Call by reference Type reference (TYPE) WER_ELEMENT_TYPE Element type 20070802
4 Changing XT_USAGE Call by reference Type reference (TYPE) WER_USAGE_PATH_TTY Usage path 20070802
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND 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 Importing I_ID Call by reference Type reference (TYPE) WER_ELEMENT_ID Element unique identifier 20070803
2 Changing XT_AFFECTED_ELEMENT Call by reference Type reference (TYPE) WER_USAGE_PATH_TTY Usage path 20070803
3 Changing 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 Importing I_ID Call by reference Type reference (TYPE) WER_ELEMENT_ID Element unique identifier 20070801
2 Changing 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 Importing IR_ELEMENT_LIST Call by reference Object reference (TYPE REF TO) CL_WER_ELEMENT_LIST List of element description of an application 20070731
2 Importing I_ID Call by reference Type reference (TYPE) WER_ELEMENT_ID Element unique identifier 20070730
3 Importing 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 Importing I_CHILD Call by reference Type reference (TYPE) WER_ELEMENT_ID Element unique identifier 20070731
2 Importing I_PARENT Call by reference Type reference (TYPE) WER_ELEMENT_ID Element unique identifier 20070731
3 Importing I_TYPE Call by reference Type reference (TYPE) WER_ELEMENT_TYPE Element type 20070731
4 Returning RS_USAGE Value transfer Type reference (TYPE) WER_USAGE_PATH_STY Element usage path 20070731
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20070813

Method DELETE_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 Importing I_APPLICATION Call by reference Type reference (TYPE) WER_APPLICATION_ID Application identifier 20070731
2 Importing I_ELEMENT Call by reference Type reference (TYPE) WER_ELEMENT_ID Element unique identifier 20070731
3 Returning 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 Importing I_ID Call by reference Type reference (TYPE) WER_ELEMENT_ID Element unique identifier 20070731
2 Importing I_TYPE Call by reference Type reference (TYPE) WER_ELEMENT_TYPE Element type 20070731
3 Returning RT_USAGE_PATH Value transfer Object reference (TYPE REF TO) WER_USAGE_PATH_TTY Usage path 20070731
# Exception Resumable Description Created on
1 CX_WER_DATA_INVALID Invalid data supplied 20070731
2 CX_WER_DATA_NOT_FOUND Value does not exist 20070731

Method GET_USAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DEPTH Call by reference Type reference (TYPE) WER_USAGE_DEPTH_LEVEL Usage depth level 20070730
2 Returning 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 Importing IS_USAGE Call by reference Type reference (TYPE) WER_USAGE_PATH_STY Element usage path 20070801
2 Returning 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 Returning 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 CX_WER_DATA_NOT_FOUND Value does not exist 20070813

Method SET_CHANGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 Importing I_DEPTH Call by reference Type reference (TYPE) WER_USAGE_DEPTH_LEVEL Usage depth level 20070801
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20070813

Method UPDATE_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ID Call by reference Type reference (TYPE) WER_ELEMENT_ID Element unique identifier 20070802
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20070813
History
Last changed by/on SAP  20100310 
SAP Release Created in 603