SAP ABAP Class CL_SLEI_APP_LOG (LEI: Application Log utility class)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BMT-BPM-LEI (Application Component) Local Event Infrastructure
⤷
SLEI_RUN (Package) LEI Runtime
⤷
⤷
Properties
| Class | CL_SLEI_APP_LOG | |
| Short Description | LEI: Application Log utility class | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SLEI_RUN | LEI Runtime |
| Created | 20091006 | SAP |
| Last change | 20110908 | 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) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_SLEI_APP_LOG has no interface implemented.
Friends
Class CL_SLEI_APP_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) | SYMSGTY | 'E' | Message Type | 20091014 | ||
| 2 | Constant | Public | Type reference (TYPE) | BALOBJ_D | 'SLEI' | Application log: Object name (Application code) | 20091014 | ||
| 3 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'SLEI_COND' | Application Log: Subobject | 20091014 | ||
| 4 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'SLEI_RAISE' | Application Log: Subobject | 20091014 | ||
| 5 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'SLEI_RECV' | Application Log: Subobject | 20091014 | ||
| 6 | Constant | Public | Type reference (TYPE) | SYMSGTY | 'S' | Message Type | 20091014 | ||
| 7 | Constant | Public | Type reference (TYPE) | SYMSGTY | 'W' | Message Type | 20091014 | ||
| 8 | Static Attribute | Public | Type reference (TYPE) | BAL_S_COL | 20091014 | ||||
| 9 | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | LEI application log handle | 20091014 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add exception object to the log | 20091014 | |
| 2 | Instance method | Public | Method | Add Message | 20091014 | |
| 3 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20091014 | |
| 4 | Instance method | Private | Constructor | 20091014 | ||
| 5 | Static method | Public | Method | Initialize Log | 20091014 | |
| 6 | Instance method | Public | Method | Save log | 20091014 |
Events
Class CL_SLEI_APP_LOG has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | LST_PROTOCOL | Private | See coding | 20091014 | BEGIN OF lst_protocol,
handle TYPE balloghndl,
detlevel TYPE ballevel,
END OF lst_protocol
|
||
| 2 | LTT_PROTOCOL | Private | See coding | 20091014 | ltt_protocol TYPE STANDARD TABLE OF lst_protocol
|
Method Signatures
Method ADD_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IX_ROOT | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20091014 |
Method ADD_EXCEPTION on class CL_SLEI_APP_LOG has no exception.
Method ADD_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MSG_DETLEVEL | Call by reference | Type reference (TYPE) | BALLEVEL | 20091014 | ||||
| 2 | IV_MSG_ID | Call by reference | Type reference (TYPE) | SYMSGID | 'SLEI_APP_LOG' | 20091014 | |||
| 3 | IV_MSG_NO | Call by reference | Type reference (TYPE) | SYMSGNO | 20091014 | ||||
| 4 | IV_MSG_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | 'E' | 20091014 | |||
| 5 | IV_MSG_V1 | Call by reference | Type reference (TYPE) | SYMSGV | 20091014 | ||||
| 6 | IV_MSG_V2 | Call by reference | Type reference (TYPE) | SYMSGV | 20091014 | ||||
| 7 | IV_MSG_V3 | Call by reference | Type reference (TYPE) | SYMSGV | 20091014 | ||||
| 8 | IV_MSG_V4 | Call by reference | Type reference (TYPE) | SYMSGV | 20091014 | ||||
| 9 | IV_PROBLEMCLASS | Call by reference | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | '4' | 20091014 |
Method ADD_MESSAGE on class CL_SLEI_APP_LOG has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_SLEI_APP_LOG has no parameter.
Method CLASS_CONSTRUCTOR on class CL_SLEI_APP_LOG 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 | 20091014 |
Method CONSTRUCTOR on class CL_SLEI_APP_LOG has no exception.
Method CREATE_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EVT_NAME | Call by reference | Type reference (TYPE) | SWO_EVENT | 20091014 | ||||
| 2 | IV_EVT_OBJ_NAME | Call by reference | Type reference (TYPE) | SIBFTYPEID | 20091014 | ||||
| 3 | IV_EVT_OBJ_TYP | Call by reference | Type reference (TYPE) | SWFECLSTYP | 'CL' | 20091014 | |||
| 4 | IV_PROGRAM | Call by reference | Type reference (TYPE) | SY-REPID | SY-REPID | 20091014 | |||
| 5 | IV_SUB_OBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20091014 | |||
| 6 | RO_APP_LOG | Value transfer | Object reference (TYPE REF TO) | CL_SLEI_APP_LOG | LEI: Application Log utility class | 20091014 |
Method CREATE_LOG on class CL_SLEI_APP_LOG has no exception.
Method SAVE_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_UPDATE_TASK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20091014 | |||
| 2 | RV_LOGNO | Value transfer | Type reference (TYPE) | BALOGNR | 20091014 |
Method SAVE_LOG on class CL_SLEI_APP_LOG has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 731 |