SAP ABAP Class CL_PS_HLP_LOG_HANDLER (PS:Log Handler)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PS (Application Component) Project System
     PS_HLP_CACHE (Package) Handling Large Projects:-Cache
Properties
Class CL_PS_HLP_LOG_HANDLER  
Short Description PS:Log Handler    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PS_HLP_CACHE   Handling Large Projects:-Cache 
Created 20080131   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_PS_HLP_LOG_HANDLER has no forward declaration.
Interfaces
Class CL_PS_HLP_LOG_HANDLER has no interface implemented.
Friends
Class CL_PS_HLP_LOG_HANDLER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 LOG_ENTRY_BUFFER Static Attribute Public Object reference (TYPE REF TO) LOGHANDLER Buffer table for the log entry 20080131
2 MR_LOG_MANAGER Static Attribute Public Object reference (TYPE REF TO) CL_PS_HLP_LOG_HANDLER PS:Log Handler 20080212
3 ST_LOG_HANDLER_DET Static Attribute Public Type reference (TYPE) LOGHANDLER_DET_TT 20110503
4 SV_COMMIT_CALLED Static Attribute Public Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20110504
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_SEND_MAIL Instance method Public Method For sending mail to administrators 20080409
2 COLLECT_LOG Instance method Public Method Collecting log entries. 20080131
3 COMMIT Instance method Public Method Commit 20080131
4 GET_INSTANCE Static method Public Method Returns the singleton instance 20080212
5 GET_LOG Instance method Public Method Get log from DB in format required by UI 20110214
6 PREPARE_SAVE Instance method Public Method Preparing Save 20080131
7 RUNTIME_LOG Instance method Public Method Runtime Log 20080131
8 WRITE_LOG_TO_DB Instance method Public Method Write log entries to database 20110214
Events
Class CL_PS_HLP_LOG_HANDLER has no event.
Types
Class CL_PS_HLP_LOG_HANDLER has no local type.
Method Signatures

Method CHECK_SEND_MAIL Signature

Method CHECK_SEND_MAIL on class CL_PS_HLP_LOG_HANDLER has no parameter.
Method CHECK_SEND_MAIL on class CL_PS_HLP_LOG_HANDLER has no exception.

Method COLLECT_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DESCRIPTION Call by reference Type reference (TYPE) BAPI_MSG Log Description 20080212
2 Importing DRAFT_ID Call by reference Type reference (TYPE) DRAFTKEY_DE Draft id 20080212
3 Importing IM_LOGID Call by reference Type reference (TYPE) INT4 Natural number 20080510
4 Importing INITIAL_FLAG Call by reference Type reference (TYPE) C ' ' Initial Flag 20080510
5 Exporting LOGID Call by reference Type reference (TYPE) INT4 Natural number 20080510
6 Importing LOGSTAMP Call by reference Type reference (TYPE) SYUZEIT UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) 20080212
7 Importing LOGTYPE Call by reference Type reference (TYPE) LOGTYPE log type 20080212
8 Importing MESSAGETYPE Call by reference Type reference (TYPE) BAPI_MTYPE message type 20080212
9 Importing NETWORK Call by reference Type reference (TYPE) AUFNR Object number 20080212
10 Importing POST1 Call by reference Type reference (TYPE) KTEXT General Name 20080510
11 Importing PROJDEFINTION Call by reference Type reference (TYPE) PS_PSPID Object number 20080212
12 Importing USERNAME Call by reference Type reference (TYPE) USERNAME User name 20080212
13 Importing WBS Call by reference Type reference (TYPE) PS_POSID Object number 20080212

Method COLLECT_LOG on class CL_PS_HLP_LOG_HANDLER has no exception.

Method COMMIT Signature

Method COMMIT on class CL_PS_HLP_LOG_HANDLER has no parameter.
Method COMMIT on class CL_PS_HLP_LOG_HANDLER has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ER_INSTANCE Value transfer Object reference (TYPE REF TO) CL_PS_HLP_LOG_HANDLER PS:Log Handler 20080212

Method GET_INSTANCE on class CL_PS_HLP_LOG_HANDLER has no exception.

Method GET_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LOG_DETAIL Call by reference Type reference (TYPE) LOGHANDLER_DET_TT Log Handler Details 20110214
2 Exporting ET_MSG_DETAILS Call by reference Type reference (TYPE) PSHLP_USER_LOG_TT LOGGING 20110413
3 Importing IV_LOGID Call by reference Type reference (TYPE) LOGHANDLER_DET-LOGID Natural number 20110214

Method GET_LOG on class CL_PS_HLP_LOG_HANDLER has no exception.

Method PREPARE_SAVE Signature

Method PREPARE_SAVE on class CL_PS_HLP_LOG_HANDLER has no parameter.
Method PREPARE_SAVE on class CL_PS_HLP_LOG_HANDLER has no exception.

Method RUNTIME_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing G_IT_LOCK Call by reference Type reference (TYPE) PSHLP_BAPIRET2 Return Parameter 20080131

Method RUNTIME_LOG on class CL_PS_HLP_LOG_HANDLER has no exception.

Method WRITE_LOG_TO_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_LOGID Call by reference Type reference (TYPE) INT4 Log ID 20110217
2 Importing IS_MESSAGE Call by reference Type reference (TYPE) BAL_S_MSG Application Log: Message Data 20110214
3 Importing IV_DRAFT_ID Call by reference Type reference (TYPE) DRAFTKEY_DE 20110407
4 Importing IV_INITIAL_FLAG Call by reference Type reference (TYPE) C 20110407
5 Importing IV_LOGID Call by reference Type reference (TYPE) INT4 20110407
6 Importing IV_LOGSTAMP Call by reference Type reference (TYPE) SYUZEIT 20110407
7 Importing IV_LOGTYPE Call by reference Type reference (TYPE) LOGTYPE 20110407
8 Importing IV_NETWORK Call by reference Type reference (TYPE) AUFNR 20110407
9 Importing IV_POST1 Call by reference Type reference (TYPE) KTEXT 20110407
10 Importing IV_PROJDEFINITION Call by reference Type reference (TYPE) PS_PSPID 20110407
11 Importing IV_USERNAME Call by reference Type reference (TYPE) USERNAME 20110407
12 Importing IV_WBS Call by reference Type reference (TYPE) PS_POSID 20110407

Method WRITE_LOG_TO_DB on class CL_PS_HLP_LOG_HANDLER has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 604