SAP ABAP Class CL_SWNC_LOG (Application Log with Persistence)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-CCM-MON (Application Component) Monitoring
⤷ SWNC_COLL (Package) Collector and Aggregates
⤷ BC-CCM-MON (Application Component) Monitoring
⤷ SWNC_COLL (Package) Collector and Aggregates
Properties
Class | CL_SWNC_LOG | |
Short Description | Application Log with Persistence | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SWNC_COLL | Collector and Aggregates |
Created | 20040629 | SAP |
Last change | 20140121 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_SWNC_LOG has no forward declaration.
Interfaces
Class CL_SWNC_LOG has no interface implemented.
Friends
Class CL_SWNC_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 | 20040629 | |
2 | C_PROBCLASS_LOW | Constant | Public | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | '4' | Problem Class Low | 20040629 | |
3 | C_PROBCLASS_MEDIUM | Constant | Public | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | '3' | Problem Class Medium | 20040629 | |
4 | C_PROBCLASS_NONE | Constant | Public | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | SPACE | No Problem Class | 20040629 | |
5 | C_PROBCLASS_VHIGH | Constant | Public | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | '1' | Problem Class Very High | 20040629 | |
6 | DEBUG | Static Attribute | Public | Type reference (TYPE) | BOOLEAN | '-' | Boolean Variable (X=true, -=false, space=unknown) | 20041019 | |
7 | DEBUG_SUBOBJECT | Constant | Private | Type reference (TYPE) | BALSUBOBJ | 'DEBUG' | Application Log: Subobject | 20050215 | |
8 | DEFAULT_SUBOBJECT | Constant | Private | Type reference (TYPE) | BALSUBOBJ | 'DEFAULT' | Application Log: Subobject | 20040630 | |
9 | GF_INITIALIZED | Static Attribute | Public | Type reference (TYPE) | SWNC_CFLAG | 20121127 | |||
10 | G_S_LOG | Static Attribute | Private | Type reference (TYPE) | BAL_S_LOG | 20040629 | |||
11 | HANDLE | Static Attribute | Private | Type reference (TYPE) | BALLOGHNDL | Log Handle | 20040629 | ||
12 | LOG_OBJECT | Constant | Private | Type reference (TYPE) | BALOBJ_D | 'BCSWNC' | Log Name | 20040629 | |
13 | MAX_MESSAGE_MEMORY | Constant | Private | Type reference (TYPE) | I | 100 | Number of Messages Before Write to DB | 20040629 | |
14 | MESSAGE_COUNTER | Static Attribute | Private | Type reference (TYPE) | I | Number of Messages | 20040629 | ||
15 | SUMMARY_COUNTER | Static Attribute | Private | Type reference (TYPE) | I | Total Number of Messages | 20040629 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD_DEBUG_MSG | Static method | Public | Method | Write Message to the Log | 20041019 |
2 | ADD_EXCEPTION | Static method | Public | Method | Write exception to the log. | 20040713 |
3 | ADD_MSG | Static method | Public | Method | Write system message to the log. | 20040629 |
4 | ADD_STRING | Static method | Public | Method | Write long text to the log | 20121126 |
5 | ADD_T100_MESSAGE | Static method | Public | Method | Write T100 message to the log | 20121126 |
6 | GET_HANDLE | Static method | Public | Method | Handle Application Log | 20040629 |
7 | INITIALIZE | Static method | Public | Method | Initialization of the Log | 20040629 |
8 | REFRESH | Static method | Public | Method | Delete All Logs from Memory | 20050509 |
9 | REORGANIZATION | Static method | Public | Method | Deletion of Old Logs from the Database | 20040629 |
10 | SAVE_TO_DB | Static method | Public | Method | Write Log to the Database | 20040629 |
Events
Class CL_SWNC_LOG has no event.
Types
Class CL_SWNC_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 | 20041019 | ||
2 | Importing | I_MSGV1 | Call by reference | Type reference (TYPE) | ANY | Nachrichtenvariable | 20041019 | ||
3 | Importing | I_MSGV2 | Call by reference | Type reference (TYPE) | ANY | Nachrichtenvariable | 20041019 | ||
4 | Importing | I_MSGV3 | Call by reference | Type reference (TYPE) | ANY | Nachrichtenvariable | 20041019 | ||
5 | Importing | I_MSGV4 | Call by reference | Type reference (TYPE) | ANY | Nachrichtenvariable | 20041019 |
Method ADD_DEBUG_MSG on class CL_SWNC_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 | 20040713 |
Method ADD_EXCEPTION on class CL_SWNC_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 | 20040629 |
Method ADD_MSG on class CL_SWNC_LOG has no exception.
Method ADD_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | Nachrichtentyp | 20121126 | ||
2 | Importing | I_STRING | Call by reference | Type reference (TYPE) | CSEQUENCE | 20121126 |
Method ADD_STRING on class CL_SWNC_LOG has no exception.
Method ADD_T100_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | Nachrichtenklasse | 20121126 | ||
2 | Importing | I_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | Nachrichtennummer | 20121126 | ||
3 | Importing | I_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | Nachrichtentyp | 20121126 | ||
4 | Importing | I_MSGV1 | Call by reference | Type reference (TYPE) | CSEQUENCE | Nachrichtenvariable | 20121126 | ||
5 | Importing | I_MSGV2 | Call by reference | Type reference (TYPE) | CSEQUENCE | Nachrichtenvariable | 20121126 | ||
6 | Importing | I_MSGV3 | Call by reference | Type reference (TYPE) | CSEQUENCE | Nachrichtenvariable | 20121126 | ||
7 | Importing | I_MSGV4 | Call by reference | Type reference (TYPE) | CSEQUENCE | Nachrichtenvariable | 20121126 | ||
8 | Importing | I_PROBCLASS | Call by reference | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | C_PROBCLASS_MEDIUM | Anwendungs-Log: Problemklasse einer Meldung | 20121126 |
Method ADD_T100_MESSAGE on class CL_SWNC_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 | 20040629 |
Method GET_HANDLE on class CL_SWNC_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 | 20040629 | ||
2 | Importing | I_SUBOBJECT | Value transfer | Type reference (TYPE) | BALSUBOBJ | Anwendungs-Log: Unterobjekt | 20040630 |
Method INITIALIZE on class CL_SWNC_LOG has no exception.
Method REFRESH Signature
Method REFRESH on class CL_SWNC_LOG has no parameter.
Method REFRESH on class CL_SWNC_LOG has no exception.
Method REORGANIZATION Signature
Method REORGANIZATION on class CL_SWNC_LOG has no parameter.
Method REORGANIZATION on class CL_SWNC_LOG has no exception.
Method SAVE_TO_DB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IF_SAVE_IN_2ND_CONN | Call by reference | Type reference (TYPE) | SWNC_CFLAG | Über sekundäre Verbindung speichern | 20120727 |
Method SAVE_TO_DB on class CL_SWNC_LOG has no exception.
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 700 |