SAP ABAP Class /TDAG/CPCL_LOGGER (CP: Logger for the application log.)
Hierarchy
☛
TDAGBCA (Software Component) TechniData Basic Components
⤷
EHS (Application Component) Environment, Health and Safety
⤷
/TDAG/CP_OF (Package) CP: Overall functions and features
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | /TDAG/CP_IMDSCL_APPLOG | Application Log Handling for IMDS | 20100520 |
Properties
| Class | /TDAG/CPCL_LOGGER | |
| Short Description | CP: Logger for the application log. | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | /TDAG/CP_OF | CP: Overall functions and features |
| Created | 20061019 | SAP |
| Last change | 20141109 | |
| 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) |
Interfaces
Class /TDAG/CPCL_LOGGER has no interface implemented.
Friends
Class /TDAG/CPCL_LOGGER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Public | Type reference (TYPE) | BALOBJ_D | '/TDAG/CP' | Application log: Object name (Application code) | 20070215 | ||
| 2 | Static Attribute | Public | Type reference (TYPE) | BALSUBOBJ | 'CPRVDR' | Application log: sub-object | 20090515 | ||
| 3 | Static Attribute | Public | Type reference (TYPE) | BALSUBOBJ | 'CUSTOMIZING' | Application log: sub-object | 20090515 | ||
| 4 | Static Attribute | Public | Type reference (TYPE) | BALSUBOBJ | 'EMAIL' | Application log: sub-object | 20090515 | ||
| 5 | Static Attribute | Public | Type reference (TYPE) | BALSUBOBJ | 'WORKLIST' | Application log: sub-object | 20070215 | ||
| 6 | Instance attribute | Protected | Type reference (TYPE) | BAL_S_LOG | Application Log: Log header data | 20061019 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | /TDAG/CPY_APPLLOG_NODES | CP: application log nodes (references to objects) | 20061027 | |||
| 8 | Instance attribute | Protected | Type reference (TYPE) | BALLOGHNDL | Application Log: Log handle | 20061019 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Adds messages to the log_handle | 20061027 | |
| 2 | Instance method | Public | Method | get messages from nodes and append to log_handle | 20061027 | |
| 3 | Instance method | Public | Method | save the current log_handle to data base | 20061027 | |
| 4 | Instance method | Public | Constructor | Create the logger (Create new one or load existing) | 20061019 | |
| 5 | Instance method | Public | Method | Convert message structures to appllog message structure | 20061027 | |
| 6 | Instance method | Public | Method | create a node for the application log | 20061027 | |
| 7 | Instance method | Public | Method | returns the as gerneral marked node | 20061027 | |
| 8 | Static method | Public | Method | Returns the higher and equal message types | 20070530 | |
| 9 | Instance method | Public | Method | Returns the log handle | 20061019 | |
| 10 | Instance method | Public | Method | returns msgs stored to log_handle | 20061027 | |
| 11 | Static method | Public | Method | Returns true if the second msgtyp is higher than the first | 20070530 | |
| 12 | Static method | Public | Method | Creates a messages and returns it (BAL_S_MSG) | 20061101 |
Events
Class /TDAG/CPCL_LOGGER has no event.
Types
Class /TDAG/CPCL_LOGGER has no local type.
Method Signatures
Method ADD_MESSAGES_TO_APPLLOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MESSAGES | Call by reference | Type reference (TYPE) | BAL_T_MSG | Application Log: Message Data | 20061027 |
Method ADD_MESSAGES_TO_APPLLOG on class /TDAG/CPCL_LOGGER has no exception.
Method APPEND_NODE_MSGS_TO_APPLLOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FLG_COMMIT_APPLLOG | Call by reference | Type reference (TYPE) | ESEBOOLE | 'X' | Truth Value | 20070530 | ||
| 2 | I_MIN_MSGTYPE_FOR_COMMIT | Call by reference | Type reference (TYPE) | SYMSGTY | Commit if one msgtyp is equal or higher to this | 20070530 |
Method APPEND_NODE_MSGS_TO_APPLLOG on class /TDAG/CPCL_LOGGER has no exception.
Method COMMIT_APPLLOG Signature
Method COMMIT_APPLLOG on class /TDAG/CPCL_LOGGER has no parameter.
Method COMMIT_APPLLOG on class /TDAG/CPCL_LOGGER has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_LOG_HEADER | Call by reference | Type reference (TYPE) | BAL_S_LOG | Application Log: External ID | 20070215 | |||
| 2 | IV_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20100520 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions for Logging | 20100520 |
Method CONVERT_TO_APPLLOG_STRUCTURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGES | Call by reference | Type reference (TYPE) | BAL_T_MSG | Message format application log | 20061027 | |||
| 2 | IT_RCGEXTERROR | Call by reference | Type reference (TYPE) | /TDAG/CPY_MESSAGES | Message format RCGEXTERROR | 20061027 |
Method CONVERT_TO_APPLLOG_STRUCTURE on class /TDAG/CPCL_LOGGER has no exception.
Method CREATE_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_NODE | Value transfer | Object reference (TYPE REF TO) | /TDAG/CPCL_APPLLOG_NODE | CP: Node for the application log | 20061027 | |||
| 2 | IS_HEAD_MESSAGE | Call by reference | Type reference (TYPE) | BAL_S_MSG | Application Log: Message Data | 20061027 | |||
| 3 | I_FLG_IS_GENERAL | Call by reference | Type reference (TYPE) | ESEBOOLE | Truth Value | 20061027 |
Method CREATE_NODE on class /TDAG/CPCL_LOGGER has no exception.
Method GET_GENERAL_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_NODE | Value transfer | Object reference (TYPE REF TO) | /TDAG/CPCL_APPLLOG_NODE | CP: Node for the application log | 20061027 |
Method GET_GENERAL_NODE on class /TDAG/CPCL_LOGGER has no exception.
Method GET_HIGHER_MSGTYPES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MSGTYPES | Call by reference | Type reference (TYPE) | /TDAG/CPT_MSGTY | CP: Table type for message types | 20070530 | |||
| 2 | I_MSGTYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Messages, message type | 20070530 |
Method GET_HIGHER_MSGTYPES on class /TDAG/CPCL_LOGGER has no exception.
Method GET_LOG_HANDLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LOG_HANDLE | Value transfer | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20061019 |
Method GET_LOG_HANDLE on class /TDAG/CPCL_LOGGER has no exception.
Method GET_MESSAGES_FROM_APPLLOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGES | Call by reference | Type reference (TYPE) | BAL_T_MSG | Application Log: Table with Messages | 20061027 |
Method GET_MESSAGES_FROM_APPLLOG on class /TDAG/CPCL_LOGGER has no exception.
Method MSGTYP_IS_HIGHER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_FLG_IS_HIGHER | Call by reference | Type reference (TYPE) | ESEBOOLE | Truth Value | 20070530 | |||
| 2 | I_SOURCE_MSGTYP | Call by reference | Type reference (TYPE) | SYMSGTY | Messages, message type | 20070530 | |||
| 3 | I_TARGET_MSGTYP | Call by reference | Type reference (TYPE) | SYMSGTY | Messages, message type | 20070530 |
Method MSGTYP_IS_HIGHER on class /TDAG/CPCL_LOGGER has no exception.
Method SET_SINGLE_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MESSAGE | Value transfer | Type reference (TYPE) | BAL_S_MSG | Application Log: Message Data | 20061101 | |||
| 2 | I_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | SY-MSGID | Message identification | 20061101 | ||
| 3 | I_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | SY-MSGNO | System message number | 20061101 | ||
| 4 | I_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | SY-MSGTY | Message type | 20061101 | ||
| 5 | I_MSGV1 | Call by reference | Type reference (TYPE) | SYMSGV | SY-MSGV1 | Message variable 01 | 20061101 | ||
| 6 | I_MSGV2 | Call by reference | Type reference (TYPE) | SYMSGV | SY-MSGV2 | Message variable 02 | 20061101 | ||
| 7 | I_MSGV3 | Call by reference | Type reference (TYPE) | SYMSGV | SY-MSGV3 | Message variable 03 | 20061101 | ||
| 8 | I_MSGV4 | Call by reference | Type reference (TYPE) | SYMSGV | SY-MSGV4 | Message variable 04 | 20061101 | ||
| 9 | I_VAR_IS_RECN | Call by reference | Type reference (TYPE) | /TDAG/CPE_RECN_VARIABLE | CP: Defines which variable includes the recn value | 20061101 |
Method SET_SINGLE_MESSAGE on class /TDAG/CPCL_LOGGER has no exception.
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 0207B0406C |