SAP ABAP Class /MRSS/CL_SGE_MESSAGE_BROKER (Message Log)
Hierarchy
MRSS_NW (Software Component) SAP Multiresource Scheduling for SAP Net
   PM-WOC-MO (Application Component) Maintenance Orders
     /MRSS/SGE (Package) Multiresource Planning: Scheduling Engine
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  /MRSS/IF_SGE_MESSAGE_EVENT Events Based on Messages 20090717
Properties
Class /MRSS/CL_SGE_MESSAGE_BROKER  
Short Description Message Log    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /MRSS/SGE   Multiresource Planning: Scheduling Engine 
Created 20090626   SAP 
Last change 20141109    
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 /MRSS/IF_SGE_MESSAGE_EVENT Events Based on Messages 20090717
Friends
# Friend Modeled only Created on Description
1 /MRSS/CL_SGE_LOGGING 20090814 Logging Messages and Events
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GT_MESSAGES Static Attribute Private Type reference (TYPE) /MRSS/T_MESSAGE_TAB Message Table 20090626
2 GT_MESSAGES_LOG Static Attribute Private Type reference (TYPE) /MRSS/T_MESSAGE_LOG_TAB Table of Log Messages 20090626
3 GV_CALLSTACK_LEVEL Static Attribute Private Type reference (TYPE) I 4 Evaluation Level of ABAP Call Stack 20090626
4 GV_ENABLED Static Attribute Private Type reference (TYPE) /MRSS/T_BOOLEAN ' ' Broker Active? 20090814
5 GV_MAX_LINE_SIZE Static Attribute Private Type reference (TYPE) I 2048 20130812
6 GV_MESSAGE_LEVEL Static Attribute Private Type reference (TYPE) /MRSS/T_LOG_MESSAGE_LEVEL Scope of Logging 20090814
Methods
# Method Level Visibility Method type Description Created on
1 ACTIVATE Static method Public Method Activate Broker 20090814
2 ADD_ITEM_TO_HEADER_LINE Static method Private Method Adds another item to the header line and returns it 20130812
3 ANALYSE_STRUCTURE Static method Private Method Provides Row Structure and Header for Output 20090926
4 BUILD_LOG_MESSAGE Static method Private Method Prepare for Log Message 20090626
5 CALLSTACK_ADD Static method Public Method Write Current CALLSTACK to Log 20120803
6 CHECK_ADMISSION Static method Private Method Check Whether Output Is Permitted 20090928
7 CLEAR_MESSAGES Static method Public Method Delete Messages 20090626
8 DEACTIVATE Static method Public Method Deactivate Broker 20090814
9 FETCH_MESSAGE Static method Private Method Read Message from System Variables 20090626
10 FIELD_ADD Static method Public Method Output of Field in Log 20120803
11 GET_CALLER Static method Private Method Determine Caller 20090626
12 GET_COLLECTED_MESSAGES Static method Public Method Returns collected list of messages (not the log!) 20130516
13 GET_DATA_LINE Static method Private Method Provides Table Row Ready for Output 20090925
14 GET_ERROR_LEVEL Static method Public Method Provides the Highest Error Level to Date 20100624
15 GET_VALUE_CHAR_BASED Static method Private Method Returns the description for character based objects 20130624
16 GET_VALUE_DATE Static method Private Method Returns the description for dates 20130624
17 GET_VALUE_FLOAT Static method Private Method Returns the description for float values 20130624
18 GET_VALUE_FOR_OUTPUT Static method Protected Method Provides Field Content 20090925
19 GET_VALUE_HEX Static method Private Method Returns the description for hex values 20130624
20 GET_VALUE_INSTANCE Static method Private Method Returns the description for an object reference 20130624
21 GET_VALUE_INTEGER Static method Private Method Returns the description for integer values 20130624
22 GET_VALUE_PACKED Static method Private Method Returns the description for packed values 20130624
23 GET_VALUE_STRUCTURE Static method Private Method Returns the description for a structure 20130624
24 GET_VALUE_TABLE Static method Private Method Returns the description for an internal table 20130624
25 GET_VALUE_TIME Static method Private Method Returns the description for times 20130624
26 GET_VALUE_TIMESTAMP Static method Private Method Returns the description for timestamps 20130624
27 LINE_ADD Static method Public Method Add a Text Row 20090902
28 MESSAGES_ADD Static method Public Method Adding Messages 20090626
29 MESSAGE_ADD Static method Public Method Insertion of Message 20090626
30 RAISE_MESSAGE_EVENT Static method Private Method Forward a Message by Event 20090717
31 STRUCTURE_ADD Static method Public Method Output a Structure to Log 20090925
32 TABLE_ADD Static method Public Method Output a Table to Log 20090925
Events
Class /MRSS/CL_SGE_MESSAGE_BROKER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 T_LONG_LINE Protected Type reference (TYPE) CHAR2048 Character field 2048 places 20090925
2 T_TABLE_STRUCT Private See coding Help Structure for Preparing Table Output 20090925 BEGIN OF t_table_struct, index TYPE i, name TYPE string, pos TYPE i, length TYPE i, type(1) TYPE c, rtti TYPE REF TO cl_abap_typedescr, END OF t_table_struct
3 T_TABLE_STRUCT_TAB Private See coding Help Table for Preparing Table Output 20090925 t_table_struct_tab TYPE STANDARD TABLE OF t_table_struct WITH NON-UNIQUE DEFAULT KEY
Method Signatures

Method ACTIVATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MESSAGE_LEVEL Call by reference Type reference (TYPE) /MRSS/T_LOG_MESSAGE_LEVEL Umfang der Protokollierung 20090814

Method ACTIVATE on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method ADD_ITEM_TO_HEADER_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_HEADER_ITEM_DESCRIPTION Call by reference Type reference (TYPE) T_TABLE_STRUCT Help Structure for Preparing Table Output 20130812
2 Exporting EV_ACTUAL_POSITION Call by reference Type reference (TYPE) I 20130812
3 Exporting EV_TABLE_POSITION Call by reference Type reference (TYPE) I 20130812
4 Exporting EV_UPDATED_HEADER_LINE Call by reference Type reference (TYPE) T_LONG_LINE Character field 2048 places 20130812
5 Importing IS_COMPONENT Call by reference Type reference (TYPE) ABAP_COMPONENTDESCR 20130812
6 Importing IS_HEADER_ITEM_DESCRIPTION Call by reference Type reference (TYPE) T_TABLE_STRUCT Help Structure for Preparing Table Output 20130812
7 Importing IV_ACTUAL_HEADER_LINE Call by reference Type reference (TYPE) T_LONG_LINE Character field 2048 places 20130812
8 Importing IV_ACTUAL_POSITION Call by reference Type reference (TYPE) I 20130812
9 Importing IV_NAME_PREFIX Call by reference Type reference (TYPE) CHAR30 30 Characters 20130812
10 Importing IV_TABLE_POSITION Call by reference Type reference (TYPE) I 20130812

Method ADD_ITEM_TO_HEADER_LINE on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method ANALYSE_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_HEADER_LINE Call by reference Type reference (TYPE) T_LONG_LINE Überschriftszeile für Ausgabe 20090926
2 Exporting ET_TABLE_POS Call by reference Type reference (TYPE) T_TABLE_STRUCT_TAB Hilfstabelle zur Aufbereitung der Tabellenausgabe 20090926
3 Exporting EV_INDEX Call by reference Type reference (TYPE) I Letzter verwendeter Index 20090926
4 Exporting EV_POSITION Call by reference Type reference (TYPE) I Letzte Position 20090926
5 Importing IT_COMPONENTS Call by reference Type reference (TYPE) ABAP_COMPONENT_TAB 20090926
6 Importing IV_NAME_PREFIX Call by reference Type reference (TYPE) CHAR30 '' Präfix eines Strukturnamens 20090926
7 Importing IV_RECURSION Call by reference Type reference (TYPE) I 0 Rekursiver Aufruf? (Level) 20090926
8 Importing IV_START_INDEX Call by reference Type reference (TYPE) I 0 Start Wert für Index 20090926
9 Importing IV_START_POSITION Call by reference Type reference (TYPE) I 0 Start Wert für Position 20090926

Method ANALYSE_STRUCTURE on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method BUILD_LOG_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MESSAGE Call by reference Type reference (TYPE) /MRSS/T_MESSAGE Nachricht 20090626
2 Importing IV_MESSAGE_TEXT Call by reference Type reference (TYPE) /MRSS/T_SGE_MESSAGE_TEXT Text einer Log-Nachricht 20090626
3 Importing IV_MESSAGE_TYPE Call by reference Type reference (TYPE) /MRSS/T_SGE_MESSAGE_TYPE Typ einer Nachricht 20090626
4 Returning RS_MESSAGE Value transfer Type reference (TYPE) /MRSS/T_MESSAGE_LOG Nachricht für MRS Log 20090626

Method BUILD_LOG_MESSAGE on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method CALLSTACK_ADD Signature

Method CALLSTACK_ADD on class /MRSS/CL_SGE_MESSAGE_BROKER has no parameter.
Method CALLSTACK_ADD on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method CHECK_ADMISSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MESSAGE_TYPE Call by reference Type reference (TYPE) /MRSS/T_SGE_MESSAGE_TYPE Umfang der Protokollierung 20090928
2 Returning RV_ADMISSION_GRANTED Value transfer Type reference (TYPE) /MRSS/T_BOOLEAN Erfassung in Log erlaubt? 20090928

Method CHECK_ADMISSION on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method CLEAR_MESSAGES Signature

Method CLEAR_MESSAGES on class /MRSS/CL_SGE_MESSAGE_BROKER has no parameter.
Method CLEAR_MESSAGES on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method DEACTIVATE Signature

Method DEACTIVATE on class /MRSS/CL_SGE_MESSAGE_BROKER has no parameter.
Method DEACTIVATE on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method FETCH_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MSGID Call by reference Type reference (TYPE) SYMSGID SY-MSGID Nachrichtenklasse 20090626
2 Importing IV_MSGNO Call by reference Type reference (TYPE) SYMSGNO SY-MSGNO Nachrichtennummer 20090626
3 Importing IV_MSGTY Call by reference Type reference (TYPE) SYMSGTY SY-MSGTY Nachrichtentyp 20090626
4 Importing IV_MSGV1 Call by reference Type reference (TYPE) SYMSGV SY-MSGV1 Nachrichtenvariable 20090626
5 Importing IV_MSGV2 Call by reference Type reference (TYPE) SYMSGV SY-MSGV2 Nachrichtenvariable 20090626
6 Importing IV_MSGV3 Call by reference Type reference (TYPE) SYMSGV SY-MSGV3 Nachrichtenvariable 20090626
7 Importing IV_MSGV4 Call by reference Type reference (TYPE) SYMSGV SY-MSGV4 Nachrichtenvariable 20090626
8 Returning RS_MESSAGE Value transfer Type reference (TYPE) /MRSS/T_MESSAGE Nachricht 20090626

Method FETCH_MESSAGE on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method FIELD_ADD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FIELD Call by reference Type reference (TYPE) ANY 20120803
2 Importing IV_FIELD_NAME Call by reference Type reference (TYPE) STRING 20120803

Method FIELD_ADD on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method GET_CALLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_CALLER Value transfer Type reference (TYPE) ABAP_CALLSTACK_LINE Zeile eines ABAP-Aufrufstacks (mit Programmstellen) 20090626

Method GET_CALLER on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method GET_COLLECTED_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_MESSAGES Value transfer Type reference (TYPE) /MRSS/T_MESSAGE_TAB Message Table 20130516

Method GET_COLLECTED_MESSAGES on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method GET_DATA_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DATA_LINE Call by reference Type reference (TYPE) ANY 20090925
2 Importing IT_POSITIONS Call by reference Type reference (TYPE) T_TABLE_STRUCT_TAB Hilfstabelle zur Aufbereitung der Tabellenausgabe 20090925
3 Returning RV_OUTPUT_LINE Value transfer Type reference (TYPE) T_LONG_LINE 20090925

Method GET_DATA_LINE on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method GET_ERROR_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_ERROR_LEVEL Value transfer Type reference (TYPE) /MRSS/T_LOG_STATUS Log Status 20100624

Method GET_ERROR_LEVEL on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method GET_VALUE_CHAR_BASED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CHAR Call by reference Type reference (TYPE) ANY Any table 20130624
2 Returning RV_CHAR_DESCRIPTION Value transfer Type reference (TYPE) STRING Text, 40 Characters Long 20130624

Method GET_VALUE_CHAR_BASED on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method GET_VALUE_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATE Call by reference Type reference (TYPE) ANY Any table 20130624
2 Returning RV_DATE_DESCRIPTION Value transfer Type reference (TYPE) STRING Text, 40 Characters Long 20130624

Method GET_VALUE_DATE on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method GET_VALUE_FLOAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FLOAT Call by reference Type reference (TYPE) ANY Any table 20130624
2 Returning RV_FLOAT_DESCRIPTION Value transfer Type reference (TYPE) STRING Text, 40 Characters Long 20130624

Method GET_VALUE_FLOAT on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method GET_VALUE_FOR_OUTPUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_STRUCTURE Call by reference Type reference (TYPE) ANY Struktur mit Daten 20090925
2 Importing IV_COMPONENT_NAME Call by reference Type reference (TYPE) STRING Name des Feldes 20090925
3 Importing IV_COMPONENT_RTTI Call by reference Object reference (TYPE REF TO) OBJECT RTTI Information 20110923
4 Importing IV_COMPONENT_TYPE Call by reference Type reference (TYPE) CHAR1 Typ des Feldes 20090925
5 Importing IV_FIELD Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN ' ' Feld? 20120803
6 Returning RV_VALUE Value transfer Type reference (TYPE) STRING Wert 20090925

Method GET_VALUE_FOR_OUTPUT on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method GET_VALUE_HEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_HEX Call by reference Type reference (TYPE) ANY Any table 20130624
2 Returning RV_HEX_DESCRIPTION Value transfer Type reference (TYPE) STRING Some text 20130624

Method GET_VALUE_HEX on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method GET_VALUE_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IREF_REFERENCE Call by reference Object reference (TYPE REF TO) OBJECT Reference to any object 20130624
2 Returning RV_REFERENCE_DESCRIPTION Value transfer Type reference (TYPE) TEXT40 Text, 40 Characters Long 20130624

Method GET_VALUE_INSTANCE on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method GET_VALUE_INTEGER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_INTEGER Call by reference Type reference (TYPE) ANY Any table 20130624
2 Returning RV_INTEGER_DESCRIPTION Value transfer Type reference (TYPE) STRING Text, 40 Characters Long 20130624

Method GET_VALUE_INTEGER on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method GET_VALUE_PACKED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PACKED Call by reference Type reference (TYPE) ANY Any table 20130624
2 Returning RV_PACKED_DESCRIPTION Value transfer Type reference (TYPE) STRING Text, 40 Characters Long 20130624

Method GET_VALUE_PACKED on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method GET_VALUE_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_STRUCTURE Call by reference Type reference (TYPE) ANY Any table 20130624
2 Returning RV_STRUCTURE_DESCRIPTION Value transfer Type reference (TYPE) TEXT10 Text, 40 Characters Long 20130624

Method GET_VALUE_STRUCTURE on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method GET_VALUE_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TABLE Call by reference Type reference (TYPE) ANY Any table 20130624
2 Returning RV_TABLE_DESCRIPTION Value transfer Type reference (TYPE) TEXT10 Text, 40 Characters Long 20130624

Method GET_VALUE_TABLE on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method GET_VALUE_TIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TIME Call by reference Type reference (TYPE) ANY Any table 20130624
2 Returning RV_TIME_DESCRIPTION Value transfer Type reference (TYPE) STRING Text, 40 Characters Long 20130624

Method GET_VALUE_TIME on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method GET_VALUE_TIMESTAMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) ANY Any table 20130624
2 Returning RV_TIMESTAMP_DESCRIPTION Value transfer Type reference (TYPE) STRING Text, 40 Characters Long 20130624

Method GET_VALUE_TIMESTAMP on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method LINE_ADD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MESSAGE_TEXT Call by reference Type reference (TYPE) /MRSS/T_SGE_MESSAGE_TEXT Text einer Log-Nachricht 20090902

Method LINE_ADD on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method MESSAGES_ADD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MESSAGES Call by reference Type reference (TYPE) /MRSS/T_MESSAGE_TAB Tabelle von Nachrichten 20090811

Method MESSAGES_ADD on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method MESSAGE_ADD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MESSAGE Call by reference Type reference (TYPE) /MRSS/T_MESSAGE Nachricht 20090626
2 Importing IV_MESSAGE_TEXT Call by reference Type reference (TYPE) /MRSS/T_SGE_MESSAGE_TEXT Text einer Log-Nachricht 20090626
3 Importing IV_MESSAGE_TYPE Call by reference Type reference (TYPE) /MRSS/T_SGE_MESSAGE_TYPE Typ einer Nachricht 20090626

Method MESSAGE_ADD on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method RAISE_MESSAGE_EVENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MESSAGE Call by reference Type reference (TYPE) /MRSS/T_MESSAGE Nachricht 20090717

Method RAISE_MESSAGE_EVENT on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method STRUCTURE_ADD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_STRUCTURE Call by reference Type reference (TYPE) ANY Struktur die ausgegeben werden soll 20090925
2 Importing IV_LINE_OUTPUT Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN ' ' Ausgabe als Tabelle oder als Zeile 20090929
3 Importing IV_MESSAGE_TYPE Call by reference Type reference (TYPE) /MRSS/T_SGE_MESSAGE_TYPE Übersteuern des Standard Detaillevels 20090928
4 Importing IV_STRUCTURE_NAME Call by reference Type reference (TYPE) STRING Name der Struktur im ABAP Code 20090925

Method STRUCTURE_ADD on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.

Method TABLE_ADD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TABLE Call by reference Type reference (TYPE) ANY TABLE Tabelle die augegeben werden soll 20090925
2 Importing IV_MESSAGE_TYPE Call by reference Type reference (TYPE) /MRSS/T_SGE_MESSAGE_TYPE Übersteuern des Standard Detaillevels 20090929
3 Importing IV_TABLE_NAME Call by reference Type reference (TYPE) STRING Name der Tabelle im ABAP Code 20090925

Method TABLE_ADD on class /MRSS/CL_SGE_MESSAGE_BROKER has no exception.
History
Last changed by/on SAP  20141109 
SAP Release Created in 700