SAP ABAP Class CL_NWBC_LOGGER (NWBC log class)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
BC-FES-BUS (Application Component) Netweaver Business Client
⤷
SAP_NWBC (Package) NetWeaver Business Client
⤷
⤷
Properties
| Class | CL_NWBC_LOGGER | |
| Short Description | NWBC log class | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | SAP_NWBC | |
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | SAP_NWBC | NetWeaver Business Client |
| Created | 20120125 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_NWBC_LOGGER has no interface implemented.
Friends
Class CL_NWBC_LOGGER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | BALOBJ_D | 'NWBC' | 20120125 | |||
| 2 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'API' | 20120125 | |||
| 3 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'DESKTOP' | 20120125 | |||
| 4 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'HTML' | 20120125 | |||
| 5 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'NAVIGATION' | 20120125 | |||
| 6 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'NAVIGATION_TREE' | 20120125 | |||
| 7 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_NWBC_LOGGER | 20120125 | ||||
| 8 | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | 20120125 | ||||
| 9 | Instance attribute | Private | Type reference (TYPE) | I | 20120125 | ||||
| 10 | Instance attribute | Private | Type reference (TYPE) | BALSUBOBJ | 20120125 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Add exception to NWBC log | 20120125 | |
| 2 | Instance method | Protected | Method | Add exception to NWBC log (internal) | 20120125 | |
| 3 | Static method | Public | Method | Add message to NWBC log | 20120125 | |
| 4 | Instance method | Protected | Method | Add message to NWBC log (internal) | 20120125 | |
| 5 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20120217 | |
| 6 | Instance method | Protected | Constructor | Create logger instance | 20120125 | |
| 7 | Static method | Protected | Method | Ensures that logger instance is created | 20120125 | |
| 8 | Static method | Public | Method | Save logger messages and initialize logger object | 20120125 | |
| 9 | Static method | Public | Method | Initilize logger content without save | 20120125 | |
| 10 | Static method | Public | Method | Check state of log (return max priority message) | 20120125 | |
| 11 | Static method | Public | Method | Logger handle | 20120125 | |
| 12 | Static method | Private | Event handling method | Handles Exception Event | 20120217 | |
| 13 | Instance method | Protected | Method | Saves messages to database | 20120125 |
Events
Class CL_NWBC_LOGGER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | BAL_T_MSG | Public | See coding | 20120125 | bal_t_msg TYPE STANDARD TABLE OF bal_s_msg WITH DEFAULT KEY
|
Method Signatures
Method ADD_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20120125 | |||
| 2 | RUNTIME | Call by reference | Object reference (TYPE REF TO) | IF_NWBC_RUNTIME | 20120125 | ||||
| 3 | TY | Call by reference | Attribute reference (LIKE) | SY-MSGTY | 'W' | Message Type | 20120125 | ||
| 4 | USE_CASE | Call by reference | Type reference (TYPE) | BALSUBOBJ | 20120125 |
Method ADD_EXCEPTION on class CL_NWBC_LOGGER has no exception.
Method ADD_EXCEPTION_INT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20120125 | |||
| 2 | TY | Call by reference | Attribute reference (LIKE) | SY-MSGTY | 'W' | Message Type | 20120125 |
Method ADD_EXCEPTION_INT on class CL_NWBC_LOGGER has no exception.
Method ADD_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID | Call by reference | Attribute reference (LIKE) | SY-MSGID | 20120125 | ||||
| 2 | MESSAGES | Call by reference | Type reference (TYPE) | BAL_T_MSG | 20120125 | ||||
| 3 | NO | Call by reference | Attribute reference (LIKE) | SY-MSGNO | 20120125 | ||||
| 4 | PARAMETERS | Call by reference | Type reference (TYPE) | BAL_S_PARM | 20120125 | ||||
| 5 | RUNTIME | Call by reference | Object reference (TYPE REF TO) | IF_NWBC_RUNTIME | 20120125 | ||||
| 6 | TY | Call by reference | Attribute reference (LIKE) | SY-MSGTY | 'W' | 20120125 | |||
| 7 | USE_CASE | Call by reference | Type reference (TYPE) | BALSUBOBJ | 20120125 | ||||
| 8 | V1 | Call by reference | Type reference (TYPE) | ANY | 20120125 | ||||
| 9 | V2 | Call by reference | Type reference (TYPE) | ANY | 20120125 | ||||
| 10 | V3 | Call by reference | Type reference (TYPE) | ANY | 20120125 | ||||
| 11 | V4 | Call by reference | Type reference (TYPE) | ANY | 20120125 |
Method ADD_MESSAGE on class CL_NWBC_LOGGER has no exception.
Method ADD_MESSAGE_INT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MESSAGES | Call by reference | Type reference (TYPE) | BAL_T_MSG | 20120125 |
Method ADD_MESSAGE_INT on class CL_NWBC_LOGGER has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_NWBC_LOGGER has no parameter.
Method CLASS_CONSTRUCTOR on class CL_NWBC_LOGGER has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | 20120125 | ||||
| 2 | IV_USE_CASE | Call by reference | Type reference (TYPE) | BALSUBOBJ | 20120125 |
Method CONSTRUCTOR on class CL_NWBC_LOGGER has no exception.
Method ENSURE_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RUNTIME | Call by reference | Object reference (TYPE REF TO) | IF_NWBC_RUNTIME | 20120125 | ||||
| 2 | USE_CASE | Call by reference | Type reference (TYPE) | BALSUBOBJ | 20120125 |
Method ENSURE_INSTANCE on class CL_NWBC_LOGGER has no exception.
Method FLUSH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | 20120125 | ||||
| 2 | EV_STATE | Call by reference | Type reference (TYPE) | BALPROBCL | 20120125 | ||||
| 3 | IO_HTTP_RESPONSE | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_RESPONSE | Optional response object to not results | 20120315 |
Method FLUSH on class CL_NWBC_LOGGER has no exception.
Method FREE Signature
Method FREE on class CL_NWBC_LOGGER has no parameter.
Method FREE on class CL_NWBC_LOGGER has no exception.
Method GET_STATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_STATE | Value transfer | Type reference (TYPE) | BALPROBCL | 20120125 |
Method GET_STATE on class CL_NWBC_LOGGER has no exception.
Method HANDLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_HANDLE | Value transfer | Type reference (TYPE) | BALLOGHNDL | 20120125 |
Method HANDLE on class CL_NWBC_LOGGER has no exception.
Method HANDLE_EXCEPTION_RAISED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXCEPTION | Call by reference | Attribute reference (LIKE) | 20120217 | |||||
| 2 | TYPE | Call by reference | Attribute reference (LIKE) | 20120217 |
Method HANDLE_EXCEPTION_RAISED on class CL_NWBC_LOGGER has no exception.
Method SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_LOG_HANDLE | Value transfer | Type reference (TYPE) | BALLOGHNDL | 20120125 |
Method SAVE on class CL_NWBC_LOGGER has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 732 |