SAP ABAP Class CL_WER_WHERE_USED (Contains the list of 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_WHERE_USED  
Short Description Contains the list of 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 20070730   SAP 
Last change 20100310   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_WER_WHERE_USED has no forward declaration.
Interfaces
Class CL_WER_WHERE_USED has no interface implemented.
Friends
Class CL_WER_WHERE_USED 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 20070730
2 MT_USAGES Instance attribute Private Type reference (TYPE) WER_USAGE_OBJECT_TTY Usages objects 20070730
3 M_CHANGED Instance attribute Private Type reference (TYPE) WER_BOOL Boolean: true = X and false = SPACE 20070731
4 M_ID Instance attribute Private Type reference (TYPE) WER_ELEMENT_ID Element unique identifier 20070807
5 M_TYPE Instance attribute Private Type reference (TYPE) WER_ELEMENT_TYPE Element type 20070807
6 SR_CO Static Attribute Private Object reference (TYPE REF TO) CL_WER_CONST Constants 20070731
7 SR_FACTORY Static Attribute Private Object reference (TYPE REF TO) CL_WER_FACTORY Factory for persistent objects 20070801
8 SR_SERVICES Static Attribute Private Object reference (TYPE REF TO) CL_WER_SERVICES Grouping of generic services 20070730
9 SR_STORAGE Static Attribute Private Object reference (TYPE REF TO) CL_WER_STORAGE For saving and loading from database 20070801
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20070730
2 CREATE_USAGE_INSTANCE Instance method Private Method Create a usage instance 20070731
3 ELEMENT_HAS_USAGES Instance method Public Method Returns true if the element has usages 20070815
4 FREE Instance method Public Method Free resources 20070730
5 FREE_USAGES Instance method Private Method Free the usage instances 20070808
6 GET_APPLICATION_ID Instance method Private Method Returns the application id 20070801
7 GET_CONDITION_OBJECTS Instance method Private Method Get condition sub objects 20070801
8 GET_CONDITION_OBJECTS_BY_REF Instance method Private Method Get condition sub objects 20070802
9 GET_ELEMENT_USAGES Instance method Public Method Returns the list of elements using this object 20070807
10 GET_EVENT_OBJECTS Instance method Private Method Get event sub objects 20070801
11 GET_QUERY_ELEMENT Instance method Public Method Returns the queried element attributes 20070730
12 GET_QUERY_ELEMENT_DATA Instance method Public Method Returns the data of the queried element 20070815
13 GET_RULE_ELEM_OBJECTS_BY_REF Instance method Private Method Get rule element sub objects 20070802
14 GET_RULE_OBJECTS Instance method Private Method Get rule sub objects 20070801
15 GET_RULE_SET_OBJECTS Instance method Private Method Get rule set sub objects 20070801
16 GET_SEARCH_DEPTH Instance method Private Method Returns the search depth level for a type 20070801
17 HAS_CHANGED Instance method Public Method Returns true is a change was made 20070731
18 HAS_QUERY_ELEMENT Instance method Public Method Returns true if the queried element is set 20070820
19 LOAD Instance method Public Method Reload the usage list 20070731
20 ON_ELEMENT_CHANGED Instance method Private Event handling method Update the usage list on element change 20070730
21 ON_ELEMENT_CREATED Instance method Private Event handling method Update the usage list on element creation 20070730
22 ON_ELEMENT_DELETED Instance method Private Event handling method Update the usage list on element deletion 20070730
23 SET_CHANGED Instance method Public Method Sets the changed status 20070731
24 SET_ELEMENT_LIST Instance method Public Method Set the current element list 20070730
25 SET_HANDLER Instance method Private Method Set event handlers 20070801
26 SET_QUERY_ELEMENT Instance method Public Method Set element queried 20070807
Events
# Event Type Visibility Description Created on
1 APPLICATION_CHANGED Instance Event
(0)
Public
(2)
Notify that the application has changed 20070806
2 ELEMENT_CHANGED Instance Event
(0)
Public
(2)
Notify that the elements in the where-used list have changed 20070730
Types
Class CL_WER_WHERE_USED has no local type.
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_WER_WHERE_USED has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WER_WHERE_USED has no exception.

Method CREATE_USAGE_INSTANCE 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
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 Returning RR_USAGE Value transfer Object reference (TYPE REF TO) CL_WER_USAGE Contains an element usages 20070731
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20070814

Method ELEMENT_HAS_USAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_HAS_USAGES Value transfer Type reference (TYPE) WER_BOOL Boolean: true = X and false = SPACE 20070815
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20070815

Method FREE Signature

Method FREE on class CL_WER_WHERE_USED has no parameter.
Method FREE on class CL_WER_WHERE_USED has no exception.

Method FREE_USAGES Signature

Method FREE_USAGES on class CL_WER_WHERE_USED has no parameter.
Method FREE_USAGES on class CL_WER_WHERE_USED has no exception.

Method GET_APPLICATION_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_APPLICATION Value transfer Type reference (TYPE) WER_APPLICATION_ID Application identifier 20070801

Method GET_APPLICATION_ID on class CL_WER_WHERE_USED has no exception.

Method GET_CONDITION_OBJECTS 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 Returning RT_ELEMENT Value transfer Object reference (TYPE REF TO) WER_ELEMENT_ID_TTY List of element identificators 20070801
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20070813

Method GET_CONDITION_OBJECTS_BY_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_CONDITION Call by reference Object reference (TYPE REF TO) CL_WER_CONDITION Adapter for IF_FDT_AND_OR implementors 20070802
2 Returning RT_ELEMENT Value transfer Object reference (TYPE REF TO) WER_ELEMENT_ID_TTY List of element identificators 20070802

Method GET_CONDITION_OBJECTS_BY_REF on class CL_WER_WHERE_USED 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_DEPTH Call by reference Type reference (TYPE) WER_USAGE_DEPTH_LEVEL Usage depth level 20070807
2 Importing I_ID Call by reference Type reference (TYPE) WER_ELEMENT_ID Element unique identifier 20070807
3 Importing I_TYPE Call by reference Type reference (TYPE) WER_ELEMENT_TYPE Element type 20070807
4 Returning RT_PATHS Value transfer Object reference (TYPE REF TO) WER_USAGE_PATH_TTY Usage path 20070807
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20070814

Method GET_EVENT_OBJECTS 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 Returning RT_ELEMENT Value transfer Object reference (TYPE REF TO) WER_ELEMENT_ID_TTY List of element identificators 20070801
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20070813

Method GET_QUERY_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_ID Call by reference Type reference (TYPE) WER_ELEMENT_ID Element unique identifier 20070807
2 Exporting E_TYPE Call by reference Type reference (TYPE) WER_ELEMENT_TYPE Element type 20070807

Method GET_QUERY_ELEMENT on class CL_WER_WHERE_USED has no exception.

Method GET_QUERY_ELEMENT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_ELEMENT Value transfer Type reference (TYPE) WER_ELEMENT_STY Element identification (id, name, description, type) 20070815
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20070816

Method GET_RULE_ELEM_OBJECTS_BY_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_RULE_ELEMENT Call by reference Object reference (TYPE REF TO) IF_WER_RULE_ELEMENT Rule element 20070802
2 Returning RT_ELEMENT Value transfer Object reference (TYPE REF TO) WER_ELEMENT_ID_TTY List of element identificators 20070802

Method GET_RULE_ELEM_OBJECTS_BY_REF on class CL_WER_WHERE_USED has no exception.

Method GET_RULE_OBJECTS 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 Returning RT_ELEMENT Value transfer Object reference (TYPE REF TO) WER_ELEMENT_ID_TTY List of element identificators 20070801
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20070813

Method GET_RULE_SET_OBJECTS 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 Returning RT_ELEMENT Value transfer Object reference (TYPE REF TO) WER_ELEMENT_ID_TTY List of element identificators 20070801
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20070813

Method GET_SEARCH_DEPTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TYPE Call by reference Type reference (TYPE) WER_ELEMENT_TYPE Element type 20070801
2 Returning R_DEPTH Value transfer Type reference (TYPE) WER_USAGE_DEPTH_LEVEL Usage depth level 20070801

Method GET_SEARCH_DEPTH on class CL_WER_WHERE_USED 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 20070731

Method HAS_CHANGED on class CL_WER_WHERE_USED has no exception.

Method HAS_QUERY_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_EXIST Value transfer Type reference (TYPE) WER_BOOL Boolean: true = X and false = SPACE 20070820

Method HAS_QUERY_ELEMENT on class CL_WER_WHERE_USED has no exception.

Method LOAD Signature

Method LOAD on class CL_WER_WHERE_USED has no parameter.
Method LOAD on class CL_WER_WHERE_USED has no exception.

Method ON_ELEMENT_CHANGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing E_ID Call by reference Attribute reference (LIKE) 20070730
2 Importing E_TYPE Call by reference Attribute reference (LIKE) 20070802

Method ON_ELEMENT_CHANGED on class CL_WER_WHERE_USED has no exception.

Method ON_ELEMENT_CREATED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing E_ID Call by reference Attribute reference (LIKE) 20070730
2 Importing E_TYPE Call by reference Attribute reference (LIKE) 20070801

Method ON_ELEMENT_CREATED on class CL_WER_WHERE_USED has no exception.

Method ON_ELEMENT_DELETED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing E_ID Call by reference Attribute reference (LIKE) 20070730

Method ON_ELEMENT_DELETED on class CL_WER_WHERE_USED has no exception.

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 20070731

Method SET_CHANGED on class CL_WER_WHERE_USED has no exception.

Method SET_ELEMENT_LIST 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 20070730

Method SET_ELEMENT_LIST on class CL_WER_WHERE_USED has no exception.

Method SET_HANDLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACTIVATE Call by reference Type reference (TYPE) WER_BOOL Boolean: true = X and false = SPACE 20070801

Method SET_HANDLER on class CL_WER_WHERE_USED has no exception.

Method SET_QUERY_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 20070807
2 Importing I_TYPE Call by reference Type reference (TYPE) WER_ELEMENT_TYPE Element type 20070807

Method SET_QUERY_ELEMENT on class CL_WER_WHERE_USED has no exception.
Event Signatures

Event APPLICATION_CHANGED Signature
Event APPLICATION_CHANGED on class CL_WER_WHERE_USED has no parameter.
Event ELEMENT_CHANGED Signature
Event ELEMENT_CHANGED on class CL_WER_WHERE_USED has no parameter.
History
Last changed by/on SAP  20100310 
SAP Release Created in 603