SAP ABAP Class CL_CNV_MBT_LOG_HANDLER_ROOT (Log handler root class)
Hierarchy
☛
DMIS (Software Component) DMIS 2011_1
⤷
CA-EUR (Application Component) European Monetary Union: Euro
⤷
CNV_MBT_MAIN_620 (Package) DMIS objects for release starting with 620
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_CNV_MBT_LOG_HANDLER | Log handler for DMIS Job Scheduler | 20130307 |
Properties
| Class | CL_CNV_MBT_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_MBT_MAIN_620 | DMIS objects for release starting with 620 |
| Created | 20130307 | SAP |
| Last change | 20141030 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_CNV_MBT_LOG_HANDLER_ROOT has no forward declaration.
Interfaces
Class CL_CNV_MBT_LOG_HANDLER_ROOT has no interface implemented.
Friends
Class CL_CNV_MBT_LOG_HANDLER_ROOT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Protected | Type reference (TYPE) | BALNREXT | Application Log: External ID | 20130307 | |||
| 2 | Static Attribute | Protected | Type reference (TYPE) | BALLOGHNDL | handle of current application log | 20130307 | |||
| 3 | Static Attribute | Protected | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20130307 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | CNV_MBTLGHNDL_COUNT_CONFIG_TAB | configuration of message counting | 20130307 | |||
| 5 | Constant | Public | Type reference (TYPE) | I | 2 | Ausgabe nur in den Applikationslog | 20130307 | ||
| 6 | Constant | Public | Type reference (TYPE) | I | 4 | Ausgabe sowohl über MESSAGE als auch in den AppLog | 20130307 | ||
| 7 | Constant | Public | Type reference (TYPE) | I | 3 | Ausgabe nur als MESSAGE | 20130307 | ||
| 8 | Constant | Public | Type reference (TYPE) | I | 1 | Ausgabe in Abh. von der Betriebsart (Default) | 20130307 | ||
| 9 | Constant | Public | Type reference (TYPE) | I | 5 | nur Statistik - keine Ausgabe | 20130307 | ||
| 10 | Constant | Public | Type reference (TYPE) | SYSYSID | 'SAP' | R/3 System, name of R/3 System | 20130307 | ||
| 11 | Static Attribute | Public | Type reference (TYPE) | CHAR1 | 20130307 | ||||
| 12 | Constant | Public | Type reference (TYPE) | BOOLEAN | '-' | Falsch | 20130307 | ||
| 13 | Instance attribute | Public | Type reference (TYPE) | BALOGNR | application log number | 20130307 | |||
| 14 | Instance attribute | Public | Type reference (TYPE) | CNV_MBT_T_LOG_ENTRIES | Anzahl Einträge pro Meldung | 20130307 | |||
| 15 | Instance attribute | Public | Type reference (TYPE) | INT4 | Max. Anz. gleicher Meldungen im Log | 20130307 | |||
| 16 | Instance attribute | Protected | Type reference (TYPE) | CNV_MBT_LGHNDL_MSG_COUNT_TAB | table for message counting | 20130307 | |||
| 17 | Static Attribute | Public | Type reference (TYPE) | BOOLEAN | Ausgabe über MESSAGE | 20130307 | |||
| 18 | Static Attribute | Public | Type reference (TYPE) | BOOLEAN | Ausgabe in den ApplLog | 20130307 | |||
| 19 | Static Attribute | Public | Type reference (TYPE) | I | Sichern Ausgabe-Modus | 20130307 | |||
| 20 | Static Attribute | Protected | Type reference (TYPE) | BALLOGHNDL | application log handle | 20130307 | |||
| 21 | Instance attribute | Public | Type reference (TYPE) | BOOLEAN | '-' | statistic only | 20130307 | ||
| 22 | Static Attribute | Protected | Type reference (TYPE) | SYSYSID | R/3 System, name of R/3 System | 20130307 | |||
| 23 | Constant | Public | Type reference (TYPE) | BOOLEAN | 'X' | Wahr | 20130307 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Process a message, take parameters from SYST-Fields | 20130307 | |
| 2 | Instance method | Public | Method | Process a message, take parameters from SYST-Fields | 20130307 | |
| 3 | Instance method | Public | Method | Adds a text to an application log, and / or creates dialog m | 20130307 | |
| 4 | Instance method | Protected | Method | checks if message is to be counted | 20130307 | |
| 5 | Instance method | Public | Constructor | CONSTRUCTOR | 20130307 | |
| 6 | Instance method | Public | Method | deletes all application log entries | 20130307 | |
| 7 | Instance method | Public | Method | Return current log handle | 20130307 | |
| 8 | Instance method | Public | Method | returns messages from application log as internal table | 20130307 | |
| 9 | Instance method | Public | Method | gets number of error etc. messages of a appl. log | 20130307 | |
| 10 | Static method | Public | Method | merges two application logs in the DB, optionally delete src | 20130307 | |
| 11 | Instance method | Public | Method | reload application log from the database | 20130307 | |
| 12 | Instance method | Public | Method | save log on database | 20130307 | |
| 13 | Instance method | Public | Method | sets (replaces) count configuration | 20130307 | |
| 14 | Instance method | Public | Method | Process a message (MESSAGE and/or application log entry) | 20130307 | |
| 15 | Instance method | Public | Method | Shows application log as popup | 20130307 |
Events
Class CL_CNV_MBT_LOG_HANDLER_ROOT has no event.
Types
Class CL_CNV_MBT_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 | IM_SORT_CRITERIA | Call by reference | Type reference (TYPE) | BALSORT | 20130307 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130307 |
Method ADD_MESSAGE_WITH_PROBCLASS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_PROBCLASS | Call by reference | Type reference (TYPE) | BALPROBCL | Application log: Message problem class | 20130307 | |||
| 2 | I_SORT_CRITERIA | Call by reference | Type reference (TYPE) | BALSORT | 'IL' | 20130307 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130307 |
Method ADD_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | Nachrichten, Nachrichtentyp | 20130307 | |||
| 2 | I_TEXT | Call by reference | Type reference (TYPE) | STRING | auszugebender Text | 20130307 |
Method ADD_TEXT on class CL_CNV_MBT_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 | I_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | Messages, Message Class | 20130307 | |||
| 2 | I_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | Messages, Message Number | 20130307 | |||
| 3 | I_MSGV1 | Call by reference | Type reference (TYPE) | SYMSGV | Messages, message variables | 20130307 | |||
| 4 | I_MSGV2 | Call by reference | Type reference (TYPE) | SYMSGV | Messages, message variables | 20130307 | |||
| 5 | I_MSGV3 | Call by reference | Type reference (TYPE) | SYMSGV | Messages, message variables | 20130307 | |||
| 6 | I_MSGV4 | Call by reference | Type reference (TYPE) | SYMSGV | Messages, message variables | 20130307 | |||
| 7 | R_SKIP_MSG | Call by reference | Type reference (TYPE) | BOOLEAN | boolean variable (X=true, -=false, space=unknown) | 20130307 |
Method CHECK_COUNT_MESSAGE on class CL_CNV_MBT_LOG_HANDLER_ROOT has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_BEHAVIOUR | Call by reference | Type reference (TYPE) | I | message behaivour | 20130307 | |||
| 2 | IM_EXTERNAL_ID | Call by reference | Type reference (TYPE) | BALNREXT | Application Log: External ID | 20130307 | |||
| 3 | IM_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log: Log handle | 20130307 | |||
| 4 | IM_MAX_NO_MSG | Call by reference | Type reference (TYPE) | INT4 | 500 | max. no. of messages | 20130307 | ||
| 5 | IM_OBJECT | Call by reference | Type reference (TYPE) | BALOBJ_D | Application log: Object name (Application code) | 20130307 | |||
| 6 | IM_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20130307 |
Method CONSTRUCTOR on class CL_CNV_MBT_LOG_HANDLER_ROOT has no exception.
Method DELETE_APPL_LOG Signature
Method DELETE_APPL_LOG on class CL_CNV_MBT_LOG_HANDLER_ROOT has no parameter.
Method DELETE_APPL_LOG on class CL_CNV_MBT_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 | RE_LOGHANDLE | Value transfer | Type reference (TYPE) | BALLOGHNDL | Handle des Protokolls | 20130307 |
Method GET_LOGHANDLE on class CL_CNV_MBT_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 | RT_MESSAGES | Value transfer | Type reference (TYPE) | DMC_LOG_MSG_TAB | table of messages | 20130307 |
Method GET_MESSAGES on class CL_CNV_MBT_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 | RE_STATISTICS | Value transfer | Type reference (TYPE) | BAL_S_SCNT | Anwendungs-Log: Statistik: Zähler für Meldungstypen | 20130307 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Log nicht gefunden | 20130307 |
Method MERGE_LOGS_ON_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_ADDITIONAL_MESSAGE | Call by reference | Type reference (TYPE) | BAL_S_MSG | Application Log: Message Data | 20130307 | |||
| 2 | I_DEL_SRC_LOG | Call by reference | Type reference (TYPE) | BOOLEAN | delete source log from DB | 20130307 | |||
| 3 | I_SRC_LOGNUM | Call by reference | Type reference (TYPE) | BALOGNR | number of the source log | 20130307 | |||
| 4 | I_TRG_LOGNUM | Call by reference | Type reference (TYPE) | BALOGNR | number of the target log | 20130307 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | the log number specified for the source log does not exist | 20130307 | ||
| 2 | the log number specified for the target log does not exist | 20130307 |
Method RELOAD_APPL_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Anwendungs-Log: Handle eines Protokolls | 20130307 |
Method RELOAD_APPL_LOG on class CL_CNV_MBT_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 | RE_LOGNUMBER | Value transfer | Type reference (TYPE) | BALOGNR | Application log: log number | 20130307 |
Method SAVE_LOG on class CL_CNV_MBT_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 | IT_COUNT_CONFIG | Call by reference | Type reference (TYPE) | DMC_LGHNDL_COUNT_CONFIG_TAB | configuration of message counting | 20130307 |
Method SET_COUNT_CONFIGURATION on class CL_CNV_MBT_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 | IM_MESSAGE_ID | Call by reference | Type reference (TYPE) | SYMSGID | Nachrichtenklasse | 20130307 | |||
| 2 | IM_MESSAGE_NUMBER | Call by reference | Type reference (TYPE) | SYMSGNO | Nachrichtennummer | 20130307 | |||
| 3 | IM_MESSAGE_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Nachrichtentyp | 20130307 | |||
| 4 | IM_MESSAGE_VARIABLE_1 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichtenvariable 1 | 20130307 | |||
| 5 | IM_MESSAGE_VARIABLE_2 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichtenvariable 2 | 20130307 | |||
| 6 | IM_MESSAGE_VARIABLE_3 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichtenvariable 3 | 20130307 | |||
| 7 | IM_MESSAGE_VARIABLE_4 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichtenvariable 4 | 20130307 | |||
| 8 | IM_SORT_CRITERIA | Call by reference | Type reference (TYPE) | BALSORT | 'IL' | Sortierkriterium/Gruppierung | 20130307 | ||
| 9 | I_NO_COUNT_CHECK | Call by reference | Type reference (TYPE) | BOOLEAN | '-' | boolean variable (X=true, -=false, space=unknown) | 20130307 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | LogHandle fehlt -> Es wurde kein Log geöffnet | 20130307 | ||
| 2 | Falscher Nachrichtentyp | 20130307 |
Method SHOW_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SAVE | Call by reference | Type reference (TYPE) | BOOLEAN | boolean variable (X=true, -=false, space=unknown) | 20130307 |
Method SHOW_LOG on class CL_CNV_MBT_LOG_HANDLER_ROOT has no exception.
History
| Last changed by/on | SAP | 20141030 |
| SAP Release Created in | 2011_1_700 |