SAP ABAP Class CL_ECM_MESSAGE (Message Handling)
Hierarchy
☛
SAP_ABA (Software Component) Cross-Application Component
⤷
CA-GTF-ECM (Application Component) Engineering Change Management
⤷
ECM_OBJECTS (Package) ECM: Objects (Request, Order, Task, Validity)
⤷
⤷
Properties
| Class | CL_ECM_MESSAGE | |
| Short Description | Message Handling | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ECM_OBJECTS | ECM: Objects (Request, Order, Task, Validity) |
| Created | 20020513 | SAP |
| Last change | 20041228 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_ECM_MESSAGE has no forward declaration.
Interfaces
Class CL_ECM_MESSAGE has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_ECM_GROUP | 20021021 | Group Assignment for Request | |
| 2 | CL_ECM_OBJ | 20021021 | Central Change Object Services | |
| 3 | CL_ECM_ORD | 20021021 | Change Order | |
| 4 | CL_ECM_REQ | 20021021 | Engineering Change Request | |
| 5 | CL_ECM_TSK | 20021021 | Change Task | |
| 6 | CL_ECM_VALIDITY | 20021021 | Validity: Processing |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | BALLOGHNDL | Application log: Log handle | 20030225 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | BALHDRI | Log Header | 20020909 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | BALLOGHNDL | Application log: Log handle | 20020627 | |||
| 4 | Constant | Private | Type reference (TYPE) | BALOBJ_D | 'ECM' | Application Log: Engineering Change Management | 20020610 | ||
| 5 | Static Attribute | Private | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20020610 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Protected | Method | Display Log in WIN UI | 20030212 | |
| 2 | Static method | Protected | Method | Read Current Log Handle | 20030225 | |
| 3 | Static method | Protected | Method | Read Current Header | 20020909 | |
| 4 | Static method | Public | Method | Initialize Application Log | 20020610 | |
| 5 | Static method | Public | Method | Close the Application Log | 20020909 | |
| 6 | Static method | Public | Method | Close and Save the Application Log | 20020617 | |
| 7 | Static method | Public | Method | Display Message or Write It to Log | 20020513 |
Events
Class CL_ECM_MESSAGE has no event.
Types
Class CL_ECM_MESSAGE has no local type.
Method Signatures
Method DISPLAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_LOG_HANDLE | Value transfer | Type reference (TYPE) | BALLOGHNDL | Anwendungs-Log: Handle eines Protokolls | 20030212 |
Method DISPLAY on class CL_ECM_MESSAGE has no exception.
Method GET_LOG_HANDLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LOG_HANDLE | Value transfer | Type reference (TYPE) | BALLOGHNDL | Anwendungs-Log: Handle eines Protokolls | 20030225 |
Method GET_LOG_HANDLE on class CL_ECM_MESSAGE has no exception.
Method GET_LOG_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LOG_HEADER | Value transfer | Type reference (TYPE) | BALHDRI | Anwendungs-Log: Schnittstelle für APPL_LOG_WRITE_HEADER | 20020909 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Log nicht initialisiert | 20020909 |
Method INIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LOG_HANDLE | Value transfer | Type reference (TYPE) | BALLOGHNDL | Anwendungs-Log: Handle eines Protokolls | 20020627 | |||
| 2 | I_LOG_HANDLE | Value transfer | Type reference (TYPE) | BALLOGHNDL | Anwendungs-Log: Handle eines Protokolls | 20030212 | |||
| 3 | I_SUBOBJECT | Value transfer | Type reference (TYPE) | BALSUBOBJ | Unterobjekt (ORDER/ REQUEST) | 20020610 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Falsches Unterobjekt | 20020610 |
Method READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Value transfer | Type reference (TYPE) | BAPIRETTAB | Returnparameter | 20020909 | |||
| 2 | I_LOG_HANDLE | Value transfer | Type reference (TYPE) | BALLOGHNDL | Anwendungs-Log: Handle eines Protokolls | 20030212 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Log war nicht initialisiert worden | 20020909 |
Method SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Value transfer | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20020617 | |||
| 2 | E_LOG_NUMBER | Value transfer | Type reference (TYPE) | BALOGNR | Anwendungs-Log: Protokollnummer | 20020617 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Speichern des Protokolls | 20020617 | ||
| 2 | Log war nicht initialisiert worden | 20020617 |
Method SET_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ID | Value transfer | Type reference (TYPE) | SY-MSGID | Nachrichten, Nachrichtenklasse | 20020513 | |||
| 2 | I_NUMBER | Value transfer | Type reference (TYPE) | SY-MSGNO | Nachrichten, Nachrichtennummer | 20020513 | |||
| 3 | I_TYPE | Value transfer | Type reference (TYPE) | SY-MSGTY | Nachrichten, Nachrichtentyp | 20020513 | |||
| 4 | I_V1 | Value transfer | Type reference (TYPE) | SY-MSGV1 | Nachrichten, Nachrichtenvariable | 20020513 | |||
| 5 | I_V2 | Value transfer | Type reference (TYPE) | SY-MSGV2 | Nachrichten, Nachrichtenvariable | 20020513 | |||
| 6 | I_V3 | Value transfer | Type reference (TYPE) | SY-MSGV3 | Nachrichten, Nachrichtenvariable | 20020513 | |||
| 7 | I_V4 | Value transfer | Type reference (TYPE) | SY-MSGV4 | Nachrichten, Nachrichtenvariable | 20020513 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Log war nicht initialisiert worden | 20020610 | ||
| 2 | Fehler beim Schreiben der Meldung | 20020610 |
History
| Last changed by/on | SAP | 20041228 |
| SAP Release Created in | 2.00 |