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 ESP1 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 LOG_OBJ_CFP Static Attribute Public Type reference (TYPE) BALOBJ_D '/TDAG/CP' Application log: Object name (Application code) 20070215
2 LOG_SUBOBJ_CONTPROVIDER Static Attribute Public Type reference (TYPE) BALSUBOBJ 'CPRVDR' Application log: sub-object 20090515
3 LOG_SUBOBJ_CUSTOMIZING Static Attribute Public Type reference (TYPE) BALSUBOBJ 'CUSTOMIZING' Application log: sub-object 20090515
4 LOG_SUBOBJ_EMAIL Static Attribute Public Type reference (TYPE) BALSUBOBJ 'EMAIL' Application log: sub-object 20090515
5 LOG_SUBOBJ_WOLIMAN Static Attribute Public Type reference (TYPE) BALSUBOBJ 'WORKLIST' Application log: sub-object 20070215
6 MS_LOG_HEADER Instance attribute Protected Type reference (TYPE) BAL_S_LOG Application Log: Log header data 20061019
7 MT_NODES Instance attribute Protected Type reference (TYPE) /TDAG/CPY_APPLLOG_NODES CP: application log nodes (references to objects) 20061027
8 M_LOG_HANDLE Instance attribute Protected Type reference (TYPE) BALLOGHNDL Application Log: Log handle 20061019
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MESSAGES_TO_APPLLOG Instance method Public Method Adds messages to the log_handle 20061027
2 APPEND_NODE_MSGS_TO_APPLLOG Instance method Public Method get messages from nodes and append to log_handle 20061027
3 COMMIT_APPLLOG Instance method Public Method save the current log_handle to data base 20061027
4 CONSTRUCTOR Instance method Public Constructor Create the logger (Create new one or load existing) 20061019
5 CONVERT_TO_APPLLOG_STRUCTURE Instance method Public Method Convert message structures to appllog message structure 20061027
6 CREATE_NODE Instance method Public Method create a node for the application log 20061027
7 GET_GENERAL_NODE Instance method Public Method returns the as gerneral marked node 20061027
8 GET_HIGHER_MSGTYPES Static method Public Method Returns the higher and equal message types 20070530
9 GET_LOG_HANDLE Instance method Public Method Returns the log handle 20061019
10 GET_MESSAGES_FROM_APPLLOG Instance method Public Method returns msgs stored to log_handle 20061027
11 MSGTYP_IS_HIGHER Static method Public Method Returns true if the second msgtyp is higher than the first 20070530
12 SET_SINGLE_MESSAGE 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 Importing 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 Importing I_FLG_COMMIT_APPLLOG Call by reference Type reference (TYPE) ESEBOOLE 'X' Truth Value 20070530
2 Importing 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 Importing IS_LOG_HEADER Call by reference Type reference (TYPE) BAL_S_LOG Application Log: External ID 20070215
2 Importing IV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20100520
# Exception Resumable Description Created on
1 /TDAG/CX_LOG 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 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAL_T_MSG Message format application log 20061027
2 Importing 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 Exporting EO_NODE Value transfer Object reference (TYPE REF TO) /TDAG/CPCL_APPLLOG_NODE CP: Node for the application log 20061027
2 Importing IS_HEAD_MESSAGE Call by reference Type reference (TYPE) BAL_S_MSG Application Log: Message Data 20061027
3 Importing 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 Returning 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 Exporting ET_MSGTYPES Call by reference Type reference (TYPE) /TDAG/CPT_MSGTY CP: Table type for message types 20070530
2 Importing 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 Returning 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 Exporting 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 Exporting E_FLG_IS_HIGHER Call by reference Type reference (TYPE) ESEBOOLE Truth Value 20070530
2 Importing I_SOURCE_MSGTYP Call by reference Type reference (TYPE) SYMSGTY Messages, message type 20070530
3 Importing 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 Returning ES_MESSAGE Value transfer Type reference (TYPE) BAL_S_MSG Application Log: Message Data 20061101
2 Importing I_MSGID Call by reference Type reference (TYPE) SYMSGID SY-MSGID Message identification 20061101
3 Importing I_MSGNO Call by reference Type reference (TYPE) SYMSGNO SY-MSGNO System message number 20061101
4 Importing I_MSGTY Call by reference Type reference (TYPE) SYMSGTY SY-MSGTY Message type 20061101
5 Importing I_MSGV1 Call by reference Type reference (TYPE) SYMSGV SY-MSGV1 Message variable 01 20061101
6 Importing I_MSGV2 Call by reference Type reference (TYPE) SYMSGV SY-MSGV2 Message variable 02 20061101
7 Importing I_MSGV3 Call by reference Type reference (TYPE) SYMSGV SY-MSGV3 Message variable 03 20061101
8 Importing I_MSGV4 Call by reference Type reference (TYPE) SYMSGV SY-MSGV4 Message variable 04 20061101
9 Importing 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