SAP ABAP Class CL_MESSAGE_HELPER (Auxiliary Class for the MESSAGE Statement)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
S_ABAP_EXCEPTIONS (Package) ABAP Runtime Errors as System Exceptions

⤷

⤷

Properties
Class | CL_MESSAGE_HELPER | |
Short Description | Auxiliary Class for the MESSAGE Statement | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | S_ABAP_EXCEPTIONS | ABAP Runtime Errors as System Exceptions |
Created | 20020114 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_MESSAGE_HELPER has no interface implemented.
Friends
Class CL_MESSAGE_HELPER has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Static Attribute | Public | Object reference (TYPE REF TO) | IF_MESSAGE | The message object used by MESSAGE | 20020114 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Sets Appropriate Key for MESSAGE | 20070309 |
2 | ![]() |
Static method | Public | Method | Returns Long Text for Parameter(s) | 20030929 |
3 | ![]() |
Static method | Private | Method | Returns OTR Short Text Without Parameter Setting | 20090330 |
4 | ![]() |
Static method | Public | Method | Returns OTR Short Text Without Parameter Setting | 20090330 |
5 | ![]() |
Static method | Private | Method | Returns Long Text from T100 | 20030929 |
6 | ![]() |
Static method | Private | Method | Returns Long Text from T100 | 20090330 |
7 | ![]() |
Static method | Public | Method | Returns T100 Short Text | 20090330 |
8 | ![]() |
Static method | Public | Method | Returns Short Text for Parameter(s) | 20030929 |
9 | ![]() |
Static method | Public | Method | Returns Text Parameter | 20070309 |
10 | ![]() |
Static method | Public | Method | Returns Text Parameter | 20090330 |
11 | ![]() |
Static method | Public | Method | Replaces Text Parameter | 20090330 |
12 | ![]() |
Static method | Public | Method | Sets MESSAGE Variables, if Text Is of Type ANY | 20030807 |
13 | ![]() |
Static method | Public | Method | Sets MESSAGE Variables, if Text Is of Type CLIKE | 20030806 |
14 | ![]() |
Static method | Public | Method | Sets MESSAGE Variables, REF TO IF_MESSAGE | 20040518 |
15 | ![]() |
Static method | Public | Method | Sets MESSAGE Variables, REF TO IF_T100_MESSAGE | 20030806 |
16 | ![]() |
Static method | Private | Method | Sets Single MESSAGE Variable | 20030806 |
17 | ![]() |
Static method | Private | Method | Executes MOVE for Setting of MESSAGE Variable | 20040504 |
18 | ![]() |
Static method | Private | Method | Executes MOVE for Setting of MESSAGE Variable | 20040504 |
19 | ![]() |
Static method | Private | Method | Executes MOVE for Setting of MESSAGE Variable | 20040504 |
20 | ![]() |
Static method | Public | Method | Replaces New Lines with Blank Characters | 20090330 |
Events
Class CL_MESSAGE_HELPER has no event.
Types
Class CL_MESSAGE_HELPER has no local type.
Method Signatures
Method CHECK_MSG_KIND Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
MSG | Value transfer | Object reference (TYPE REF TO) | IF_MESSAGE | Meldungsobjekt | 20070309 | ||
2 | ![]() |
T100KEY | Value transfer | Type reference (TYPE) | SCX_T100KEY | T100 Schlüssel mit Abbildung der Parameter auf Attributnamen | 20070309 | ||
3 | ![]() |
TEXTID | Value transfer | Type reference (TYPE) | SOTR_CONC | Schlüssel zum logischen Objekt im OTR | 20070309 |
Method CHECK_MSG_KIND on class CL_MESSAGE_HELPER has no exception.
Method GET_LONGTEXT_FOR_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
PRESERVE_NEWLINES | Value transfer | Type reference (TYPE) | ABAP_BOOL | Wahr, wenn Zeilenumbrüche nicht durch Spaces ersetzt werden | 20040618 | ||
2 | ![]() |
RESULT | Value transfer | Type reference (TYPE) | STRING | 20030929 | |||
3 | ![]() |
T100_PREPEND_SHORT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 'X' | Wahr, wenn bei T100-Texten der Kurztext vorangestellt wird | 20090330 | |
4 | ![]() |
TEXT | Value transfer | Object reference (TYPE REF TO) | IF_MESSAGE | Message | 20030929 |
Method GET_LONGTEXT_FOR_MESSAGE on class CL_MESSAGE_HELPER has no exception.
Method GET_OTR_LONGTEXT_RAW Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RESULT | Call by reference | Type reference (TYPE) | STRING | Langtext | 20090330 | ||
2 | ![]() |
TEXTID | Call by reference | Type reference (TYPE) | SOTR_CONC | Schlüssel zum logischen Objekt im OTR | 20090330 |
Method GET_OTR_LONGTEXT_RAW on class CL_MESSAGE_HELPER has no exception.
Method GET_OTR_TEXT_RAW Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RESULT | Call by reference | Type reference (TYPE) | STRING | Kurztext | 20090330 | ||
2 | ![]() |
TEXTID | Call by reference | Type reference (TYPE) | SOTR_CONC | Schlüssel zum logischen Objekt im OTR | 20090330 |
Method GET_OTR_TEXT_RAW on class CL_MESSAGE_HELPER has no exception.
Method GET_T100_LONGTEXT_FOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
OBJ | Value transfer | Object reference (TYPE REF TO) | OBJECT | Objekt | 20090330 | ||
2 | ![]() |
PREPEND_SHORT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 'X' | Wahr, wenn der Kurztext vorangestellt werden soll | 20090330 | |
3 | ![]() |
RESULT | Value transfer | Type reference (TYPE) | STRING | 20030929 | |||
4 | ![]() |
T100KEY | Call by reference | Type reference (TYPE) | SCX_T100KEY | T100 Schlüssel mit Abbildung der Parameter auf Attributnamen | 20090330 | ||
5 | ![]() |
TEXT | Value transfer | Object reference (TYPE REF TO) | IF_MESSAGE | Schnittstelle zum Zugriff auf Texte von Meldungsobjekten | 20090330 |
Method GET_T100_LONGTEXT_FOR on class CL_MESSAGE_HELPER has no exception.
Method GET_T100_LONGTEXT_ITF Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ITF_ITAB | Call by reference | Type reference (TYPE) | TLINE_TAB | Liste von Sapscript Zeilen | 20090330 | ||
2 | ![]() |
OBJ | Value transfer | Object reference (TYPE REF TO) | OBJECT | Objekt | 20090330 | ||
3 | ![]() |
T100KEY | Call by reference | Type reference (TYPE) | SCX_T100KEY | T100 Schlüssel mit Abbildung der Parameter auf Attributnamen | 20090330 |
Method GET_T100_LONGTEXT_ITF on class CL_MESSAGE_HELPER has no exception.
Method GET_T100_TEXT_FOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
OBJ | Value transfer | Object reference (TYPE REF TO) | OBJECT | Objekt | 20090330 | ||
2 | ![]() |
RESULT | Call by reference | Type reference (TYPE) | STRING | Kurztext | 20090330 | ||
3 | ![]() |
T100KEY | Call by reference | Type reference (TYPE) | SCX_T100KEY | T100 Schlüssel mit Abbildung der Parameter auf Attributnamen | 20090330 |
Method GET_T100_TEXT_FOR on class CL_MESSAGE_HELPER has no exception.
Method GET_TEXT_FOR_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RESULT | Value transfer | Type reference (TYPE) | STRING | 20030929 | |||
2 | ![]() |
TEXT | Value transfer | Object reference (TYPE REF TO) | IF_MESSAGE | Message-Instanz | 20030929 |
Method GET_TEXT_FOR_MESSAGE on class CL_MESSAGE_HELPER has no exception.
Method GET_TEXT_PARAMS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
OBJ | Value transfer | Object reference (TYPE REF TO) | OBJECT | 20070309 | |||
2 | ![]() |
PARAMS | Call by reference | Type reference (TYPE) | SOTR_PARAMS | Tabelle mit Zuordnung von Parameter und Wert | 20070309 |
Method GET_TEXT_PARAMS on class CL_MESSAGE_HELPER has no exception.
Method GET_TEXT_SPARAMS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
OBJ | Value transfer | Object reference (TYPE REF TO) | OBJECT | Objekt | 20090330 | ||
2 | ![]() |
PARAMS | Call by reference | Type reference (TYPE) | SBTFR_PARAM_TT | Parameter | 20090330 |
Method GET_TEXT_SPARAMS on class CL_MESSAGE_HELPER has no exception.
Method REPLACE_TEXT_PARAMS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
OBJ | Value transfer | Object reference (TYPE REF TO) | OBJECT | Objekt | 20090330 | ||
2 | ![]() |
RESULT | Call by reference | Type reference (TYPE) | STRING | Text | 20090330 |
Method REPLACE_TEXT_PARAMS on class CL_MESSAGE_HELPER has no exception.
Method SET_MSG_VARS_FOR_ANY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
STRING | Value transfer | Type reference (TYPE) | STRING | 20040518 | |||
2 | ![]() |
TEXT | Call by reference | Type reference (TYPE) | ANY | 20030807 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Ungültiger MESSAGE Text-Parameter | 20030807 |
Method SET_MSG_VARS_FOR_CLIKE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
TEXT | Value transfer | Type reference (TYPE) | CLIKE | Text | 20030806 |
Method SET_MSG_VARS_FOR_CLIKE on class CL_MESSAGE_HELPER has no exception.
Method SET_MSG_VARS_FOR_IF_MSG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
STRING | Value transfer | Type reference (TYPE) | STRING | String zur Übergabe an MESSAGE | 20040518 | ||
2 | ![]() |
TEXT | Value transfer | Object reference (TYPE REF TO) | IF_MESSAGE | Schnittstelle zum Zugriff auf Texte von Meldungsobjekten | 20040518 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Ungültiger MESSAGE Text-Parameter | 20040518 |
Method SET_MSG_VARS_FOR_IF_T100_MSG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
TEXT | Value transfer | Object reference (TYPE REF TO) | IF_T100_MESSAGE | 20030806 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Ungültiger MESSAGE Text-Parameter | 20030806 |
Method SET_SINGLE_MSG_VAR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ARG | Call by reference | Type reference (TYPE) | CLIKE | 20030807 | |||
2 | ![]() |
OBJ | Value transfer | Object reference (TYPE REF TO) | OBJECT | 20030807 | |||
3 | ![]() |
TARGET | Call by reference | Type reference (TYPE) | C | 20030807 |
Method SET_SINGLE_MSG_VAR on class CL_MESSAGE_HELPER has no exception.
Method SET_SINGLE_MSG_VAR_CLIKE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ARG | Call by reference | Type reference (TYPE) | CLIKE | 20040504 | |||
2 | ![]() |
TARGET | Call by reference | Type reference (TYPE) | C | 20040504 |
Method SET_SINGLE_MSG_VAR_CLIKE on class CL_MESSAGE_HELPER has no exception.
Method SET_SINGLE_MSG_VAR_NUMERIC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ARG | Call by reference | Type reference (TYPE) | NUMERIC | 20040504 | |||
2 | ![]() |
TARGET | Call by reference | Type reference (TYPE) | C | 20040504 |
Method SET_SINGLE_MSG_VAR_NUMERIC on class CL_MESSAGE_HELPER has no exception.
Method SET_SINGLE_MSG_VAR_XSEQ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ARG | Call by reference | Type reference (TYPE) | XSEQUENCE | 20040504 | |||
2 | ![]() |
TARGET | Call by reference | Type reference (TYPE) | C | 20040504 |
Method SET_SINGLE_MSG_VAR_XSEQ on class CL_MESSAGE_HELPER has no exception.
Method STRIP_NEWLINES_FROM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
MESSAGE | Call by reference | Type reference (TYPE) | STRING | Text | 20090330 |
Method STRIP_NEWLINES_FROM on class CL_MESSAGE_HELPER has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 630 |