SAP ABAP Class CL_DMC_LOG_HANDLER_ROOT (Log handler root class)
Hierarchy
DMIS (Software Component) DMIS 2011_1
   CA-EUR (Application Component) European Monetary Union: Euro
     CNV_DMC_UTIL (Package) Data Mapping and Conversion: Utilities
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_DMC_LOG_HANDLER Log handler for MWB/DTL 20071015
Properties
Class CL_DMC_LOG_HANDLER_ROOT  
Short Description Log handler root class    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CNV_DMC_UTIL   Data Mapping and Conversion: Utilities 
Created 20071015   SAP 
Last change 20141030    
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 DMCT Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_DMC_LOG_HANDLER_ROOT has no interface implemented.
Friends
Class CL_DMC_LOG_HANDLER_ROOT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 AL_EXTERNAL_ID Static Attribute Protected Type reference (TYPE) BALNREXT Application Log: External ID 20071015
2 AL_LOGHANDLE Static Attribute Protected Type reference (TYPE) BALLOGHNDL handle of current application log 20071015
3 AL_SUBOBJECT Static Attribute Protected Type reference (TYPE) BALSUBOBJ Application Log: Subobject 20071015
4 COUNT_CONFIG_TAB Instance attribute Protected Type reference (TYPE) DMC_LGHNDL_COUNT_CONFIG_TAB configuration of message counting 20071015
5 CO_CONTEXT_TAB Constant Public Type reference (TYPE) BALTABNAME 'DMC_LOG_MSG_FILTER' structure name for message context info 20140314
6 CO_LOG_ONLY Constant Public Type reference (TYPE) I 2 Ausgabe nur in den Applikationslog 20071015
7 CO_MESSAGE_AND_LOG Constant Public Type reference (TYPE) I 4 Ausgabe sowohl über MESSAGE als auch in den AppLog 20071015
8 CO_MESSAGE_ONLY Constant Public Type reference (TYPE) I 3 Ausgabe nur als MESSAGE 20071015
9 CO_MODE_SPECIFIC Constant Public Type reference (TYPE) I 1 Ausgabe in Abh. von der Betriebsart (Default) 20071015
10 CO_STATISTIC_ONLY Constant Public Type reference (TYPE) I 5 nur Statistik - keine Ausgabe 20071015
11 CO_SYSTEMTYPE_SAP Constant Public Type reference (TYPE) SYSYSID 'SAP' R/3 System, name of R/3 System 20071015
12 DUMMY Static Attribute Public Type reference (TYPE) CHAR1 20071015
13 FALSE Constant Public Type reference (TYPE) BOOLEAN '-' Falsch 20071015
14 LOGNUMBER Instance attribute Public Type reference (TYPE) BALOGNR application log number 20071015
15 LOG_COUNT Instance attribute Public Type reference (TYPE) DMC_T_LOG_ENTRIES Anzahl Einträge pro Meldung 20071015
16 LOG_INDEX_TAB Static Attribute Protected Type reference (TYPE) DMC_LOG_INDEX_TAB table type for log index 20130429
17 MAX_NO_MSG Instance attribute Public Type reference (TYPE) INT4 Max. Anz. gleicher Meldungen im Log 20071015
18 MO_DMC_ERROR_LOG Instance attribute Private Object reference (TYPE REF TO) CL_DMC_ERROR_LOG access class for table DMC_ERROR_LOG 20140311
19 MSG_COUNT_TAB Instance attribute Protected Type reference (TYPE) DMC_LGHNDL_MSG_COUNT_TAB table for message counting 20071015
20 MT_ERROR_LOG_TAB Instance attribute Private Type reference (TYPE) TTY_MSG_WITH_CONTEXT Application Log: Message Data 20140311
21 MV_ACTIVITY_TYPE Instance attribute Private Type reference (TYPE) DMC_ACTION_TYPE MWB activity type 20130429
22 MV_DATA_SRC_GUID Instance attribute Private Type reference (TYPE) DMC_GUID DMC: Globally Unique Key (22 Characters) 20130429
23 MV_LAYER Instance attribute Private Type reference (TYPE) DMC_LOG_MSG_FILTER-LAYER layer distinction for application log (IL, OLC, etc...) 20130429
24 MV_MAIN_OBJECT_GUID Instance attribute Private Type reference (TYPE) DMC_GUID DMC: Globally Unique Key (22 Characters) 20130429
25 MV_MAIN_OBJECT_RTI Instance attribute Private Type reference (TYPE) DMC_RTI DMC: Flag that specifies the class 20130429
26 MV_MT_ID Instance attribute Private Type reference (TYPE) DMC_MT_IDENTIFIER DMC: Indicator for Mass Transfer 20130429
27 MV_SUBPROJECT_GUID Instance attribute Private Type reference (TYPE) DMC_SUBPROJECT_GUID MWB: GUID of a Subproject 20130429
28 MV_SUB_OBJECT_GUID Instance attribute Private Type reference (TYPE) DMC_GUID DMC: Globally Unique Key (22 Characters) 20130429
29 MV_SUB_OBJECT_RTI Instance attribute Private Type reference (TYPE) DMC_RTI DMC: Flag that specifies the class 20130429
30 MV_TABNAME Instance attribute Private Type reference (TYPE) TABNAME Table Name 20130429
31 MV_TECHNICAL_MSG Instance attribute Private Type reference (TYPE) BOOLEAN boolean variable (X=true, -=false, space=unknown) 20130429
32 MV_TRANSACTION_ID Instance attribute Private Type reference (TYPE) DMC_LOG_MSG_FILTER-TRANSACTION_ID business object, identified by message ID etc. 20130429
33 OUTPUT_AS_MESSAGE Static Attribute Public Type reference (TYPE) BOOLEAN Ausgabe über MESSAGE 20071015
34 OUTPUT_TO_LOG Static Attribute Public Type reference (TYPE) BOOLEAN Ausgabe in den ApplLog 20071015
35 SAVE_BEHAVIOUR Static Attribute Public Type reference (TYPE) I Sichern Ausgabe-Modus 20071015
36 SAVE_LOGHANDLE Static Attribute Protected Type reference (TYPE) BALLOGHNDL application log handle 20071015
37 STATISTIC_ONLY Instance attribute Public Type reference (TYPE) BOOLEAN '-' statistic only 20071015
38 SYSTEMTYPE Static Attribute Protected Type reference (TYPE) SYSYSID R/3 System, name of R/3 System 20071015
39 TRUE Constant Public Type reference (TYPE) BOOLEAN 'X' Wahr 20071015
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MESSAGE Instance method Public Method Process a message, take parameters from SYST-Fields 20071016
2 ADD_MESSAGE_WITH_CONTEXT Instance method Public Method add message to log with context data 20140314
3 ADD_MESSAGE_WITH_PROBCLASS Instance method Public Method Process a message, take parameters from SYST-Fields 20071016
4 ADD_TEXT Instance method Public Method Adds a text to an application log, and / or creates dialog m 20071015
5 CHECK_COUNT_MESSAGE Instance method Protected Method checks if message is to be counted 20071015
6 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20071015
7 DELETE_APPL_LOG Instance method Public Method deletes all application log entries 20071015
8 GET_LOGHANDLE Instance method Public Method Return current log handle 20071015
9 GET_MESSAGES Instance method Public Method returns messages from application log as internal table 20071015
10 GET_STATISTICS Instance method Public Method gets number of error etc. messages of a appl. log 20071015
11 MERGE_LOGS_ON_DB Static method Public Method merges two application logs in the DB, optionally delete src 20071015
12 RELOAD_APPL_LOG Instance method Public Method reload application log from the database 20071015
13 SAVE_LOG Instance method Public Method save log on database 20071016
14 SET_CONTEXT Instance method Public Method Set Context 20130429
15 SET_COUNT_CONFIGURATION Instance method Public Method sets (replaces) count configuration 20071015
16 SET_MESSAGE Instance method Public Method Process a message (MESSAGE and/or application log entry) 20071016
17 SET_MESSAGE_WITH_CONTEXT Instance method Public Method create application log message with context info 20140314
18 SET_MT_ID Instance method Public Method Set MT_ID 20130429
19 SET_MT_ID_AND_SUBPROJECT Instance method Public Method Set MT_ID 20130528
20 SET_TABLE_LOG_INDEX_CONTEXT Instance method Public Method Set Context 20130429
21 SHOW_LOG Instance method Public Method Shows application log as popup 20071016
Events
Class CL_DMC_LOG_HANDLER_ROOT has no event.
Types
Class CL_DMC_LOG_HANDLER_ROOT has no local type.
Method Signatures

Method ADD_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_SORT_CRITERIA Call by reference Type reference (TYPE) BALSORT 20071016
# Exception Resumable Description Created on
1 LOG_HANDLE_MISSING 20071016

Method ADD_MESSAGE_WITH_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MT_ID Call by reference Type reference (TYPE) DMC_MT_IDENTIFIER DMC: Indicator for Mass Transfer 20140314
2 Importing IV_SUBPROJECT_GUID Call by reference Type reference (TYPE) DMC_SUBPROJECT_GUID MWB: GUID of a Subproject 20140314
3 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20140314
4 Importing I_ACTIVITY_TYPE Call by reference Type reference (TYPE) DMC_ACTION_TYPE MWB activity type 20140314
5 Importing I_DATA_SRC_GUID Call by reference Type reference (TYPE) DMC_GUID DMC: Globally Unique Key (22 Characters) 20140314
6 Importing I_LAYER Call by reference Type reference (TYPE) DMC_LOG_MSG_FILTER-LAYER layer (IL, OLI, OLV, etc.) 20140314
7 Importing I_MAIN_OBJECT_GUID Call by reference Type reference (TYPE) DMC_GUID DMC: Globally Unique Key (22 Characters) 20140314
8 Importing I_MAIN_OBJECT_RTI Call by reference Type reference (TYPE) DMC_RTI DMC: Flag that specifies the class 20140314
9 Importing I_SUB_OBJECT_GUID Call by reference Type reference (TYPE) DMC_GUID DMC: Globally Unique Key (22 Characters) 20140314
10 Importing I_SUB_OBJECT_RTI Call by reference Type reference (TYPE) DMC_RTI DMC: Flag that specifies the class 20140314
11 Importing I_TECHNICAL_MSG Call by reference Type reference (TYPE) BOOLEAN '-' boolean variable (X=true, -=false, space=unknown) 20140314
12 Importing I_TRANSACTION_ID Call by reference Type reference (TYPE) DMC_LOG_MSG_FILTER-TRANSACTION_ID business object, identified by message ID etc. 20140314
# Exception Resumable Description Created on
1 LOG_HANDLE_MISSING 20140314

Method ADD_MESSAGE_WITH_PROBCLASS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PROBCLASS Call by reference Type reference (TYPE) BALPROBCL Application log: Message problem class 20071016
2 Importing I_SORT_CRITERIA Call by reference Type reference (TYPE) BALSORT 'IL' 20071016
# Exception Resumable Description Created on
1 LOG_HANDLE_MISSING 20071016

Method ADD_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MSGTY Call by reference Type reference (TYPE) SYMSGTY Nachrichten, Nachrichtentyp 20071015
2 Importing I_TEXT Call by reference Type reference (TYPE) STRING auszugebender Text 20071015

Method ADD_TEXT on class CL_DMC_LOG_HANDLER_ROOT has no exception.

Method CHECK_COUNT_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MSGID Call by reference Type reference (TYPE) SYMSGID Messages, Message Class 20071015
2 Importing I_MSGNO Call by reference Type reference (TYPE) SYMSGNO Messages, Message Number 20071015
3 Importing I_MSGV1 Call by reference Type reference (TYPE) SYMSGV Messages, message variables 20071015
4 Importing I_MSGV2 Call by reference Type reference (TYPE) SYMSGV Messages, message variables 20071015
5 Importing I_MSGV3 Call by reference Type reference (TYPE) SYMSGV Messages, message variables 20071015
6 Importing I_MSGV4 Call by reference Type reference (TYPE) SYMSGV Messages, message variables 20071015
7 Exporting R_SKIP_MSG Call by reference Type reference (TYPE) BOOLEAN boolean variable (X=true, -=false, space=unknown) 20071015

Method CHECK_COUNT_MESSAGE on class CL_DMC_LOG_HANDLER_ROOT has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BEHAVIOUR Call by reference Type reference (TYPE) I message behaivour 20071015
2 Importing IM_EXTERNAL_ID Call by reference Type reference (TYPE) BALNREXT Application Log: External ID 20071015
3 Importing IM_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log handle 20071015
4 Importing IM_MAX_NO_MSG Call by reference Type reference (TYPE) INT4 500 max. no. of messages 20071015
5 Importing IM_OBJECT Call by reference Type reference (TYPE) BALOBJ_D Application log: Object name (Application code) 20071015
6 Importing IM_SUBOBJECT Call by reference Type reference (TYPE) BALSUBOBJ Application Log: Subobject 20071015

Method CONSTRUCTOR on class CL_DMC_LOG_HANDLER_ROOT has no exception.

Method DELETE_APPL_LOG Signature

Method DELETE_APPL_LOG on class CL_DMC_LOG_HANDLER_ROOT has no parameter.
Method DELETE_APPL_LOG on class CL_DMC_LOG_HANDLER_ROOT has no exception.

Method GET_LOGHANDLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_LOGHANDLE Value transfer Type reference (TYPE) BALLOGHNDL Handle des Protokolls 20071015

Method GET_LOGHANDLE on class CL_DMC_LOG_HANDLER_ROOT has no exception.

Method GET_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_MESSAGES Value transfer Type reference (TYPE) DMC_LOG_MSG_TAB table of messages 20071015

Method GET_MESSAGES on class CL_DMC_LOG_HANDLER_ROOT has no exception.

Method GET_STATISTICS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_STATISTICS Value transfer Type reference (TYPE) BAL_S_SCNT Anwendungs-Log: Statistik: Zähler für Meldungstypen 20071015
# Exception Resumable Description Created on
1 LOG_NOT_FOUND Log nicht gefunden 20071015

Method MERGE_LOGS_ON_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ADDITIONAL_MESSAGE Call by reference Type reference (TYPE) BAL_S_MSG Application Log: Message Data 20071219
2 Importing I_DEL_SRC_LOG Call by reference Type reference (TYPE) BOOLEAN delete source log from DB 20071015
3 Importing I_SRC_LOGNUM Call by reference Type reference (TYPE) BALOGNR number of the source log 20071015
4 Importing I_TRG_LOGNUM Call by reference Type reference (TYPE) BALOGNR number of the target log 20071015
# Exception Resumable Description Created on
1 SOURCE_LOG_NOT_EXIST the log number specified for the source log does not exist 20071015
2 TARGET_LOG_NOT_EXIST the log number specified for the target log does not exist 20071015

Method RELOAD_APPL_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Anwendungs-Log: Handle eines Protokolls 20071015

Method RELOAD_APPL_LOG on class CL_DMC_LOG_HANDLER_ROOT has no exception.

Method SAVE_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_LOGNUMBER Value transfer Type reference (TYPE) BALOGNR Application log: log number 20140311

Method SAVE_LOG on class CL_DMC_LOG_HANDLER_ROOT has no exception.

Method SET_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACTIVITY_TYPE Call by reference Type reference (TYPE) DMC_ACTION_TYPE MWB activity type 20130429
2 Importing IV_DATA_SRC_GUID Call by reference Type reference (TYPE) DMC_GUID DMC: Globally Unique Key (22 Characters) 20130429
3 Importing IV_LAYER Call by reference Type reference (TYPE) DMC_LOG_MSG_FILTER-LAYER layer distinction for application log (IL, OLC, etc...) 20130429
4 Importing IV_MAIN_OBJECT_GUID Call by reference Type reference (TYPE) DMC_GUID DMC: Globally Unique Key (22 Characters) 20130429
5 Importing IV_MAIN_OBJECT_RTI Call by reference Type reference (TYPE) DMC_RTI DMC: Indicator for Mass Transfer 20130429
6 Importing IV_MT_ID Call by reference Type reference (TYPE) DMC_MT_IDENTIFIER DMC: Indicator for Mass Transfer 20130429
7 Importing IV_SUBPROJECT_GUID Call by reference Type reference (TYPE) DMC_SUBPROJECT_GUID MWB: GUID of a Subproject 20130429
8 Importing IV_SUB_OBJECT_GUID Call by reference Type reference (TYPE) DMC_GUID DMC: Globally Unique Key (22 Characters) 20130429
9 Importing IV_SUB_OBJECT_RTI Call by reference Type reference (TYPE) DMC_RTI DMC: Flag that specifies the class 20130429
10 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130429
11 Importing IV_TECHNICAL_MSG Call by reference Type reference (TYPE) BOOLEAN boolean variable (X=true, -=false, space=unknown) 20130429
12 Importing IV_TRANSACTION_ID Call by reference Type reference (TYPE) DMC_LOG_MSG_FILTER-TRANSACTION_ID business object, identified by message ID etc. 20130429

Method SET_CONTEXT on class CL_DMC_LOG_HANDLER_ROOT has no exception.

Method SET_COUNT_CONFIGURATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_COUNT_CONFIG Call by reference Type reference (TYPE) DMC_LGHNDL_COUNT_CONFIG_TAB configuration of message counting 20071015

Method SET_COUNT_CONFIGURATION on class CL_DMC_LOG_HANDLER_ROOT has no exception.

Method SET_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_MESSAGE_ID Call by reference Type reference (TYPE) SYMSGID Nachrichtenklasse 20071016
2 Importing IM_MESSAGE_NUMBER Call by reference Type reference (TYPE) SYMSGNO Nachrichtennummer 20071016
3 Importing IM_MESSAGE_TYPE Call by reference Type reference (TYPE) SYMSGTY Nachrichtentyp 20071016
4 Importing IM_MESSAGE_VARIABLE_1 Call by reference Type reference (TYPE) SYMSGV Nachrichtenvariable 1 20071016
5 Importing IM_MESSAGE_VARIABLE_2 Call by reference Type reference (TYPE) SYMSGV Nachrichtenvariable 2 20071016
6 Importing IM_MESSAGE_VARIABLE_3 Call by reference Type reference (TYPE) SYMSGV Nachrichtenvariable 3 20071016
7 Importing IM_MESSAGE_VARIABLE_4 Call by reference Type reference (TYPE) SYMSGV Nachrichtenvariable 4 20071016
8 Importing IM_SORT_CRITERIA Call by reference Type reference (TYPE) BALSORT 'IL' Sortierkriterium/Gruppierung 20071016
9 Importing I_NO_COUNT_CHECK Call by reference Type reference (TYPE) BOOLEAN '-' boolean variable (X=true, -=false, space=unknown) 20071016
# Exception Resumable Description Created on
1 LOG_HANDLE_MISSING LogHandle fehlt -> Es wurde kein Log geöffnet 20071016
2 WRONG_MESSAGE_TYPE Falscher Nachrichtentyp 20071016

Method SET_MESSAGE_WITH_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_BAL_S_MSG Call by reference Type reference (TYPE) BAL_S_MSG Messages, Message Class 20140314
# Exception Resumable Description Created on
1 LOG_HANDLE_MISSING log handle missing 20140314
2 WRONG_MESSAGE_TYPE wrong message type 20140314

Method SET_MT_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CONFIG_GUID Call by reference Type reference (TYPE) IUUC_REPL_CONFIG_GUID Configuration GUID 20130429
2 Importing IV_MT_ID Call by reference Type reference (TYPE) DMC_MT_IDENTIFIER DMC: Indicator for Mass Transfer 20130429

Method SET_MT_ID on class CL_DMC_LOG_HANDLER_ROOT has no exception.

Method SET_MT_ID_AND_SUBPROJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MT_ID Call by reference Type reference (TYPE) DMC_MT_IDENTIFIER DMC: Indicator for Mass Transfer 20130528
2 Importing IV_SUBPROJECT Call by reference Type reference (TYPE) DMC_SUBPROJECT_GUID Configuration GUID 20130528

Method SET_MT_ID_AND_SUBPROJECT on class CL_DMC_LOG_HANDLER_ROOT has no exception.

Method SET_TABLE_LOG_INDEX_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MT_ID Call by reference Type reference (TYPE) DMC_MT_IDENTIFIER DMC: Indicator for Mass Transfer 20130429
2 Importing IV_OBJECT_GUID Call by reference Type reference (TYPE) DMC_GUID DMC: Globally Unique Key (22 Characters) 20130429
3 Importing IV_OBJECT_RTI Call by reference Type reference (TYPE) DMC_RTI DMC: Flag that specifies the class 20130429
4 Importing IV_SPRJCT_GUID Call by reference Type reference (TYPE) DMC_GUID DMC: Globally Unique Key (22 Characters) 20130429
5 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130429

Method SET_TABLE_LOG_INDEX_CONTEXT on class CL_DMC_LOG_HANDLER_ROOT has no exception.

Method SHOW_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SAVE Call by reference Type reference (TYPE) BOOLEAN boolean variable (X=true, -=false, space=unknown) 20071016

Method SHOW_LOG on class CL_DMC_LOG_HANDLER_ROOT has no exception.
History
Last changed by/on SAP  20141030 
SAP Release Created in 2005_1_471