SAP ABAP Class CL_WER_MESSAGE_PUBLISHER (Service class for publishing messages)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
LO-MD-MM (Application Component) Material Master
⤷
WER_UTILITIES (Package) Utilities
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_WER_MESSAGE_PUBLISHER | Defines an event for publishing messages | 20060801 |
Properties
| Class | CL_WER_MESSAGE_PUBLISHER | |
| Short Description | Service class for publishing messages | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | WER_UTILITIES | Utilities |
| Created | 20060801 | 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) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_WER_MESSAGE_PUBLISHER | Defines an event for publishing messages | 20060801 |
Friends
Class CL_WER_MESSAGE_PUBLISHER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_WER_CONST | Constants | 20060801 | |||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_WER_MESSAGE_PUBLISHER | Singleton instance | 20060801 | |||
| 3 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_WER_SERVICES | Grouping of generic services | 20060801 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | 20060801 | ||
| 2 | Static method | Public | Method | Returns the singleton instance | 20060801 | |
| 3 | Instance method | Public | Method | Raise the event IF_WER_MESSAGE_PUBLISHER~CLEAR_MESSAGES | 20060801 | |
| 4 | Instance method | Public | Method | Raise event IF_WER_MESSAGE_PUBLISHER~ CURRENT_APPLICATION | 20061031 | |
| 5 | Instance method | Public | Method | Raise event IF_WER_MESSAGE_PUBLISHER~ CURRENT_EVENT | 20061031 | |
| 6 | Instance method | Public | Method | Raise event IF_WER_MESSAGE_PUBLISHER~ CURRENT_ITEM | 20061031 | |
| 7 | Instance method | Public | Method | Raise event IF_WER_MESSAGE_PUBLISHER~ CURRENT_RULE | 20061031 | |
| 8 | Instance method | Public | Method | Raise event IF_WER_MESSAGE_PUBLISHER~ ITEM_ERROR | 20070109 | |
| 9 | Instance method | Public | Method | Publishes the messages from all parameters | 20060801 |
Events
| # | Event | Type | Visibility | Description | Created on |
|---|---|---|---|---|---|
| 1 | CLEAR_MESSAGES | Instance Event (0) |
Private (0) |
20060801 | |
| 2 | CURRENT_APPLICATION | Instance Event (0) |
Private (0) |
20061031 | |
| 3 | CURRENT_EVENT | Instance Event (0) |
Private (0) |
20061031 | |
| 4 | CURRENT_ITEM | Instance Event (0) |
Private (0) |
20061031 | |
| 5 | CURRENT_RULE | Instance Event (0) |
Private (0) |
20061031 | |
| 6 | ITEM_ERROR | Instance Event (0) |
Private (0) |
20070109 | |
| 7 | PUBLISH_MESSAGES | Instance Event (0) |
Private (0) |
20060801 |
Types
Class CL_WER_MESSAGE_PUBLISHER has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_WER_MESSAGE_PUBLISHER has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WER_MESSAGE_PUBLISHER has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RR_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_WER_MESSAGE_PUBLISHER | Service class for publishing messages | 20060801 |
Method GET_INSTANCE on class CL_WER_MESSAGE_PUBLISHER has no exception.
Method RAISE_CLEAR_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MSG_TYPE | Call by reference | Type reference (TYPE) | WER_MSG_FILTER | CL_WER_CONST=>C_MSG_ALL | Type of message to clear | 20060801 |
Method RAISE_CLEAR_MESSAGES on class CL_WER_MESSAGE_PUBLISHER has no exception.
Method RAISE_CURRENT_APPLICATION 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_NAME | Name of an application element | 20061031 |
Method RAISE_CURRENT_APPLICATION on class CL_WER_MESSAGE_PUBLISHER has no exception.
Method RAISE_CURRENT_EVENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_EVENT | Call by reference | Type reference (TYPE) | WER_EVENT_NAME | Name of an event element | 20061031 |
Method RAISE_CURRENT_EVENT on class CL_WER_MESSAGE_PUBLISHER has no exception.
Method RAISE_CURRENT_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ITEM | Call by reference | Object reference (TYPE REF TO) | STRING | Item free identificator | 20061031 |
Method RAISE_CURRENT_ITEM on class CL_WER_MESSAGE_PUBLISHER has no exception.
Method RAISE_CURRENT_RULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_RULE | Call by reference | Type reference (TYPE) | WER_ELEMENT_NAME | Name of an element | 20061031 |
Method RAISE_CURRENT_RULE on class CL_WER_MESSAGE_PUBLISHER has no exception.
Method RAISE_ITEM_ERROR Signature
Method RAISE_ITEM_ERROR on class CL_WER_MESSAGE_PUBLISHER has no parameter.
Method RAISE_ITEM_ERROR on class CL_WER_MESSAGE_PUBLISHER has no exception.
Method RAISE_PUBLISH_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_FDT_MESSAGES | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | FDT messages | 20060801 | |||
| 2 | IT_MESSAGES | Call by reference | Type reference (TYPE) | WER_MSG_TTY | Application Log: Table with Messages | 20060801 | |||
| 3 | I_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | Message Class | 20060801 | |||
| 4 | I_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | Message Number | 20060801 | |||
| 5 | I_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20060801 | |||
| 6 | I_MSGV1 | Call by reference | Type reference (TYPE) | ANY | Message variable &1 | 20060801 | |||
| 7 | I_MSGV2 | Call by reference | Type reference (TYPE) | ANY | Message variable &2 | 20060801 | |||
| 8 | I_MSGV3 | Call by reference | Type reference (TYPE) | ANY | Message variable &3 | 20060801 | |||
| 9 | I_MSGV4 | Call by reference | Type reference (TYPE) | ANY | Message variable &4 | 20060801 |
Method RAISE_PUBLISH_MESSAGES on class CL_WER_MESSAGE_PUBLISHER has no exception.
Event Signatures
Event CLEAR_MESSAGES Signature
Event CLEAR_MESSAGES on class CL_WER_MESSAGE_PUBLISHER has no parameter.
Event CURRENT_APPLICATION Signature
Event CURRENT_APPLICATION on class CL_WER_MESSAGE_PUBLISHER has no parameter.
Event CURRENT_EVENT Signature
Event CURRENT_EVENT on class CL_WER_MESSAGE_PUBLISHER has no parameter.
Event CURRENT_ITEM Signature
Event CURRENT_ITEM on class CL_WER_MESSAGE_PUBLISHER has no parameter.
Event CURRENT_RULE Signature
Event CURRENT_RULE on class CL_WER_MESSAGE_PUBLISHER has no parameter.
Event ITEM_ERROR Signature
Event ITEM_ERROR on class CL_WER_MESSAGE_PUBLISHER has no parameter.
Event PUBLISH_MESSAGES Signature
Event PUBLISH_MESSAGES on class CL_WER_MESSAGE_PUBLISHER has no parameter.
History
| Last changed by/on | SAP | 20100310 |
| SAP Release Created in | 700 |