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 | Constant | Public | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | '2' | Problem Class High | 20100922 | ||
| 2 | Constant | Public | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | '4' | Problem Class Low | 20100922 | ||
| 3 | Constant | Public | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | '3' | Problem Class Medium | 20100922 | ||
| 4 | Constant | Public | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | SPACE | No Problem Class | 20100922 | ||
| 5 | Constant | Public | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | '1' | Problem Class Very High | 20100922 | ||
| 6 | Static Attribute | Public | Type reference (TYPE) | BOOLEAN | '-' | Boolean Variable (X=True, -=False, Space=Unknown) | 20100922 | ||
| 7 | Constant | Private | Type reference (TYPE) | BALSUBOBJ | 'DEBUG' | Application Log: Subobject | 20100922 | ||
| 8 | Constant | Private | Type reference (TYPE) | BALSUBOBJ | 'DEFAULT' | Application Log: Subobject | 20100922 | ||
| 9 | Static Attribute | Private | Type reference (TYPE) | BAL_S_LOG | 20100922 | ||||
| 10 | Static Attribute | Public | Type reference (TYPE) | BALLOGHNDL | Log Handle | 20100922 | |||
| 11 | Constant | Private | Type reference (TYPE) | BALOBJ_D | 'SMOIWS' | Log Name | 20100922 | ||
| 12 | Constant | Private | Type reference (TYPE) | I | 100 | Number of Messages Before Write to DB | 20100922 | ||
| 13 | Static Attribute | Private | Type reference (TYPE) | I | Number of Messages | 20100922 | |||
| 14 | Static Attribute | Private | Type reference (TYPE) | I | Total Number of Messages | 20100922 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Write Message to the Log | 20100922 | |
| 2 | Static method | Public | Method | 20100926 | ||
| 3 | Static method | Public | Method | Write Exception to the Log | 20100922 | |
| 4 | Static method | Public | Method | Write Message to the Log | 20100922 | |
| 5 | Static method | Public | Method | 20100922 | ||
| 6 | Static method | Public | Method | Handle Application Log | 20100922 | |
| 7 | Static method | Public | Method | Initialization of the Log | 20100922 | |
| 8 | Static method | Public | Method | Delete All Logs from Memory | 20100922 | |
| 9 | Static method | Public | Method | Deletion of Old Logs from the Database | 20100922 | |
| 10 | Static method | Public | Method | Delete the Handle | 20100922 | |
| 11 | 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 | I_HEADERTEXT | Call by reference | Type reference (TYPE) | C | Nachrichtenvariable | 20100922 | |||
| 2 | I_MSGV1 | Call by reference | Type reference (TYPE) | ANY | Nachrichtenvariable | 20100922 | |||
| 3 | I_MSGV2 | Call by reference | Type reference (TYPE) | ANY | Nachrichtenvariable | 20100922 | |||
| 4 | I_MSGV3 | Call by reference | Type reference (TYPE) | ANY | Nachrichtenvariable | 20100922 | |||
| 5 | 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 | 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 | 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 | 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 | 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 | I_EXTNUMBER | Value transfer | Type reference (TYPE) | BALNREXT | Externe Identifikation | 20100922 | |||
| 2 | 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 |