SAP ABAP Class CL_SWN_LOG (WF Notif: Service Class for Logs)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BMT-WFM (Application Component) SAP Business Workflow
⤷
SWN (Package) Business Workflow: E-Mail Notifications for Work Items
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SERIALIZABLE_OBJECT | Serializable Object | 20031003 |
Properties
| Class | CL_SWN_LOG | |
| Short Description | WF Notif: Service Class for Logs | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SWN | Business Workflow: E-Mail Notifications for Work Items |
| Created | 20030822 | SAP |
| Last change | 20110908 | 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) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SERIALIZABLE_OBJECT | Serializable Object | 20031003 |
Friends
Class CL_SWN_LOG has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Public | Type reference (TYPE) | BAL_S_COL | Application Log: Display: Problem class colors | 20030822 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | BALPROBCL | '4' | Highest P. Class to Be Logged | 20030826 | ||
| 3 | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | Log Handle | 20030822 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | BALMI | 20130813 | ||||
| 5 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_SWN_LOG | Singleton | 20030822 | |||
| 6 | Constant | Public | Type reference (TYPE) | BALPROBCL | '2' | High Priority | 20031017 | ||
| 7 | Constant | Public | Type reference (TYPE) | BALPROBCL | '4' | Low priority | 20031017 | ||
| 8 | Constant | Public | Type reference (TYPE) | BALPROBCL | '3' | Average priority | 20031017 | ||
| 9 | Constant | Public | Type reference (TYPE) | BALPROBCL | '1' | Highest priority | 20031017 | ||
| 10 | Instance attribute | Public | Type reference (TYPE) | BALPROBCL | Problem class | 20030826 |
Methods
Events
Class CL_SWN_LOG has no event.
Types
Class CL_SWN_LOG has no local type.
Method Signatures
Method ADD_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CONTEXT | Call by reference | Type reference (TYPE) | ANY | Kontext für Nachricht (Struktur) | 20030825 | |||
| 2 | I_PROBCLASS | Value transfer | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | '3' | Problemklasse der Nachricht | 20030826 |
Method ADD_MESSAGE on class CL_SWN_LOG has no exception.
Method ADD_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CONTEXT | Call by reference | Type reference (TYPE) | ANY | Kontext | 20030825 | |||
| 2 | I_PROBCLASS | Value transfer | Type reference (TYPE) | BALPROBCL | Problemklasse | 20030826 | |||
| 3 | I_TEXT | Call by reference | Type reference (TYPE) | C | Textzeile | 20030822 |
Method ADD_TEXT on class CL_SWN_LOG has no exception.
Method ADD_TEXTTAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MSGV1 | Call by reference | Type reference (TYPE) | ANY | 20130813 | ||||
| 2 | I_MSGV2 | Call by reference | Type reference (TYPE) | ANY | 20130813 | ||||
| 3 | I_MSGV3 | Call by reference | Type reference (TYPE) | ANY | 20130813 | ||||
| 4 | I_PROBCLASS | Value transfer | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | CL_SWN_LOG=>PRIO_LOW | 20130813 | |||
| 5 | I_TEXTTAB4 | Call by reference | Type reference (TYPE) | TABLE | 20130813 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130813 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_SWN_LOG has no parameter.
Method CLASS_CONSTRUCTOR on class CL_SWN_LOG has no exception.
Method CREATE_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_HANDLE | Value transfer | Type reference (TYPE) | BALLOGHNDL | Protokollhandle | 20030822 | |||
| 2 | I_EXT_NO | Call by reference | Type reference (TYPE) | BALNREXT | Externe Identifikation | 20030822 | |||
| 3 | I_OBJECT | Call by reference | Type reference (TYPE) | BALOBJ_D | 'WF' | Objekt | 20030822 | ||
| 4 | I_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | 'COLLECT' | Subobjekt | 20030822 |
Method CREATE_LOG on class CL_SWN_LOG has no exception.
Method DESERIALIZE_HELPER Signature
Method DESERIALIZE_HELPER on class CL_SWN_LOG has no parameter.
Method DESERIALIZE_HELPER on class CL_SWN_LOG has no exception.
Method ENTERED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CLASS | Call by reference | Type reference (TYPE) | C | 'Unknown' | betretene Klasse | 20030826 | ||
| 2 | I_METHOD | Call by reference | Type reference (TYPE) | C | 'Unknown' | betretene Methode | 20030826 | ||
| 3 | I_PROBCLASS | Call by reference | Type reference (TYPE) | BALPROBCL | '4' | Problemklasse der Meldung | 20030826 |
Method ENTERED on class CL_SWN_LOG has no exception.
Method GET_HANDLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_HANDLE | Value transfer | Type reference (TYPE) | BALLOGHNDL | Handle | 20030902 |
Method GET_HANDLE on class CL_SWN_LOG has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_SWN_LOG | Aktuelle Instanz | 20030822 |
Method GET_INSTANCE on class CL_SWN_LOG has no exception.
Method GET_TYPENAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CONTEXT | Call by reference | Type reference (TYPE) | ANY | Kontext (generisch) | 20030825 | |||
| 2 | R_TYPENAME | Value transfer | Type reference (TYPE) | TABNAME | Name der DDIC-Struktur | 20030825 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Kontext ist keine Struktur | 20030825 |
Method LEAVING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CLASS | Call by reference | Type reference (TYPE) | C | 'Unknown' | betretene Klasse | 20030826 | ||
| 2 | I_METHOD | Call by reference | Type reference (TYPE) | C | 'Unknown' | Klasse->Methode | 20030826 | ||
| 3 | I_PROBCLASS | Call by reference | Type reference (TYPE) | BALPROBCL | '4' | Problemklasse der Meldung | 20030826 |
Method LEAVING on class CL_SWN_LOG has no exception.
Method REFRESH_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Anwendungs-Log: Handle eines Protokolls | 20030826 |
Method REFRESH_LOG on class CL_SWN_LOG has no exception.
Method SAVE_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_UPDATE_TASK | Call by reference | Type reference (TYPE) | CHAR1 | SPACE | Speichern in Update Task | 20030822 | ||
| 2 | R_LOGNO | Value transfer | Type reference (TYPE) | BALOGNR | Protokollnummer | 20030822 |
Method SAVE_LOG on class CL_SWN_LOG has no exception.
Method SERIALIZE_HELPER Signature
Method SERIALIZE_HELPER on class CL_SWN_LOG has no parameter.
Method SERIALIZE_HELPER on class CL_SWN_LOG has no exception.
Method SET_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | 'W8' | 20130813 | |||
| 2 | IM_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | 899 | 20130813 | |||
| 3 | IM_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | 'I' | 20130813 | |||
| 4 | IM_MSGV1 | Call by reference | Type reference (TYPE) | ANY | 20130813 | ||||
| 5 | IM_MSGV2 | Call by reference | Type reference (TYPE) | ANY | 20130813 | ||||
| 6 | IM_MSGV3 | Call by reference | Type reference (TYPE) | ANY | 20130813 | ||||
| 7 | IM_MSGV4 | Call by reference | Type reference (TYPE) | ANY | 20130813 |
Method SET_MESSAGE on class CL_SWN_LOG has no exception.
Method SHOW_LOG Signature
Method SHOW_LOG on class CL_SWN_LOG has no parameter.
Method SHOW_LOG on class CL_SWN_LOG has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 640 |