SAP ABAP Class CL_MESSAGE (Abstract Superclasses for Messages)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
     SOOL (Package) Object-Oriented Basis Classes
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_MESSAGE Interface for Accessing Texts from Message Objects 20010914
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_FREETEXT_MESSAGE Message Whose Text is an ABAP String 20000202
2 Inheritance (c INHERITING FROM c_ref)  CL_OTR_MESSAGE Message Stored in OTR 20000725
3 Inheritance (c INHERITING FROM c_ref)  CL_T100_MESSAGE Message Stored in the Table T100 20000725
Properties
Class CL_MESSAGE  
Short Description Abstract Superclasses for Messages    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SOOL   Object-Oriented Basis Classes 
Created 19991202   SAP 
Last change 20000406   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_MESSAGE Interface for Accessing Texts from Message Objects 20010914
Friends
Class CL_MESSAGE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 LANGUAGE Instance attribute Public Type reference (TYPE) SYLANGU Raw Text Language 20010912
2 RAW_TEXT_CACHE Instance attribute Protected Type reference (TYPE) SOTR_TXT Buffer for raw text 20000802
3 SUBSTITUTION_TABLE Instance attribute Public Type reference (TYPE) NAME2VALUE_TABLE Table of placeholder replacements for messages 20000725
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Constructor 20010912
2 CREATE_FOR_EXCEPTION Static method Public Method Generates a message for the exception entered 20000804
3 FETCH_RAW_TEXT Instance method Protected Method Gets the raw text and stores it in RAW_TEXT_CACHE 20000802
4 GET_CLASS_NAME Instance method Public Method returns the class name of this instance 20010912
5 GET_LONGTEXT Instance method Public Method Returns the formatted long text 20010914
6 GET_LONGTEXT_INSTANCE Instance method Public Method returns the object representing the long text 20010914
7 GET_RAW_TEXT Instance method Public Method Returns output text of long text (contains placeholder) 20000131
8 GET_TEXT Instance method Public Method Returns message text (with placeholders replaced) 20010914
9 GET_TEXT_FOR_EXCEPTION Static method Public Method Returns text of an exception (service routine for CX_ROOT) 20000804
10 INVALIDATE_CACHES Instance method Protected Method marks the internal buffer as invalid 20010914
11 SET_LANGUAGE Instance method Public Method sets the message language 20010912
12 SET_SUBSTITUTION_TABLE Instance method Public Method Sets the table of placeholder replacements 20000725
13 SPEAK_ABOUT Instance method Public Method Attributes of object entered will be added to the message 20000203
14 TRIM_SUBSTITUTION_TABLE Instance method Protected Method Reduces replacement table to raw text placeholder 20000808
15 VALIDATE_CACHE Instance method Protected Method Ensures that RAW_TEXT_CACHE has valid content 20000802
Events
Class CL_MESSAGE has no event.
Types
Class CL_MESSAGE has no local type.
Method Signatures

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_MESSAGE has no parameter.
Method CONSTRUCTOR on class CL_MESSAGE has no exception.

Method CREATE_FOR_EXCEPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Object reference (TYPE REF TO) CL_MESSAGE --- 20000804
2 Importing THE_EXCEPTION Call by reference Object reference (TYPE REF TO) CX_ROOT --- 20000804

Method CREATE_FOR_EXCEPTION on class CL_MESSAGE has no exception.

Method FETCH_RAW_TEXT Signature

Method FETCH_RAW_TEXT on class CL_MESSAGE has no parameter.
Method FETCH_RAW_TEXT on class CL_MESSAGE has no exception.

Method GET_CLASS_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) STRING --- 20010912

Method GET_CLASS_NAME on class CL_MESSAGE has no exception.

Method GET_LONGTEXT Signature

Method GET_LONGTEXT on class CL_MESSAGE has no parameter.
Method GET_LONGTEXT on class CL_MESSAGE has no exception.

Method GET_LONGTEXT_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Object reference (TYPE REF TO) IF_STRINGABLE Ergebnis muss String-Darstellung haben 20010914

Method GET_LONGTEXT_INSTANCE on class CL_MESSAGE has no exception.

Method GET_RAW_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) STRING Meldungstext (Platzhalter nicht ersetzt) 20000131

Method GET_RAW_TEXT on class CL_MESSAGE has no exception.

Method GET_TEXT Signature

Method GET_TEXT on class CL_MESSAGE has no parameter.
Method GET_TEXT on class CL_MESSAGE has no exception.

Method GET_TEXT_FOR_EXCEPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) STRING --- 20000804
2 Importing THE_EXCEPTION Call by reference Object reference (TYPE REF TO) CX_ROOT --- 20000804

Method GET_TEXT_FOR_EXCEPTION on class CL_MESSAGE has no exception.

Method INVALIDATE_CACHES Signature

Method INVALIDATE_CACHES on class CL_MESSAGE has no parameter.
Method INVALIDATE_CACHES on class CL_MESSAGE has no exception.

Method SET_LANGUAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing THE_LANGUAGE Call by reference Type reference (TYPE) SYLANGU --- 20010912

Method SET_LANGUAGE on class CL_MESSAGE has no exception.

Method SET_SUBSTITUTION_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing THE_TABLE Call by reference Type reference (TYPE) NAME2VALUE_TABLE --- 20000725

Method SET_SUBSTITUTION_TABLE on class CL_MESSAGE has no exception.

Method SPEAK_ABOUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing THE_OBJECT Call by reference Object reference (TYPE REF TO) OBJECT Objekt, über das die Meldung berichtet 20000203

Method SPEAK_ABOUT on class CL_MESSAGE has no exception.

Method TRIM_SUBSTITUTION_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing THE_SOURCE_TABLE Call by reference Type reference (TYPE) NAME2VALUE_TABLE Ausgangstabelle 20000808

Method TRIM_SUBSTITUTION_TABLE on class CL_MESSAGE has no exception.

Method VALIDATE_CACHE Signature

Method VALIDATE_CACHE on class CL_MESSAGE has no parameter.
Method VALIDATE_CACHE on class CL_MESSAGE has no exception.
History
Last changed by/on SAP  20000406 
SAP Release Created in 50A