SAP ABAP Class /UI2/CL_NWBC_LOGGER (NWBC log class)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
CA-UI2-INT-BE (Application Component) Backend Enablement
⤷
/UI2/NWBC_CORE (Package) NetWeaver Business Client - Core Functionality
⤷
⤷
Properties
| Class | /UI2/CL_NWBC_LOGGER | |
| Short Description | NWBC log class | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /UI2/NWBC_CORE | NetWeaver Business Client - Core Functionality |
| Created | 20120828 | 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 /UI2/CL_NWBC_LOGGER has no interface implemented.
Friends
Class /UI2/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' | Application log: Object name (Application code) | 20120828 | ||
| 2 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'API' | Application Log: Subobject | 20120828 | ||
| 3 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'DESKTOP' | Application Log: Subobject | 20120828 | ||
| 4 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'HTML' | Application Log: Subobject | 20120828 | ||
| 5 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'NAVIGATION' | Application Log: Subobject | 20120828 | ||
| 6 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'NAVIGATION_TREE' | Application Log: Subobject | 20120828 | ||
| 7 | Static Attribute | Private | Object reference (TYPE REF TO) | /UI2/CL_NWBC_LOGGER | NWBC log class | 20120828 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20120828 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | I | 20120828 | ||||
| 10 | Instance attribute | Private | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20120828 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Add exception to NWBC log | 20120828 | |
| 2 | Instance method | Protected | Method | Add exception to NWBC log (internal) | 20120828 | |
| 3 | Static method | Public | Method | Add message to NWBC log | 20120828 | |
| 4 | Instance method | Protected | Method | Add message to NWBC log (internal) | 20120828 | |
| 5 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20120828 | |
| 6 | Instance method | Protected | Constructor | Create logger instance | 20120828 | |
| 7 | Static method | Protected | Method | Ensures that logger instance is created | 20120828 | |
| 8 | Static method | Public | Method | Save logger messages and initialize logger object | 20120828 | |
| 9 | Static method | Public | Method | Initilize logger content without save | 20120828 | |
| 10 | Static method | Public | Method | Check state of log (return max priority message) | 20120828 | |
| 11 | Static method | Public | Method | Logger handle | 20120828 | |
| 12 | Static method | Private | Event handling method | Handles Exception Event | 20120828 | |
| 13 | Instance method | Protected | Method | Saves messages to database | 20120828 |
Events
Class /UI2/CL_NWBC_LOGGER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | BAL_T_MSG | Public | See coding | 20120828 | 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 | 20120828 | |||
| 2 | RUNTIME | Call by reference | Object reference (TYPE REF TO) | /UI2/IF_NWBC_RUNTIME | The NWBC Runtime Interface | 20120828 | |||
| 3 | TY | Call by reference | Attribute reference (LIKE) | SY-MSGTY | 'W' | Message Type | 20120828 | ||
| 4 | USE_CASE | Call by reference | Type reference (TYPE) | BALSUBOBJ | 20120828 |
Method ADD_EXCEPTION on class /UI2/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 | 20120828 | |||
| 2 | TY | Call by reference | Attribute reference (LIKE) | SY-MSGTY | 'W' | Message Type | 20120828 |
Method ADD_EXCEPTION_INT on class /UI2/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 | 20120828 | ||||
| 2 | MESSAGES | Call by reference | Type reference (TYPE) | BAL_T_MSG | 20120828 | ||||
| 3 | NO | Call by reference | Attribute reference (LIKE) | SY-MSGNO | 20120828 | ||||
| 4 | PARAMETERS | Call by reference | Type reference (TYPE) | BAL_S_PARM | 20120828 | ||||
| 5 | RUNTIME | Call by reference | Object reference (TYPE REF TO) | /UI2/IF_NWBC_RUNTIME | The NWBC Runtime Interface | 20120828 | |||
| 6 | TY | Call by reference | Attribute reference (LIKE) | SY-MSGTY | 'W' | 20120828 | |||
| 7 | USE_CASE | Call by reference | Type reference (TYPE) | BALSUBOBJ | 20120828 | ||||
| 8 | V1 | Call by reference | Type reference (TYPE) | ANY | 20120828 | ||||
| 9 | V2 | Call by reference | Type reference (TYPE) | ANY | 20120828 | ||||
| 10 | V3 | Call by reference | Type reference (TYPE) | ANY | 20120828 | ||||
| 11 | V4 | Call by reference | Type reference (TYPE) | ANY | 20120828 |
Method ADD_MESSAGE on class /UI2/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 | 20120829 |
Method ADD_MESSAGE_INT on class /UI2/CL_NWBC_LOGGER has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class /UI2/CL_NWBC_LOGGER has no parameter.
Method CLASS_CONSTRUCTOR on class /UI2/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 | Application Log: Log Handle | 20120828 | |||
| 2 | IV_USE_CASE | Call by reference | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20120828 |
Method CONSTRUCTOR on class /UI2/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) | /UI2/IF_NWBC_RUNTIME | The NWBC Runtime Interface | 20120828 | |||
| 2 | USE_CASE | Call by reference | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20120828 |
Method ENSURE_INSTANCE on class /UI2/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 | 20120828 | ||||
| 2 | EV_STATE | Call by reference | Type reference (TYPE) | BALPROBCL | 20120828 | ||||
| 3 | IO_HTTP_RESPONSE | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_RESPONSE | Optional response object to not results | 20120828 |
Method FLUSH on class /UI2/CL_NWBC_LOGGER has no exception.
Method FREE Signature
Method FREE on class /UI2/CL_NWBC_LOGGER has no parameter.
Method FREE on class /UI2/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 | 20120828 |
Method GET_STATE on class /UI2/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 | 20120828 |
Method HANDLE on class /UI2/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 | Value transfer | Attribute reference (LIKE) | Abstract Superclass for All Global Exceptions | 20120828 | ||||
| 2 | TYPE | Value transfer | Attribute reference (LIKE) | Message Type | 20120828 |
Method HANDLE_EXCEPTION_RAISED on class /UI2/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 | Application Log: Log Handle | 20120828 |
Method SAVE on class /UI2/CL_NWBC_LOGGER has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 100 |