SAP ABAP Class CL_WER_WORKLIST (Work list of elements)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-MD-MM (Application Component) Material Master
     WER_BUSINESS (Package) Business Layer
Properties
Class CL_WER_WORKLIST  
Short Description Work list of elements    
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_WORKLIST has no interface implemented.
Friends
Class CL_WER_WORKLIST has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MR_CURRENT_ELEMENT Instance attribute Private Object reference (TYPE REF TO) IF_WER_ELEMENT Current element 20070820
2 MR_ELEMENT_LIST Instance attribute Private Object reference (TYPE REF TO) CL_WER_ELEMENT_LIST List of element description of an application 20070731
3 MT_ELEMENTS Instance attribute Private Type reference (TYPE) WER_WORKLIST_TTY Worklist ltems 20070724
4 SR_CO Static Attribute Private Object reference (TYPE REF TO) CL_WER_CONST Constants 20070726
5 SR_FACTORY Static Attribute Private Object reference (TYPE REF TO) CL_WER_FACTORY Factory for persistent objects 20070731
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ELEMENT Instance method Public Method Adds a new element to work list 20070724
2 ADD_ELEMENT_BY_ID Instance method Public Method Adds an element to worklist by id 20070731
3 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20070726
4 CLEAR_WORKLIST Instance method Public Method Removes all elements from worklist 20070806
5 DELETE_ELEMENT Instance method Public Method Remove an element from work list 20070724
6 FREE Instance method Public Method Free memory 20070724
7 GET_ELEMENT Instance method Public Method Returns an element from the work list 20070724
8 GET_ELEMENTS Instance method Public Method Returns all elements in worklist 20070731
9 HAS_UNSAVED_ELEMENT Instance method Public Method Returns true if worklist contains at least one unsaved elt 20070816
10 INSERT_ELEMENT Instance method Private Method Insert element in worklist 20070724
11 IS_ELEMENT_IN_WORKLIST Instance method Public Method Returns true if element is contained in work list 20070725
12 IS_ELEMENT_NEW Instance method Public Method Returns true if the element is new 20070815
13 ON_ELEMENT_ADDED Instance method Private Event handling method Handles element addition in the application 20070815
14 ON_ELEMENT_DELETED Instance method Private Event handling method Handles element deletion from application 20070731
15 ON_ELEMENT_UPDATED Instance method Private Event handling method Handles element update in application 20070731
16 REGISTER_EVENTS Instance method Private Method Registers event 20070731
17 SET_ELEMENT Instance method Public Method Sets current element 20070820
18 SET_ELEMENT_LIST Instance method Public Method Set element list 20070731
Events
# Event Type Visibility Description Created on
1 ELEMENT_ADDED Instance Event
(0)
Public
(2)
Event is raised when an element is added to worklist 20070731
2 ELEMENT_DELETED Instance Event
(0)
Public
(2)
Event is raised when an element is deleted from application 20070725
3 ELEMENT_UPDATED Instance Event
(0)
Public
(2)
Event is raised when an element is updated in application 20070731
Types
Class CL_WER_WORKLIST 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 IR_ELEMENT Call by reference Object reference (TYPE REF TO) IF_WER_ELEMENT Element object 20070726
2 Importing I_NEW Call by reference Type reference (TYPE) WER_BOOL CL_WER_CONST=>C_FALSE Boolean: true = X and false = SPACE 20070815
# Exception Resumable Description Created on
1 CX_WER_DATA_EXISTS Unique identifier exists 20070724

Method ADD_ELEMENT_BY_ID 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
# Exception Resumable Description Created on
1 CX_WER_DATA_EXISTS Unique identifier exists 20070731
2 CX_WER_DATA_NOT_FOUND Value does not exist 20070731

Method CLASS_CONSTRUCTOR Signature

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

Method CLEAR_WORKLIST Signature

Method CLEAR_WORKLIST on class CL_WER_WORKLIST has no parameter.
Method CLEAR_WORKLIST on class CL_WER_WORKLIST has no exception.

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 20070724
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20070724

Method FREE Signature

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

Method GET_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 20070724
2 Returning RR_ELEMENT Value transfer Object reference (TYPE REF TO) IF_WER_ELEMENT Reference to the element 20070724
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20070725

Method GET_ELEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RRT_ELEMENTS Value transfer Object reference (TYPE REF TO) WER_WORKLIST_TTY Worklist ltems 20070731

Method GET_ELEMENTS on class CL_WER_WORKLIST has no exception.

Method HAS_UNSAVED_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_UNSAVED_ELEMENT Value transfer Type reference (TYPE) WER_BOOL Worklist contains one or more unsaved element 20070816

Method HAS_UNSAVED_ELEMENT on class CL_WER_WORKLIST has no exception.

Method INSERT_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ELEMENT Call by reference Object reference (TYPE REF TO) IF_WER_ELEMENT Element object 20070726
2 Importing I_APPLICATION Call by reference Type reference (TYPE) WER_APPLICATION_ID Application identifier 20070724
3 Importing I_ID Call by reference Type reference (TYPE) WER_ELEMENT_ID Element unique identifier 20070724
4 Importing I_STATUS Call by reference Type reference (TYPE) WER_ELEMENT_STATUS Status of an element 20070815
5 Importing I_TYPE Call by reference Type reference (TYPE) WER_ELEMENT_TYPE Element type 20070724

Method INSERT_ELEMENT on class CL_WER_WORKLIST has no exception.

Method IS_ELEMENT_IN_WORKLIST 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 20070725
2 Returning R_IS_IN Value transfer Type reference (TYPE) WER_BOOL Boolean: true = X and false = SPACE 20070725

Method IS_ELEMENT_IN_WORKLIST on class CL_WER_WORKLIST has no exception.

Method IS_ELEMENT_NEW 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 20070815
2 Returning R_NEW 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 ON_ELEMENT_ADDED 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) 20070815

Method ON_ELEMENT_ADDED on class CL_WER_WORKLIST 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) 20070731

Method ON_ELEMENT_DELETED on class CL_WER_WORKLIST has no exception.

Method ON_ELEMENT_UPDATED 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) 20070731

Method ON_ELEMENT_UPDATED on class CL_WER_WORKLIST has no exception.

Method REGISTER_EVENTS Signature

Method REGISTER_EVENTS on class CL_WER_WORKLIST has no parameter.
Method REGISTER_EVENTS on class CL_WER_WORKLIST has no exception.

Method SET_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ELEMENT Call by reference Object reference (TYPE REF TO) IF_WER_ELEMENT Rule element base 20070820

Method SET_ELEMENT on class CL_WER_WORKLIST 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 20070731

Method SET_ELEMENT_LIST on class CL_WER_WORKLIST has no exception.
Event Signatures

Event ELEMENT_ADDED Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 ER_ELEMENT Exporting Value transfer Object reference (TYPE REF TO) IF_WER_ELEMENT Rule element base 20070731

Event ELEMENT_DELETED Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 E_ID Exporting Value transfer Type reference (TYPE) WER_ELEMENT_ID Element unique identifier 20070725

Event ELEMENT_UPDATED Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 E_HAS_CHANGED Exporting Value transfer Type reference (TYPE) WER_BOOL Has element changed 20070816
2 E_ID Exporting Value transfer Type reference (TYPE) WER_ELEMENT_ID Element unique identifier 20070731
3 E_NEW_NAME Exporting Value transfer Type reference (TYPE) WER_ELEMENT_NAME Element name 20070731
History
Last changed by/on SAP  20100310 
SAP Release Created in 603