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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_OS_SYSTEM Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 SALRT 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 C_ERROR Constant Public Type reference (TYPE) SYMSGTY 'E' Message Type 20091014
2 C_LEI Constant Public Type reference (TYPE) BALOBJ_D 'SLEI' Application log: Object name (Application code) 20091014
3 C_LEI_COND Constant Public Type reference (TYPE) BALSUBOBJ 'SLEI_COND' Application Log: Subobject 20091014
4 C_LEI_RAISE Constant Public Type reference (TYPE) BALSUBOBJ 'SLEI_RAISE' Application Log: Subobject 20091014
5 C_LEI_RECV Constant Public Type reference (TYPE) BALSUBOBJ 'SLEI_RECV' Application Log: Subobject 20091014
6 C_SUCCESS Constant Public Type reference (TYPE) SYMSGTY 'S' Message Type 20091014
7 C_WARNING Constant Public Type reference (TYPE) SYMSGTY 'W' Message Type 20091014
8 LOG_COLOURS Static Attribute Public Type reference (TYPE) BAL_S_COL 20091014
9 MV_LOG_HANDLE Instance attribute Private Type reference (TYPE) BALLOGHNDL LEI application log handle 20091014
Methods
# Method Level Visibility Method type Description Created on
1 ADD_EXCEPTION Instance method Public Method Add exception object to the log 20091014
2 ADD_MESSAGE Instance method Public Method Add Message 20091014
3 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20091014
4 CONSTRUCTOR Instance method Private Constructor 20091014
5 CREATE_LOG Static method Public Method Initialize Log 20091014
6 SAVE_LOG 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 Importing 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 Importing IV_MSG_DETLEVEL Call by reference Type reference (TYPE) BALLEVEL 20091014
2 Importing IV_MSG_ID Call by reference Type reference (TYPE) SYMSGID 'SLEI_APP_LOG' 20091014
3 Importing IV_MSG_NO Call by reference Type reference (TYPE) SYMSGNO 20091014
4 Importing IV_MSG_TYPE Call by reference Type reference (TYPE) SYMSGTY 'E' 20091014
5 Importing IV_MSG_V1 Call by reference Type reference (TYPE) SYMSGV 20091014
6 Importing IV_MSG_V2 Call by reference Type reference (TYPE) SYMSGV 20091014
7 Importing IV_MSG_V3 Call by reference Type reference (TYPE) SYMSGV 20091014
8 Importing IV_MSG_V4 Call by reference Type reference (TYPE) SYMSGV 20091014
9 Importing 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 Importing 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 Importing IV_EVT_NAME Call by reference Type reference (TYPE) SWO_EVENT 20091014
2 Importing IV_EVT_OBJ_NAME Call by reference Type reference (TYPE) SIBFTYPEID 20091014
3 Importing IV_EVT_OBJ_TYP Call by reference Type reference (TYPE) SWFECLSTYP 'CL' 20091014
4 Importing IV_PROGRAM Call by reference Type reference (TYPE) SY-REPID SY-REPID 20091014
5 Importing IV_SUB_OBJECT Call by reference Type reference (TYPE) BALSUBOBJ Application Log: Subobject 20091014
6 Returning 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 Importing IV_UPDATE_TASK Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20091014
2 Returning 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