SAP ABAP Class CL_CRM_LOG (Check Results Management: Log)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-ATF (Application Component) ABAP Test Frameworks ( ATC, CheckMan, Code Inspector)
⤷
S_CHECK_RESULT_MANAGEMENT (Package) SAP ONLY: Check Internal Guidelines - Basic Module
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_CRM_GLOBAL | Check Results Management: Global Information | 20000523 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_CRM_LOG | Check Results Management: Log | 20000531 |
Properties
| Class | CL_CRM_LOG | |
| Short Description | Check Results Management: Log | |
| Super Class | CL_CRM_GLOBAL | Check Results Management: Global Information |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_CHECK_RESULT_MANAGEMENT | SAP ONLY: Check Internal Guidelines - Basic Module |
| Created | 20000516 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_CRM_LOG has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_CRM_LOG | Check Results Management: Log | 20000531 |
Friends
Class CL_CRM_LOG has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | CRMLOGAREA | 'C' | Log Area: Check | 20010221 | ||
| 2 | Constant | Public | Type reference (TYPE) | CRMLOGAREA | 'P' | Log Area: Check Profile | 20010221 | ||
| 3 | Constant | Public | Type reference (TYPE) | CRMLOGAREA | 'R' | Log Area: Check Result | 20010221 | ||
| 4 | Constant | Public | Type reference (TYPE) | CRMLOGAREA | 'S' | Log Area: Check Run | 20010221 | ||
| 5 | Constant | Public | Type reference (TYPE) | CRMLOGAREA | 'Q' | Log Area: Object Collector | 20010221 | ||
| 6 | Constant | Public | Type reference (TYPE) | CRMLOGAREA | 'O' | Log Area: Object Set | 20010221 | ||
| 7 | Constant | Public | Type reference (TYPE) | CHAR1 | '2' | Problem Class: High | 20010221 | ||
| 8 | Constant | Public | Type reference (TYPE) | CHAR1 | '4' | Problem Class: Low | 20010221 | ||
| 9 | Constant | Public | Type reference (TYPE) | CHAR1 | '3' | Problem Class: Medium | 20010221 | ||
| 10 | Constant | Public | Type reference (TYPE) | CHAR1 | ' ' | Problem Class: None | 20010221 | ||
| 11 | Constant | Public | Type reference (TYPE) | CHAR1 | '1' | Problem Class: Very High | 20010221 | ||
| 12 | Instance attribute | Protected | Type reference (TYPE) | CRMLOGAREA | Log Area | 20000517 | |||
| 13 | Instance attribute | Protected | Type reference (TYPE) | BALLOGHNDL | Log Handle | 20000516 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | BAL_T_LOGH | Table of Log Handles | 20000516 | |||
| 15 | Instance attribute | Protected | Type reference (TYPE) | BAL_S_LOG | Log Header Data | 20000516 | |||
| 16 | Instance attribute | Protected | Type reference (TYPE) | CRMLOGKEY | Log Key | 20000517 | |||
| 17 | Instance attribute | Protected | Type reference (TYPE) | CRMSEQNBR | Structure Version of LOGKEY | 20000517 | |||
| 18 | Instance attribute | Protected | Type reference (TYPE) | TY_MESSAGES | Log Lines | 20000516 | |||
| 19 | Instance attribute | Protected | Type reference (TYPE) | BAL_T_MSGH | Table of Message Handles | 20000516 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Create Log Entry and Write to Database | 20010221 | |
| 2 | Instance method | Public | Method | Delete Log | 20000516 | |
| 3 | Instance method | Public | Method | Display Log | 20000516 | |
| 4 | Instance method | Public | Method | Create Log Entry | 20000516 | |
| 5 | Instance method | Public | Method | Unite Logs | 20000605 | |
| 6 | Instance method | Public | Method | Read Log | 20000522 | |
| 7 | Instance method | Public | Method | Select Log | 20000516 | |
| 8 | Instance method | Public | Method | Update Log on Database | 20000516 |
Events
Class CL_CRM_LOG has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_MESSAGE | Protected | See coding | Log Line | 20000516 | |
|
| 2 | TY_MESSAGES | Protected | See coding | Log Lines | 20000516 | |
Method Signatures
Method CREATE_LOG_ENTRY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_LEVEL | Call by reference | Type reference (TYPE) | CRMLOGMSG-DETLEVEL | Anwendungs-Log: Detaillierungsgrad | 20010221 | |||
| 2 | IM_MESSAGE_ID | Call by reference | Type reference (TYPE) | SYMSGID | Nachrichten, Nachrichtenklasse | 20010221 | |||
| 3 | IM_MESSAGE_NO | Call by reference | Type reference (TYPE) | SYMSGNO | Nachrichten, Nachrichtennummer | 20010221 | |||
| 4 | IM_MESSAGE_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Nachrichten, Nachrichtentyp | 20010221 | |||
| 5 | IM_MESSAGE_V1 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichten, Nachrichtenvariable | 20010221 | |||
| 6 | IM_MESSAGE_V2 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichten, Nachrichtenvariable | 20010221 | |||
| 7 | IM_MESSAGE_V3 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichten, Nachrichtenvariable | 20010221 | |||
| 8 | IM_MESSAGE_V4 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichten, Nachrichtenvariable | 20010221 | |||
| 9 | IM_SEVERITY | Call by reference | Type reference (TYPE) | CRMLOGMSG-PROBCLASS | Anwendungs-Log: Problemklasse einer Meldung | 20010221 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Protokoll konnte nicht angelegt werden | 20010221 |
Method DELETE_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_WITH_COMMIT_WORK | Call by reference | Type reference (TYPE) | CRMFLAG | CO_NO | Commit work durchführen | 20000517 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Protokoll nicht vorhanden | 20000517 |
Method DISPLAY_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_LOG_AREA | Call by reference | Type reference (TYPE) | CRMLOGAREA | Protokoll-Gebiet | 20000523 | |||
| 2 | IM_LOG_KEY | Call by reference | Type reference (TYPE) | CRMLOGKEY | Protokoll-Schlüssel | 20000523 |
Method DISPLAY_LOG on class CL_CRM_LOG has no exception.
Method INSERT_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_LEVEL | Call by reference | Type reference (TYPE) | CRMLOGMSG-DETLEVEL | Anwendungs-Log: Detaillierungsgrad | 20000531 | |||
| 2 | IM_MESSAGE | Call by reference | Type reference (TYPE) | CRMLOGMSG | Protokolleintrag | 20000516 | |||
| 3 | IM_SEVERITY | Call by reference | Type reference (TYPE) | CRMLOGMSG-PROBCLASS | Anwendungs-Log: Problemklasse einer Meldung | 20000531 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Log wurde nicht gefunden | 20000517 | ||
| 2 | Log Nachricht nicht korrekt | 20000531 |
Method MERGE_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_LOG_REF | Call by reference | Object reference (TYPE REF TO) | CL_CRM_LOG | Log-Referenz Vereinigung A u B | 20000605 | |||
| 2 | IM_LOG_REF_A | Call by reference | Object reference (TYPE REF TO) | CL_CRM_LOG | Log-Referenz A | 20000605 | |||
| 3 | IM_LOG_REF_B | Call by reference | Object reference (TYPE REF TO) | CL_CRM_LOG | Log-Referenz B | 20000605 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter nicht korrekt | 20000605 |
Method READ_LOG Signature
Method READ_LOG on class CL_CRM_LOG has no parameter.
Method READ_LOG on class CL_CRM_LOG has no exception.
Method SET_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_LOG_AREA | Call by reference | Type reference (TYPE) | CRMLOGAREA | Protokollgebiet | 20000517 | |||
| 2 | IM_LOG_KEY | Call by reference | Type reference (TYPE) | CRMLOGKEY | Protokollschlüssel | 20000517 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Protokollgebiet nicht vorhanden | 20000517 |
Method UPDATE_DATABASE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_WITH_COMMIT_WORK | Call by reference | Type reference (TYPE) | CRMFLAG | Commit work durchführen | 20000516 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Datenbankaktualisierung konnte nicht durchgeführt werden | 20000516 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |