SAP ABAP Class CL_SMOI_WS_LOG (SMOI_WS: Application Log with Persistence)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CCM-MON (Application Component) Monitoring
     SMOI_WS (Package) WS Interface to CCMS Agents as of Release 7.10
Properties
Class CL_SMOI_WS_LOG  
Short Description SMOI_WS: Application Log with Persistence    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SMOI_WS   WS Interface to CCMS Agents as of Release 7.10 
Created 20100728   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_SMOI_WS_LOG has no forward declaration.
Interfaces
Class CL_SMOI_WS_LOG has no interface implemented.
Friends
Class CL_SMOI_WS_LOG has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_PROBCLASS_HIGH Constant Public Type reference (TYPE) BAL_S_MSG-PROBCLASS '2' Problem Class High 20100922
2 C_PROBCLASS_LOW Constant Public Type reference (TYPE) BAL_S_MSG-PROBCLASS '4' Problem Class Low 20100922
3 C_PROBCLASS_MEDIUM Constant Public Type reference (TYPE) BAL_S_MSG-PROBCLASS '3' Problem Class Medium 20100922
4 C_PROBCLASS_NONE Constant Public Type reference (TYPE) BAL_S_MSG-PROBCLASS SPACE No Problem Class 20100922
5 C_PROBCLASS_VHIGH Constant Public Type reference (TYPE) BAL_S_MSG-PROBCLASS '1' Problem Class Very High 20100922
6 DEBUG Static Attribute Public Type reference (TYPE) BOOLEAN '-' Boolean Variable (X=True, -=False, Space=Unknown) 20100922
7 DEBUG_SUBOBJECT Constant Private Type reference (TYPE) BALSUBOBJ 'DEBUG' Application Log: Subobject 20100922
8 DEFAULT_SUBOBJECT Constant Private Type reference (TYPE) BALSUBOBJ 'DEFAULT' Application Log: Subobject 20100922
9 G_S_LOG Static Attribute Private Type reference (TYPE) BAL_S_LOG 20100922
10 HANDLE Static Attribute Public Type reference (TYPE) BALLOGHNDL Log Handle 20100922
11 LOG_OBJECT Constant Private Type reference (TYPE) BALOBJ_D 'SMOIWS' Log Name 20100922
12 MAX_MESSAGE_MEMORY Constant Private Type reference (TYPE) I 100 Number of Messages Before Write to DB 20100922
13 MESSAGE_COUNTER Static Attribute Private Type reference (TYPE) I Number of Messages 20100922
14 SUMMARY_COUNTER Static Attribute Private Type reference (TYPE) I Total Number of Messages 20100922
Methods
# Method Level Visibility Method type Description Created on
1 ADD_DEBUG_MSG Static method Public Method Write Message to the Log 20100922
2 ADD_ERRORTEXT Static method Public Method 20100926
3 ADD_EXCEPTION Static method Public Method Write Exception to the Log 20100922
4 ADD_MSG Static method Public Method Write Message to the Log 20100922
5 DISPLAY Static method Public Method 20100922
6 GET_HANDLE Static method Public Method Handle Application Log 20100922
7 INITIALIZE Static method Public Method Initialization of the Log 20100922
8 REFRESH Static method Public Method Delete All Logs from Memory 20100922
9 REORGANIZATION Static method Public Method Deletion of Old Logs from the Database 20100922
10 RESET Static method Public Method Delete the Handle 20100922
11 SAVE_TO_DB Static method Public Method Write Log to the Database 20100922
Events
Class CL_SMOI_WS_LOG has no event.
Types
Class CL_SMOI_WS_LOG has no local type.
Method Signatures

Method ADD_DEBUG_MSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HEADERTEXT Call by reference Type reference (TYPE) C Nachrichtenvariable 20100922
2 Importing I_MSGV1 Call by reference Type reference (TYPE) ANY Nachrichtenvariable 20100922
3 Importing I_MSGV2 Call by reference Type reference (TYPE) ANY Nachrichtenvariable 20100922
4 Importing I_MSGV3 Call by reference Type reference (TYPE) ANY Nachrichtenvariable 20100922
5 Importing I_MSGV4 Call by reference Type reference (TYPE) ANY Nachrichtenvariable 20100922

Method ADD_DEBUG_MSG on class CL_SMOI_WS_LOG has no exception.

Method ADD_ERRORTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ERRORTEXT Call by reference Type reference (TYPE) STRING 20100926

Method ADD_ERRORTEXT on class CL_SMOI_WS_LOG has no exception.

Method ADD_EXCEPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_EXCEPTION Call by reference Object reference (TYPE REF TO) CX_ROOT Abstrakte Oberklasse aller globalen Exceptions 20100922

Method ADD_EXCEPTION on class CL_SMOI_WS_LOG has no exception.

Method ADD_MSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PROBCLASS Value transfer Type reference (TYPE) BAL_S_MSG-PROBCLASS Problemklasse 20100922

Method ADD_MSG on class CL_SMOI_WS_LOG has no exception.

Method DISPLAY Signature

Method DISPLAY on class CL_SMOI_WS_LOG has no parameter.
Method DISPLAY on class CL_SMOI_WS_LOG has no exception.

Method GET_HANDLE 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 Handle auf das Applikations-Log 20100922

Method GET_HANDLE on class CL_SMOI_WS_LOG has no exception.

Method INITIALIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_EXTNUMBER Value transfer Type reference (TYPE) BALNREXT Externe Identifikation 20100922
2 Importing I_SUBOBJECT Value transfer Type reference (TYPE) BALSUBOBJ Anwendungs-Log: Unterobjekt 20100922

Method INITIALIZE on class CL_SMOI_WS_LOG has no exception.

Method REFRESH Signature

Method REFRESH on class CL_SMOI_WS_LOG has no parameter.
Method REFRESH on class CL_SMOI_WS_LOG has no exception.

Method REORGANIZATION Signature

Method REORGANIZATION on class CL_SMOI_WS_LOG has no parameter.
Method REORGANIZATION on class CL_SMOI_WS_LOG has no exception.

Method RESET Signature

Method RESET on class CL_SMOI_WS_LOG has no parameter.
Method RESET on class CL_SMOI_WS_LOG has no exception.

Method SAVE_TO_DB Signature

Method SAVE_TO_DB on class CL_SMOI_WS_LOG has no parameter.
Method SAVE_TO_DB on class CL_SMOI_WS_LOG has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 740