SAP ABAP Class CL_WER_MESSAGE_LISTENER (For listening and handling message publishing)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-MD-MM (Application Component) Material Master
     WER_UTILITIES (Package) Utilities
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_WER_MESSAGE_MANAGER Message manager 20060630
Properties
Class CL_WER_MESSAGE_LISTENER  
Short Description For listening and handling message publishing    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package WER_UTILITIES   Utilities 
Created 20060630   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_MESSAGE_LISTENER has no interface implemented.
Friends
Class CL_WER_MESSAGE_LISTENER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 M_APPLICATION Instance attribute Protected Type reference (TYPE) WER_APPLICATION_NAME Name of an application element 20061031
2 M_EVENT Instance attribute Protected Type reference (TYPE) WER_EVENT_NAME Name of an event 20061031
3 M_ITEM Instance attribute Protected Type reference (TYPE) STRING Key string representing an item 20061031
4 M_RULE Instance attribute Protected Type reference (TYPE) WER_ELEMENT_NAME Element name 20061031
5 SR_CO Static Attribute Protected Object reference (TYPE REF TO) CL_WER_CONST Constants 20060730
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MESSAGES Instance method Protected Method ABSTACT: Adds the messages given in parameter 20060730
2 CLASS_CONSTRUCTOR Static method Public Constructor 20060730
3 CLEAR_MESSAGES Instance method Public Method ABSTACT: Clears the messagesof the type supplied 20060630
4 CONSTRUCTOR Instance method Public Constructor 20060630
5 FREE Instance method Public Method Clears the message tables and event handling 20070109
6 GET_MESSAGES Instance method Public Method ABSTACT: Returns all messages 20060718
7 GET_MESSAGES_WITH_CONTEXT Instance method Public Method ABSTACT: Returns the messages corresponding to the type supp 20060718
8 HAS_MESSAGES Instance method Public Method ABSTACT: Returns true(X) if there is one or more messages 20060728
9 ON_CLEAR_MESSAGES Instance method Protected Event handling method Event handler for IF_WER_MESSAGE_PUBLISHER~CLEAR_MESSAGES 20060728
10 ON_CURRENT_APPLICATION Instance method Protected Event handling method Event handler for IF_WER_MESSAGE_PUBLISHER~CURRENT_APPLCIATI 20061031
11 ON_CURRENT_EVENT Instance method Protected Event handling method Event handler for IF_WER_MESSAGE_PUBLISHER~CURRENT_EVENT 20061031
12 ON_CURRENT_ITEM Instance method Protected Event handling method Event handler for IF_WER_MESSAGE_PUBLISHER~CURRENT_ITEM 20061031
13 ON_CURRENT_RULE Instance method Protected Event handling method Event handler for IF_WER_MESSAGE_PUBLISHER~CURRENT_RULE 20061031
14 ON_ITEM_ERROR Instance method Protected Event handling method Event handler for IF_WER_MESSAGE_PUBLISHER~ITEM_ERROR 20070109
15 ON_PUBLISH_MESSAGES Instance method Protected Event handling method Event handler for IF_W..._PUBLISH~PUBLISH_MESSAGES 20060728
16 SET_HANDLERS Instance method Protected Method Registers the method ON_MESSAGES_PUBLISHED. 20061031
Events
# Event Type Visibility Description Created on
1 MESSAGE_UPDATE Instance Event
(0)
Public
(2)
Inform listeners that messages where updated 20060728
Types
Class CL_WER_MESSAGE_LISTENER has no local type.
Method Signatures

Method ADD_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ES_MESSAGE Call by reference Type reference (TYPE) BAL_S_MSG Application Log: Message Data 20060730
2 Importing ET_MESSAGES Call by reference Type reference (TYPE) WER_MSG_TTY Application Log: Table with Messages 20060730

Method ADD_MESSAGES on class CL_WER_MESSAGE_LISTENER has no exception.

Method CLASS_CONSTRUCTOR Signature

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

Method CLEAR_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MESSAGE_TYPE Call by reference Type reference (TYPE) WER_MSG_FILTER CL_WER_CONST=>C_MSG_ALL All messages 20060630

Method CLEAR_MESSAGES on class CL_WER_MESSAGE_LISTENER has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_WER_MESSAGE_LISTENER has no parameter.
Method CONSTRUCTOR on class CL_WER_MESSAGE_LISTENER has no exception.

Method FREE Signature

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

Method GET_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RR_MESSAGES Value transfer Object reference (TYPE REF TO) WER_MSG_TTY Application Log: Table with Messages 20060814

Method GET_MESSAGES on class CL_WER_MESSAGE_LISTENER has no exception.

Method GET_MESSAGES_WITH_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MESSAGE_TYPE Call by reference Type reference (TYPE) WER_MSG_FILTER CL_WER_CONST=>C_MSG_ALL Requested message type mask 20060718
2 Returning RR_MESSAGES Value transfer Object reference (TYPE REF TO) WER_MESSAGE_TTY Rule engine message table 20060814

Method GET_MESSAGES_WITH_CONTEXT on class CL_WER_MESSAGE_LISTENER has no exception.

Method HAS_MESSAGES Signature

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

Method HAS_MESSAGES on class CL_WER_MESSAGE_LISTENER has no exception.

Method ON_CLEAR_MESSAGES Signature

Method ON_CLEAR_MESSAGES on class CL_WER_MESSAGE_LISTENER has no parameter.
Method ON_CLEAR_MESSAGES on class CL_WER_MESSAGE_LISTENER has no exception.

Method ON_CURRENT_APPLICATION Signature

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

Method ON_CURRENT_APPLICATION on class CL_WER_MESSAGE_LISTENER has no exception.

Method ON_CURRENT_EVENT Signature

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

Method ON_CURRENT_EVENT on class CL_WER_MESSAGE_LISTENER has no exception.

Method ON_CURRENT_ITEM Signature

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

Method ON_CURRENT_ITEM on class CL_WER_MESSAGE_LISTENER has no exception.

Method ON_CURRENT_RULE Signature

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

Method ON_CURRENT_RULE on class CL_WER_MESSAGE_LISTENER has no exception.

Method ON_ITEM_ERROR Signature

Method ON_ITEM_ERROR on class CL_WER_MESSAGE_LISTENER has no parameter.
Method ON_ITEM_ERROR on class CL_WER_MESSAGE_LISTENER has no exception.

Method ON_PUBLISH_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ER_MESSAGES Value transfer Attribute reference (LIKE) 20060817
2 Importing ES_MESSAGE Value transfer Attribute reference (LIKE) >INVALID< 20060728

Method ON_PUBLISH_MESSAGES on class CL_WER_MESSAGE_LISTENER has no exception.

Method SET_HANDLERS Signature

Method SET_HANDLERS on class CL_WER_MESSAGE_LISTENER has no parameter.
Method SET_HANDLERS on class CL_WER_MESSAGE_LISTENER has no exception.
Event Signatures

Event MESSAGE_UPDATE Signature
Event MESSAGE_UPDATE on class CL_WER_MESSAGE_LISTENER has no parameter.
History
Last changed by/on SAP  20100310 
SAP Release Created in 700