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 | Static Attribute | Public | Object reference (TYPE REF TO) | LOGHANDLER | Buffer table for the log entry | 20080131 | |||
| 2 | Static Attribute | Public | Object reference (TYPE REF TO) | CL_PS_HLP_LOG_HANDLER | PS:Log Handler | 20080212 | |||
| 3 | Static Attribute | Public | Type reference (TYPE) | LOGHANDLER_DET_TT | 20110503 | ||||
| 4 | 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 | Instance method | Public | Method | For sending mail to administrators | 20080409 | |
| 2 | Instance method | Public | Method | Collecting log entries. | 20080131 | |
| 3 | Instance method | Public | Method | Commit | 20080131 | |
| 4 | Static method | Public | Method | Returns the singleton instance | 20080212 | |
| 5 | Instance method | Public | Method | Get log from DB in format required by UI | 20110214 | |
| 6 | Instance method | Public | Method | Preparing Save | 20080131 | |
| 7 | Instance method | Public | Method | Runtime Log | 20080131 | |
| 8 | 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 | DESCRIPTION | Call by reference | Type reference (TYPE) | BAPI_MSG | Log Description | 20080212 | |||
| 2 | DRAFT_ID | Call by reference | Type reference (TYPE) | DRAFTKEY_DE | Draft id | 20080212 | |||
| 3 | IM_LOGID | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20080510 | |||
| 4 | INITIAL_FLAG | Call by reference | Type reference (TYPE) | C | ' ' | Initial Flag | 20080510 | ||
| 5 | LOGID | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20080510 | |||
| 6 | LOGSTAMP | Call by reference | Type reference (TYPE) | SYUZEIT | UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) | 20080212 | |||
| 7 | LOGTYPE | Call by reference | Type reference (TYPE) | LOGTYPE | log type | 20080212 | |||
| 8 | MESSAGETYPE | Call by reference | Type reference (TYPE) | BAPI_MTYPE | message type | 20080212 | |||
| 9 | NETWORK | Call by reference | Type reference (TYPE) | AUFNR | Object number | 20080212 | |||
| 10 | POST1 | Call by reference | Type reference (TYPE) | KTEXT | General Name | 20080510 | |||
| 11 | PROJDEFINTION | Call by reference | Type reference (TYPE) | PS_PSPID | Object number | 20080212 | |||
| 12 | USERNAME | Call by reference | Type reference (TYPE) | USERNAME | User name | 20080212 | |||
| 13 | 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 | 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 | ET_LOG_DETAIL | Call by reference | Type reference (TYPE) | LOGHANDLER_DET_TT | Log Handler Details | 20110214 | |||
| 2 | ET_MSG_DETAILS | Call by reference | Type reference (TYPE) | PSHLP_USER_LOG_TT | LOGGING | 20110413 | |||
| 3 | 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 | 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
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 |