SAP ABAP Interface IF_MDG_MSG_HANDLER (Message Handler)
Hierarchy
☛
MDG_FND (Software Component) MDG Foundation
⤷
CA-MDG-AF (Application Component) Application Framework
⤷
MDG_MSG_HANDLING (Package) Message Handler with Extended Context Information
⤷
⤷
Properties
| Interface | IF_MDG_MSG_HANDLER | |
| Short Description | Message Handler |
General Data
| Package | MDG_MSG_HANDLING | Message Handler with Extended Context Information |
| Created | 20081218 | SAP |
| Last changed | 20130531 | SAP |
| Unicode checks active |
Forward declarations
Interface IF_MDG_MSG_HANDLER has no forward declaration.
Interfaces
Interface IF_MDG_MSG_HANDLER has no interface.
Friends
Interface IF_MDG_MSG_HANDLER has no friend.
Attributes
Interface IF_MDG_MSG_HANDLER has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Adds Messages from Other Message Collectors | 20081218 | |
| 2 | Instance method | Public | Method | Adds Messages (MDG_MDF Layer) | 20090115 | |
| 3 | Instance method | Public | Method | Adds a Single Message | 20081218 | |
| 4 | Instance method | Public | Method | Adds Several Messages | 20081218 | |
| 5 | Instance method | Public | Method | Adds a Message (Based on the System Fields) | 20081218 | |
| 6 | Instance method | Public | Method | Deletes All Messages Collected from the Message Handler | 20081218 | |
| 7 | Instance method | Public | Method | Gets Messages in BAPIRET2 Format | 20081218 | |
| 8 | Instance method | Public | Method | Generates SY-MSG with Link to Application Log | 20081218 | |
| 9 | Instance method | Public | Method | Displays the Collected Messages | 20081218 | |
| 10 | Instance method | Public | Method | Provides Last Message with Specified Error Severity | 20081218 | |
| 11 | Instance method | Public | Method | Provides the application log handle to the outside | 20081218 | |
| 12 | Instance method | Public | Method | Supplies all Collected Messages | 20081218 | |
| 13 | Instance method | Public | Method | Gets Number of Messages (Optionally with Problem Class) | 20081218 | |
| 14 | Instance method | Public | Method | Saves the Collected Messages | 20081218 | |
| 15 | Instance method | Public | Method | Sets Appl.-related Display Structure for Internal Context | 20081218 |
Events
Interface IF_MDG_MSG_HANDLER has no event.
Types
Interface IF_MDG_MSG_HANDLER has no local type.
Method Signatures
Method ADD_FROM_MSG_HANDLER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_MSG_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_MDG_MSG_HANDLER | Message Handler | 20081218 |
Method ADD_FROM_MSG_HANDLER on Interface IF_MDG_MSG_HANDLER has no exception.
Method ADD_MDG_MDF_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MESSAGES | Call by reference | Type reference (TYPE) | MDG_MDF_T_MESSAGE | FIN Master Data: Messages | 20090115 | |||
| 2 | IX_FORCE | Call by reference | Type reference (TYPE) | BOOLE_D | Does not trigger MSG_RAISED | 20090115 |
Method ADD_MDG_MDF_MESSAGES on Interface IF_MDG_MSG_HANDLER has no exception.
Method ADD_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_MESSAGE | Call by reference | Type reference (TYPE) | MDG_MSG | Messageinformationen für den FINB Message Handler | 20081218 | |||
| 2 | IO_CONTEXT_FACTORY | Call by reference | Object reference (TYPE REF TO) | IF_MDG_MSG_CONTEXT_FACTORY | sollte nur durch FINB_MSG_HANDLING versorgt werden !!! | 20081218 | |||
| 3 | IX_FORCE | Call by reference | Type reference (TYPE) | BOOLE_D | Löse kein MSG_RAISED aus | 20081218 |
Method ADD_MESSAGE on Interface IF_MDG_MSG_HANDLER has no exception.
Method ADD_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MESSAGES | Call by reference | Type reference (TYPE) | MDG_TBL_MSG | Tabelle von Messages | 20081218 | |||
| 2 | IX_FORCE | Call by reference | Type reference (TYPE) | BOOLE_D | Löse kein MSG_RAISED aus | 20081218 |
Method ADD_MESSAGES on Interface IF_MDG_MSG_HANDLER has no exception.
Method ADD_SY_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 | Nachrichten, Nachrichtenklasse | 20081218 | |||
| 2 | I_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | Nachrichten, Nachrichtennummer | 20081218 | |||
| 3 | I_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | Nachrichten, Nachrichtentyp | 20081218 | |||
| 4 | I_MSGV1 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichten, Nachrichtenvariable | 20081218 | |||
| 5 | I_MSGV2 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichten, Nachrichtenvariable | 20081218 | |||
| 6 | I_MSGV3 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichten, Nachrichtenvariable | 20081218 | |||
| 7 | I_MSGV4 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichten, Nachrichtenvariable | 20081218 |
Method ADD_SY_MESSAGE on Interface IF_MDG_MSG_HANDLER has no exception.
Method CLEAR Signature
Method CLEAR on Interface IF_MDG_MSG_HANDLER has no parameter.
Method CLEAR on Interface IF_MDG_MSG_HANDLER has no exception.
Method CONVERT2BAPIRET2 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_BAPIRET2 | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20081218 | |||
| 2 | I_CONTEXT_PARA | Call by reference | Type reference (TYPE) | BAPI_PARAM | Einstelliges Kennzeichen | 20081218 |
Method CONVERT2BAPIRET2 on Interface IF_MDG_MSG_HANDLER has no exception.
Method CREATE_SY_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | Nachrichten, Nachrichtenklasse | 20081218 | |||
| 2 | E_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | Nachrichten, Nachrichtennummer | 20081218 | |||
| 3 | E_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | Nachrichten, Nachrichtentyp | 20081218 | |||
| 4 | E_MSGV1 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichten, Nachrichtenvariable | 20081218 | |||
| 5 | E_MSGV2 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichten, Nachrichtenvariable | 20081218 | |||
| 6 | E_MSGV3 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichten, Nachrichtenvariable | 20081218 | |||
| 7 | E_MSGV4 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichten, Nachrichtenvariable | 20081218 | |||
| 8 | I_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | Nachrichten, Nachrichtentyp | 20081218 | |||
| 9 | I_MSG_TEXT | Call by reference | Type reference (TYPE) | SYMSGV | Kurztext der Sammelmeldung | 20081218 | |||
| 10 | I_SCHEDMAN_APPL | Call by reference | Type reference (TYPE) | MDG_MSG_APPL | steuert Nachrichtenanzeige | 20081218 |
Method CREATE_SY_MESSAGE on Interface IF_MDG_MSG_HANDLER has no exception.
Method DISPLAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_EXIT_COMMAND | Call by reference | Type reference (TYPE) | BAL_S_EXCM | Anwendungs-Log: Vom User betätigte Taste beim Beenden | 20081218 | |||
| 2 | I_BAL_S_PROF | Call by reference | Type reference (TYPE) | BAL_S_PROF | Anwendungs-Log: Aufbereitungs-Profil für Protokollausgabe | 20081218 | |||
| 3 | I_ONLY_IF_NOT_INITIAL | Call by reference | Type reference (TYPE) | BOOLE_D | ' ' | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20081218 | ||
| 4 | I_USE_MESSAGE_IF_SINGLE | Call by reference | Type reference (TYPE) | BOOLE_D | ' ' | Ausgabe per MESSAGE, wenn nur eine Meldung vorhanden | 20081218 | ||
| 5 | X_AS_POPUP | Value transfer | Type reference (TYPE) | BOOLE_D | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20081218 |
Method DISPLAY on Interface IF_MDG_MSG_HANDLER has no exception.
Method GET_LAST_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_MESSAGE | Call by reference | Type reference (TYPE) | MDG_MSG | Messageinformationen für den FINB Message Handler | 20081218 | |||
| 2 | I_OBJECT | Call by reference | Type reference (TYPE) | BALOBJ_D | Anwendungs-Log: Objektname (Applikationskürzel) | 20081218 | |||
| 3 | I_PROBCLASS | Call by reference | Type reference (TYPE) | BALPROBCL | Anwendungs-Log: Problemklasse einer Meldung | 20081218 | |||
| 4 | I_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | Anwendungs-Log: Unterobjekt | 20081218 |
Method GET_LAST_MESSAGE on Interface IF_MDG_MSG_HANDLER has no exception.
Method GET_LOG_HANDLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | BALLOGHNDL | Anwendungs-Log: Handle eines Protokolls | 20081218 |
Method GET_LOG_HANDLE on Interface IF_MDG_MSG_HANDLER has no exception.
Method GET_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | MDG_TBL_MSG | Tabelle von Messages | 20081218 |
Method GET_MESSAGES on Interface IF_MDG_MSG_HANDLER has no exception.
Method GET_MESSAGE_COUNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_PROBCLASS | Value transfer | Type reference (TYPE) | BALPROBCL | Anwendungs-Log: Problemklasse einer Meldung | 20081218 | |||
| 2 | RESULT | Value transfer | Type reference (TYPE) | BALCNTALL | Anzahl der Messages | 20081218 |
Method GET_MESSAGE_COUNT on Interface IF_MDG_MSG_HANDLER has no exception.
Method SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CLIENT | Value transfer | Type reference (TYPE) | SY-MANDT | SY-MANDT | Mandantennummer aus Anmeldung | 20081218 | ||
| 2 | RESULT | Value transfer | Type reference (TYPE) | BALOGNR | Anwendungs-Log: Protokollnummer | 20081218 |
Method SAVE on Interface IF_MDG_MSG_HANDLER has no exception.
Method SET_DISPLAY_DEFAULTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APPL | Call by reference | Type reference (TYPE) | MDG_MSG_APPL | Anwendung für Message Handler | 20081218 | |||
| 2 | I_STRUCTURE_NAME | Call by reference | Type reference (TYPE) | STRUKNAME | Name einer Struktur | 20081218 |
Method SET_DISPLAY_DEFAULTS on Interface IF_MDG_MSG_HANDLER has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 702 |