SAP ABAP Class CL_CNV_MBT_LOG_HANDLER (Log handler for DMIS Job Scheduler)
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 - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_CNV_MBT_LOG_HANDLER_ROOT | Log handler root class | 20130307 |
Properties
| Class | CL_CNV_MBT_LOG_HANDLER | |
| Short Description | Log handler for DMIS Job Scheduler | |
| Super Class | CL_CNV_MBT_LOG_HANDLER_ROOT | Log handler root class |
| Instantiability of a Class | 0 | Private |
| 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 has no forward declaration.
Interfaces
Class CL_CNV_MBT_LOG_HANDLER has no interface implemented.
Friends
Class CL_CNV_MBT_LOG_HANDLER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'ACPLAN' | Protokoll-Unterobjekt 'Zugriffsplan' | 20130307 | ||
| 2 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'COBJ_GEN' | DMC: Allg. Bezeichner | 20130307 | ||
| 3 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'IUUC' | Application Log: Subobject | 20130307 | ||
| 4 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'COBJ_MNT' | Protokoll-Unterobjekt 'Pflege Konvertierungsobjekt' | 20130307 | ||
| 5 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'PREC' | Protokoll-Unterobjekt 'Vorkalkulation' | 20130307 | ||
| 6 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'COBJ_RT' | Protokoll-Unterobjekt 'Laufzeit Konvertierungsobjekt' | 20130307 | ||
| 7 | Constant | Public | Type reference (TYPE) | BALTABNAME | 'DMC_LOG_MSG_FILTER' | structure name for message context info | 20130307 | ||
| 8 | Constant | Public | Type reference (TYPE) | BALSORT | 'ACS' | Anwendungs-Log: Sortierkriterium/Gruppierung | 20130307 | ||
| 9 | Constant | Public | Type reference (TYPE) | BALSORT | 'IU' | Anwendungs-Log: Sortierkriterium/Gruppierung | 20130307 | ||
| 10 | Constant | Public | Type reference (TYPE) | BALSORT | 'MT' | Anwendungs-Log: Sortierkriterium/Gruppierung | 20130307 | ||
| 11 | Constant | Public | Type reference (TYPE) | BALSORT | 'PRC' | Anwendungs-Log: Sortierkriterium/Gruppierung | 20130307 | ||
| 12 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'EQUALS' | Protokoll-Unterobjekt 'Objektvergleich' | 20130307 | ||
| 13 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'IU' | Protokoll-Unterobjekt 'Integrated Upgrade' | 20130307 | ||
| 14 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_CNV_MBT_LOG_HANDLER | log handler reference | 20130307 | |||
| 15 | Static Attribute | Private | Type reference (TYPE) | CNV_MBT_LOG_INDEX_TAB | table for log indexing | 20130307 | |||
| 16 | Static Attribute | Private | Type reference (TYPE) | SYS_CALLST | Structure of System Callstack (like in the Debugger) | 20130307 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | add message to log with context data | 20130307 | |
| 2 | Instance method | Public | Constructor | Constructor | 20130307 | |
| 3 | Static method | Public | Method | creates the log handle object | 20130307 | |
| 4 | Static method | Public | Method | get log handles of logs assigned to certain object guids | 20130307 | |
| 5 | Static method | Public | Method | get reference of log handler | 20130307 | |
| 6 | Static method | Public | Method | initialize log handler reference | 20130307 | |
| 7 | Instance method | Public | Method | inserts count messages into the application log | 20130307 | |
| 8 | Instance method | Public | Method | save and close application log, open a new one | 20130307 | |
| 9 | Instance method | Public | Method | Resets original output behaviour | 20130307 | |
| 10 | Instance method | Public | Method | sets new output behaviour (dialog message / Appl.Log) | 20130307 | |
| 11 | Instance method | Public | Method | create application log message with context info | 20130307 |
Events
Class CL_CNV_MBT_LOG_HANDLER has no event.
Types
Class CL_CNV_MBT_LOG_HANDLER has no local type.
Method Signatures
Method ADD_MESSAGE_WITH_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ACTIVITY_TYPE | Call by reference | Type reference (TYPE) | DMC_ACTION_TYPE | MWB activity type | 20130307 | |||
| 2 | I_DATA_SRC_GUID | Call by reference | Type reference (TYPE) | DMC_GUID | DMC: Globally Unique Key (22 Characters) | 20130307 | |||
| 3 | I_LAYER | Call by reference | Type reference (TYPE) | DMC_LOG_MSG_FILTER-LAYER | layer (IL, OLI, OLV, etc.) | 20130307 | |||
| 4 | I_MAIN_OBJECT_GUID | Call by reference | Type reference (TYPE) | DMC_GUID | DMC: Globally Unique Key (22 Characters) | 20130307 | |||
| 5 | I_MAIN_OBJECT_RTI | Call by reference | Type reference (TYPE) | DMC_RTI | DMC: Flag that specifies the class | 20130307 | |||
| 6 | I_SUB_OBJECT_GUID | Call by reference | Type reference (TYPE) | DMC_GUID | DMC: Globally Unique Key (22 Characters) | 20130307 | |||
| 7 | I_SUB_OBJECT_RTI | Call by reference | Type reference (TYPE) | DMC_RTI | DMC: Flag that specifies the class | 20130307 | |||
| 8 | I_TECHNICAL_MSG | Call by reference | Type reference (TYPE) | BOOLEAN | '-' | boolean variable (X=true, -=false, space=unknown) | 20130307 | ||
| 9 | I_TRANSACTION_ID | Call by reference | Type reference (TYPE) | DMC_LOG_MSG_FILTER-TRANSACTION_ID | business object, identified by message ID etc. | 20130307 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130307 |
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 | Verhalten beim Schreiben der Meldung | 20130307 | |||
| 2 | IM_EXTERNAL_ID | Call by reference | Type reference (TYPE) | BALNREXT | Externe Kennung des Applikationslog | 20130307 | |||
| 3 | IM_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Anwendungs-Log: Handle eines Protokolls | 20130307 | |||
| 4 | IM_MAX_NO_MSG | Call by reference | Type reference (TYPE) | INT4 | 500 | Max. Anz. Meldungen | 20130307 | ||
| 5 | IM_OBJECT | Call by reference | Type reference (TYPE) | BALOBJ_D | 'DMC' | Application log: Object name (Application code) | 20130307 | ||
| 6 | IM_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | Anwendungs-Log: Unterobjekt | 20130307 |
Method CONSTRUCTOR on class CL_CNV_MBT_LOG_HANDLER has no exception.
Method CREATE_LOGHANDLER 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 | CL_DMC_LOG_HANDLER=>CO_LOG_ONLY | message output behaviour | 20130307 | ||
| 2 | IM_EXTERNAL_ID | Call by reference | Type reference (TYPE) | BALNREXT | external ID of appl. log | 20130307 | |||
| 3 | IM_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | log handle | 20130307 | |||
| 4 | IM_MAX_NO_MSG | Call by reference | Type reference (TYPE) | INT4 | 50000 | max. number of identical messages | 20130307 | ||
| 5 | IM_OBJECT | Call by reference | Type reference (TYPE) | BALOBJ_D | 'DMC' | Application log: objects | 20130307 | ||
| 6 | IM_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | appl. log. subobject | 20130307 | |||
| 7 | I_REACTIV_LOGHANDLE | Call by reference | Type reference (TYPE) | BOOLEAN | '-' | reactivate old log | 20130307 | ||
| 8 | I_SAVE_LOGHANDLE | Call by reference | Type reference (TYPE) | BOOLEAN | '-' | save old log handle | 20130307 | ||
| 9 | RE_REFERENCE | Value transfer | Object reference (TYPE REF TO) | CL_CNV_MBT_LOG_HANDLER | log handler object reference | 20130307 |
Method CREATE_LOGHANDLER on class CL_CNV_MBT_LOG_HANDLER has no exception.
Method GET_LOGS_FOR_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_OBJECT_GUIDS | Call by reference | Type reference (TYPE) | DMC_GUIDS_TAB | DMC: Table Type with GUIDs | 20130307 | |||
| 2 | RT_LOG_HANDLES | Value transfer | Type reference (TYPE) | BAL_T_LOGH | Application Log: Log Handle Table | 20130307 |
Method GET_LOGS_FOR_CONTEXT on class CL_CNV_MBT_LOG_HANDLER has no exception.
Method GET_REFERENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_REFERENCE | Value transfer | Object reference (TYPE REF TO) | CL_CNV_MBT_LOG_HANDLER | Log handler for MWB/DTL and CCW | 20130307 |
Method GET_REFERENCE on class CL_CNV_MBT_LOG_HANDLER has no exception.
Method INITIALIZE Signature
Method INITIALIZE on class CL_CNV_MBT_LOG_HANDLER has no parameter.
Method INITIALIZE on class CL_CNV_MBT_LOG_HANDLER has no exception.
Method INSERT_MESSAGE_COUNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DEL_OLD_MSG | Call by reference | Type reference (TYPE) | BOOLEAN | '-' | boolean variable (X=true, -=false, space=unknown) | 20130307 |
Method INSERT_MESSAGE_COUNT on class CL_CNV_MBT_LOG_HANDLER has no exception.
Method OPEN_NEW_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_EXTERNAL_ID | Call by reference | Type reference (TYPE) | BALNREXT | Application Log: External ID | 20130307 | |||
| 2 | IM_MAX_NO_MSG | Call by reference | Type reference (TYPE) | INT4 | 500 | Natural number | 20130307 | ||
| 3 | IM_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | CL_DMC_LOG_HANDLER=>CO_COBJ_MNT | Application Log: Subobject | 20130307 | ||
| 4 | I_OBJECT | Call by reference | Type reference (TYPE) | BALOBJ_D | 'DMC' | Application log: Object name (Application code) | 20130307 |
Method OPEN_NEW_LOG on class CL_CNV_MBT_LOG_HANDLER has no exception.
Method RESET_BEHAVIOUR Signature
Method RESET_BEHAVIOUR on class CL_CNV_MBT_LOG_HANDLER has no parameter.
Method RESET_BEHAVIOUR on class CL_CNV_MBT_LOG_HANDLER has no exception.
Method SET_BEHAVIOUR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_EXTERNAL_ID | Call by reference | Type reference (TYPE) | BALNREXT | Application Log: External ID | 20130307 | |||
| 2 | IM_NEW_BEHAVIOUR | Call by reference | Type reference (TYPE) | I | Neues Ausgabeverhalten | 20130307 | |||
| 3 | IM_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | Anwendungs-Log: Unterobjekt | 20130307 | |||
| 4 | I_OBJECT | Call by reference | Type reference (TYPE) | BALOBJ_D | 'DMC' | Log Object | 20130307 |
Method SET_BEHAVIOUR on class CL_CNV_MBT_LOG_HANDLER has no exception.
Method SET_MESSAGE_WITH_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ACTIVITY_TYPE | Call by reference | Type reference (TYPE) | DMC_ACTION_TYPE | MWB activity type | 20130307 | |||
| 2 | I_DATA_SRC_GUID | Call by reference | Type reference (TYPE) | DMC_GUID | DMC: Globally Unique Key (22 Characters) | 20130307 | |||
| 3 | I_LAYER | Call by reference | Type reference (TYPE) | DMC_LOG_MSG_FILTER-LAYER | layer (IL, OLI, OLV, etc.) | 20130307 | |||
| 4 | I_MAIN_OBJECT_GUID | Call by reference | Type reference (TYPE) | DMC_GUID | DMC: Globally Unique Key (22 Characters) | 20130307 | |||
| 5 | I_MAIN_OBJECT_RTI | Call by reference | Type reference (TYPE) | DMC_RTI | DMC: Flag that specifies the class | 20130307 | |||
| 6 | I_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | Messages, Message Class | 20130307 | |||
| 7 | I_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | Messages, Message Number | 20130307 | |||
| 8 | I_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | Messages, message type | 20130307 | |||
| 9 | I_MSGV1 | Call by reference | Type reference (TYPE) | SYMSGV | Messages, message variables | 20130307 | |||
| 10 | I_MSGV2 | Call by reference | Type reference (TYPE) | SYMSGV | Messages, message variables | 20130307 | |||
| 11 | I_MSGV3 | Call by reference | Type reference (TYPE) | SYMSGV | Messages, message variables | 20130307 | |||
| 12 | I_MSGV4 | Call by reference | Type reference (TYPE) | SYMSGV | Messages, message variables | 20130307 | |||
| 13 | I_SUB_OBJECT_GUID | Call by reference | Type reference (TYPE) | DMC_GUID | DMC: Globally Unique Key (22 Characters) | 20130307 | |||
| 14 | I_SUB_OBJECT_RTI | Call by reference | Type reference (TYPE) | DMC_RTI | DMC: Flag that specifies the class | 20130307 | |||
| 15 | I_TECHNICAL_MSG | Call by reference | Type reference (TYPE) | BOOLEAN | '-' | boolean variable (X=true, -=false, space=unknown) | 20130307 | ||
| 16 | I_TRANSACTION_ID | Call by reference | Type reference (TYPE) | DMC_LOG_MSG_FILTER-TRANSACTION_ID | business object, identified by message ID etc. | 20130307 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | log handle missing | 20130307 | ||
| 2 | wrong message type | 20130307 |
History
| Last changed by/on | SAP | 20141030 |
| SAP Release Created in | 2011_1_700 |