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
⤷ 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 | ABAP | 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 | GC_NWBC | Constant | Public | Type reference (TYPE) | BALOBJ_D | 'NWBC' | 20120125 | ||
2 | GC_USE_CASE_API | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'API' | 20120125 | ||
3 | GC_USE_CASE_DESKTOP | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'DESKTOP' | 20120125 | ||
4 | GC_USE_CASE_HTML | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'HTML' | 20120125 | ||
5 | GC_USE_CASE_NAVIGATION | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'NAVIGATION' | 20120125 | ||
6 | GC_USE_CASE_NAVIGATION_TREE | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'NAVIGATION_TREE' | 20120125 | ||
7 | GR_INSTANCE | Static Attribute | Private | Object reference (TYPE REF TO) | CL_NWBC_LOGGER | 20120125 | |||
8 | MV_LOG_HANDLE | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | 20120125 | |||
9 | MV_MAX_SEVERITY | Instance attribute | Private | Type reference (TYPE) | I | 20120125 | |||
10 | MV_USE_CASE | Instance attribute | Private | Type reference (TYPE) | BALSUBOBJ | 20120125 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD_EXCEPTION | Static method | Public | Method | Add exception to NWBC log | 20120125 |
2 | ADD_EXCEPTION_INT | Instance method | Protected | Method | Add exception to NWBC log (internal) | 20120125 |
3 | ADD_MESSAGE | Static method | Public | Method | Add message to NWBC log | 20120125 |
4 | ADD_MESSAGE_INT | Instance method | Protected | Method | Add message to NWBC log (internal) | 20120125 |
5 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20120217 |
6 | CONSTRUCTOR | Instance method | Protected | Constructor | Create logger instance | 20120125 |
7 | ENSURE_INSTANCE | Static method | Protected | Method | Ensures that logger instance is created | 20120125 |
8 | FLUSH | Static method | Public | Method | Save logger messages and initialize logger object | 20120125 |
9 | FREE | Static method | Public | Method | Initilize logger content without save | 20120125 |
10 | GET_STATE | Static method | Public | Method | Check state of log (return max priority message) | 20120125 |
11 | HANDLE | Static method | Public | Method | Logger handle | 20120125 |
12 | HANDLE_EXCEPTION_RAISED | Static method | Private | Event handling method | Handles Exception Event | 20120217 |
13 | SAVE | 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 | Importing | EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20120125 | ||
2 | Importing | RUNTIME | Call by reference | Object reference (TYPE REF TO) | IF_NWBC_RUNTIME | 20120125 | |||
3 | Importing | TY | Call by reference | Attribute reference (LIKE) | SY-MSGTY | 'W' | Message Type | 20120125 | |
4 | Importing | 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 | Importing | EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20120125 | ||
2 | Importing | 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 | Importing | ID | Call by reference | Attribute reference (LIKE) | SY-MSGID | 20120125 | |||
2 | Importing | MESSAGES | Call by reference | Type reference (TYPE) | BAL_T_MSG | 20120125 | |||
3 | Importing | NO | Call by reference | Attribute reference (LIKE) | SY-MSGNO | 20120125 | |||
4 | Importing | PARAMETERS | Call by reference | Type reference (TYPE) | BAL_S_PARM | 20120125 | |||
5 | Importing | RUNTIME | Call by reference | Object reference (TYPE REF TO) | IF_NWBC_RUNTIME | 20120125 | |||
6 | Importing | TY | Call by reference | Attribute reference (LIKE) | SY-MSGTY | 'W' | 20120125 | ||
7 | Importing | USE_CASE | Call by reference | Type reference (TYPE) | BALSUBOBJ | 20120125 | |||
8 | Importing | V1 | Call by reference | Type reference (TYPE) | ANY | 20120125 | |||
9 | Importing | V2 | Call by reference | Type reference (TYPE) | ANY | 20120125 | |||
10 | Importing | V3 | Call by reference | Type reference (TYPE) | ANY | 20120125 | |||
11 | Importing | 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 | Importing | 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 | Importing | IV_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | 20120125 | |||
2 | Importing | 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 | Importing | RUNTIME | Call by reference | Object reference (TYPE REF TO) | IF_NWBC_RUNTIME | 20120125 | |||
2 | Importing | 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 | Exporting | EV_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | 20120125 | |||
2 | Exporting | EV_STATE | Call by reference | Type reference (TYPE) | BALPROBCL | 20120125 | |||
3 | Importing | 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 | Returning | 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 | Returning | 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 | Importing | EXCEPTION | Call by reference | Attribute reference (LIKE) | 20120217 | ||||
2 | Importing | 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 | Returning | 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 |