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 CL_SWN_LOG 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 LOG_COLOURS Static Attribute Public Type reference (TYPE) BAL_S_COL Application Log: Display: Problem class colors 20030822
2 MAX_PROBCLASS Instance attribute Public Type reference (TYPE) BALPROBCL '4' Highest P. Class to Be Logged 20030826
3 M_HANDLE Instance attribute Private Type reference (TYPE) BALLOGHNDL Log Handle 20030822
4 M_MESSAGE_TMP Instance attribute Private Type reference (TYPE) BALMI 20130813
5 M_SINGLETON Static Attribute Private Object reference (TYPE REF TO) CL_SWN_LOG Singleton 20030822
6 PRIO_HIGH Constant Public Type reference (TYPE) BALPROBCL '2' High Priority 20031017
7 PRIO_LOW Constant Public Type reference (TYPE) BALPROBCL '4' Low priority 20031017
8 PRIO_MEDIUM Constant Public Type reference (TYPE) BALPROBCL '3' Average priority 20031017
9 PRIO_TOP Constant Public Type reference (TYPE) BALPROBCL '1' Highest priority 20031017
10 PROBCLASS Instance attribute Public Type reference (TYPE) BALPROBCL Problem class 20030826
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MESSAGE Instance method Public Method Add Message 20030822
2 ADD_TEXT Instance method Public Method Add Text Message 20030822
3 ADD_TEXTTAB Instance method Public Method 20130813
4 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20030822
5 CREATE_LOG Instance method Public Method Initialize Log 20030822
6 DESERIALIZE_HELPER Instance method Private Method No Attributes 20031003
7 ENTERED Instance method Public Method Log When Method Is Accessed 20030825
8 GET_HANDLE Instance method Public Method Read Log Handle 20030902
9 GET_INSTANCE Static method Public Method Singleton Instance 20030822
10 GET_TYPENAME Static method Private Method Determine ABAP Type Name of Context 20030825
11 LEAVING Instance method Public Method Log When Method Is Exited 20030825
12 REFRESH_LOG Instance method Public Method Remove a Log from Main Memory 20030822
13 SAVE_LOG Instance method Public Method Save log 20030822
14 SERIALIZE_HELPER Instance method Private Method No Attributes 20031003
15 SET_MESSAGE Instance method Public Method 20130813
16 SHOW_LOG Static method Public Method Display Log 20030822
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 Importing I_CONTEXT Call by reference Type reference (TYPE) ANY Kontext für Nachricht (Struktur) 20030825
2 Importing 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 Importing I_CONTEXT Call by reference Type reference (TYPE) ANY Kontext 20030825
2 Importing I_PROBCLASS Value transfer Type reference (TYPE) BALPROBCL Problemklasse 20030826
3 Importing 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 Importing I_MSGV1 Call by reference Type reference (TYPE) ANY 20130813
2 Importing I_MSGV2 Call by reference Type reference (TYPE) ANY 20130813
3 Importing I_MSGV3 Call by reference Type reference (TYPE) ANY 20130813
4 Importing I_PROBCLASS Value transfer Type reference (TYPE) BAL_S_MSG-PROBCLASS CL_SWN_LOG=>PRIO_LOW 20130813
5 Importing I_TEXTTAB4 Call by reference Type reference (TYPE) TABLE 20130813
# Exception Resumable Description Created on
1 TEXT_TOO_LONG 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 Returning E_HANDLE Value transfer Type reference (TYPE) BALLOGHNDL Protokollhandle 20030822
2 Importing I_EXT_NO Call by reference Type reference (TYPE) BALNREXT Externe Identifikation 20030822
3 Importing I_OBJECT Call by reference Type reference (TYPE) BALOBJ_D 'WF' Objekt 20030822
4 Importing 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 Importing I_CLASS Call by reference Type reference (TYPE) C 'Unknown' betretene Klasse 20030826
2 Importing I_METHOD Call by reference Type reference (TYPE) C 'Unknown' betretene Methode 20030826
3 Importing 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 Returning 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 Returning 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 Importing I_CONTEXT Call by reference Type reference (TYPE) ANY Kontext (generisch) 20030825
2 Returning R_TYPENAME Value transfer Type reference (TYPE) TABNAME Name der DDIC-Struktur 20030825
# Exception Resumable Description Created on
1 NO_STRUCTURE Kontext ist keine Struktur 20030825

Method LEAVING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CLASS Call by reference Type reference (TYPE) C 'Unknown' betretene Klasse 20030826
2 Importing I_METHOD Call by reference Type reference (TYPE) C 'Unknown' Klasse->Methode 20030826
3 Importing 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 Importing 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 Importing I_UPDATE_TASK Call by reference Type reference (TYPE) CHAR1 SPACE Speichern in Update Task 20030822
2 Returning 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 Importing IM_MSGID Call by reference Type reference (TYPE) SYMSGID 'W8' 20130813
2 Importing IM_MSGNO Call by reference Type reference (TYPE) SYMSGNO 899 20130813
3 Importing IM_MSGTY Call by reference Type reference (TYPE) SYMSGTY 'I' 20130813
4 Importing IM_MSGV1 Call by reference Type reference (TYPE) ANY 20130813
5 Importing IM_MSGV2 Call by reference Type reference (TYPE) ANY 20130813
6 Importing IM_MSGV3 Call by reference Type reference (TYPE) ANY 20130813
7 Importing 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