SAP ABAP Class CL_PTU_MESSAGE (Collect Messages)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   CA-GTF-TS-BRHF (Application Component) Basis-Related Help Functions, Appl. Log, Formula Intepreter
     PLM_PTU (Package) Protocol and Timing Utilities
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_PTU_FREEABLE_OBJECT ObjeCt with Free_Data Method 20030521
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_PTU_MESSAGE Collect Messages 20000818
Properties
Class CL_PTU_MESSAGE  
Short Description Collect Messages    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PLM_PTU   Protocol and Timing Utilities 
Created 20000818   SAP 
Last change 20050308   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_PTU_CONSTANTS Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
# Interface Abstract Final Description Created on
1 IF_PTU_FREEABLE_OBJECT ObjeCt with Free_Data Method 20030521
2 IF_PTU_MESSAGE Collect Messages 20000818
Friends
Class CL_PTU_MESSAGE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_TAG Constant Private Type reference (TYPE) PTU_TAG CL_PTU_CONSTANTS=>GC_TAG_MESSAGE Indicator 20000823
2 GT_LOG_HANDLE Instance attribute Private Type reference (TYPE) BAL_T_LOGH Application Log: Log Handle Table 20000818
3 GV_DISPLAY_ON_ABORT Instance attribute Private Type reference (TYPE) FLAG_X Display on Termination 20000823
4 GV_ERROR_COUNT Instance attribute Private Type reference (TYPE) I Number of E-messages 20000823
5 GV_FREED Instance attribute Public Attribute reference (LIKE) 20030521
6 GV_LOG_HANDLE Instance attribute Public Attribute reference (LIKE) 20000818
7 GV_MAX_ERRORS Instance attribute Private Type reference (TYPE) I Maximum number of E-messages 20000823
8 GV_SAVE_ON_ABORT Instance attribute Private Type reference (TYPE) FLAG_X Save on Termination 20000823
9 GV_TRACE_LEVEL Instance attribute Public Attribute reference (LIKE) 20000818
10 SV_LOGSYS Static Attribute Private Type reference (TYPE) LOGSYS Logical System 20020912
11 SV_MSG_DUMMY Static Attribute Private Type reference (TYPE) CHAR1 Single-Character Flag 20020412
Methods
# Method Level Visibility Method type Description Created on
1 ABORT Instance method Private Method Program Canceled 20000823
2 ADD_BAPIRET2 Instance method Public Method 20020725
3 ADD_BAPIRET2_TAB Instance method Public Method 20020725
4 ADD_EMPTY_LINE Instance method Public Method 20000818
5 ADD_LOGS Static method Public Method Add Application Log 20030521
6 ADD_MESSAGE Instance method Public Method 20000818
7 ADD_MESSAGE_COMPLETE Instance method Public Method 20040323
8 ADD_MESSAGE_SIMPLE Instance method Public Method 20010709
9 ADD_TEXT Instance method Public Method 20040317
10 ADD_TIME_STAMP Instance method Public Method 20000818
11 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20020912
12 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20000818
13 CONVERT_TEXT_TO_T100 Static method Public Method Convert Text into a Message 20040317
14 DELETE_LOG Instance method Public Method Delete Application Log in Database 20020912
15 DELETE_LOGS Static method Public Method Delete Application Logs from Database 20020912
16 DELETE_MESSAGES Instance method Public Method Delete All Messages 20000818
17 DISPLAY_LOG Instance method Public Method Display Application Log 20000823
18 DISPLAY_MESSAGE Instance method Private Method Display a Message Directly 20000823
19 FREE_DATA Instance method Public Method 20030521
20 GET_HANDLE Instance method Public Method Return Log Handle 20010222
21 GET_LOG_HEADER Instance method Public Method Return Header Data for Application Log 20010917
22 GET_MESSAGES Instance method Public Method Return All Messages 20000818
23 GET_MOST_SEVERE_MSGTY Instance method Private Method Determine Most Severe Message Type 20020913
24 GET_MSG_HANDLES Instance method Private Method Read Message Handle 20010228
25 HAS_MESSAGES Instance method Public Method Have messages been collected 20000818
26 MERGE_TO_HANDLES Static method Private Method Merge tables 20020913
27 PROCESS_MESSAGE Instance method Private Method Process Message 20010710
28 REFRESH_LOG Instance method Public Method Delete the application log for this instance 20000822
29 RELOAD_LOG Instance method Public Method Read Application Log 20030521
30 ROLLBACK_DB Instance method Private Method Roll back LUW Database 20040407
31 SAVE_LOG Instance method Public Method Save Application Log 20000824
32 SAVE_LOGS Static method Public Method Save application logs 20020913
33 SET_TRACE_LEVEL Instance method Public Method 20030319
34 WRITE_MESSAGE_TO_APPL_LOG Instance method Private Method Writes a message in the application log 20000818
Events
Class CL_PTU_MESSAGE has no event.
Types
Class CL_PTU_MESSAGE has no local type.
Method Signatures

Method ABORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MSG Call by reference Type reference (TYPE) BAL_S_MSG Anwendungs-Log: Daten einer Meldung 20000823

Method ABORT on class CL_PTU_MESSAGE has no exception.

Method ADD_BAPIRET2 Signature

Method ADD_BAPIRET2 on class CL_PTU_MESSAGE has no parameter.
Method ADD_BAPIRET2 on class CL_PTU_MESSAGE has no exception.

Method ADD_BAPIRET2_TAB Signature

Method ADD_BAPIRET2_TAB on class CL_PTU_MESSAGE has no parameter.
Method ADD_BAPIRET2_TAB on class CL_PTU_MESSAGE has no exception.

Method ADD_EMPTY_LINE Signature

Method ADD_EMPTY_LINE on class CL_PTU_MESSAGE has no parameter.
Method ADD_EMPTY_LINE on class CL_PTU_MESSAGE has no exception.

Method ADD_LOGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ORIGINAL_ORDER Call by reference Type reference (TYPE) FLAG_X ursprüngliche zeitliche Reihenfolge beibehalten 20030521
2 Importing IV_SOURCE Call by reference Object reference (TYPE REF TO) IF_PTU_MESSAGE Sammeln von Messages 20030521
3 Importing IV_TARGET Call by reference Object reference (TYPE REF TO) IF_PTU_MESSAGE Sammeln von Messages 20030521
4 Importing IV_WITHOUT_FILTER Call by reference Type reference (TYPE) FLAG_X ohne Filterung 20040323

Method ADD_LOGS on class CL_PTU_MESSAGE has no exception.

Method ADD_MESSAGE Signature

Method ADD_MESSAGE on class CL_PTU_MESSAGE has no parameter.
Method ADD_MESSAGE on class CL_PTU_MESSAGE has no exception.

Method ADD_MESSAGE_COMPLETE Signature

Method ADD_MESSAGE_COMPLETE on class CL_PTU_MESSAGE has no parameter.
Method ADD_MESSAGE_COMPLETE on class CL_PTU_MESSAGE has no exception.

Method ADD_MESSAGE_SIMPLE Signature

Method ADD_MESSAGE_SIMPLE on class CL_PTU_MESSAGE has no parameter.
Method ADD_MESSAGE_SIMPLE on class CL_PTU_MESSAGE has no exception.

Method ADD_TEXT Signature

Method ADD_TEXT on class CL_PTU_MESSAGE has no parameter.
Method ADD_TEXT on class CL_PTU_MESSAGE has no exception.

Method ADD_TIME_STAMP Signature

Method ADD_TIME_STAMP on class CL_PTU_MESSAGE has no parameter.
Method ADD_TIME_STAMP on class CL_PTU_MESSAGE has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_PTU_MESSAGE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_PTU_MESSAGE has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_LOG Value transfer Type reference (TYPE) BAL_S_LOG Anwendungs-Log: Daten des Protokollkopfes 20000818
2 Importing IV_DISPLAY_ON_ABORT Call by reference Type reference (TYPE) FLAG_X 'X' Anzeigen bei Abbruch 20000823
3 Importing IV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Anwendungs-Log: Handle eines Protokolls 20000818
4 Importing IV_MAX_ERRORS Call by reference Type reference (TYPE) I maximale Anzahl von E-Messages 20000823
5 Importing IV_SAVE_ON_ABORT Call by reference Type reference (TYPE) FLAG_X 'X' Speichern bei Abbruch 20000823
6 Importing IV_TRACE_LEVEL Call by reference Type reference (TYPE) PTU_TRACE_LEVEL CL_PTU_CONSTANTS=>GC_TRACE_ADDITIONAL Tracelevel 20000818
# Exception Resumable Description Created on
1 HANDLE_NOT_VALID Handle des Anwendungslogs nicht gültig 20010307
2 LOG_NOT_VALID Kopf des Anwendungslogs nicht gültig 20010307

Method CONVERT_TEXT_TO_T100 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_SYMSG Call by reference Type reference (TYPE) SYMSG Struktur der Message-Variablen 20040317
2 Importing IV_TEXT Call by reference Type reference (TYPE) PTU_TEXT Text für eine Message 20040317
3 Importing IV_TYPE Call by reference Type reference (TYPE) SYMSGTY 20040317

Method CONVERT_TEXT_TO_T100 on class CL_PTU_MESSAGE has no exception.

Method DELETE_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLIENT Call by reference Type reference (TYPE) SYMANDT SY-MANDT Mandant 20020912
2 Importing IV_IN_UPDATE_TASK Call by reference Type reference (TYPE) FLAG_X Flag 20020912
3 Importing IV_WITH_COMMIT_WORK Call by reference Type reference (TYPE) FLAG_X Flag 20020912
# Exception Resumable Description Created on
1 LOG_NOT_DELETED Applikationslog wurde nicht gelöscht 20020920

Method DELETE_LOGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_LOG_HANDLE Call by reference Type reference (TYPE) BAL_T_LOGH Anwendungs-Log: Tabelle mit Protokoll-Handles 20020913
2 Importing IT_MESSAGES Call by reference Type reference (TYPE) PTU_MESSAGE_T Tabelle aus Message-Instanzen 20020913
3 Importing IV_CLIENT Call by reference Type reference (TYPE) SYMANDT SY-MANDT Mandant 20020912
4 Importing IV_IN_UPDATE_TASK Call by reference Type reference (TYPE) FLAG_X Flag 20020912
5 Importing IV_WITH_COMMIT_WORK Call by reference Type reference (TYPE) FLAG_X Flag 20020912
# Exception Resumable Description Created on
1 LOGS_NOT_DELETED keine gültigen Protokolle 20020920

Method DELETE_MESSAGES Signature

Method DELETE_MESSAGES on class CL_PTU_MESSAGE has no parameter.
Method DELETE_MESSAGES on class CL_PTU_MESSAGE has no exception.

Method DISPLAY_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DISVARIANT Call by reference Type reference (TYPE) DISVARIANT Anzeigevariante (externe Verwendung) 20030227
2 Importing IV_AS_POPUP Call by reference Type reference (TYPE) FLAG_X als Popup 20010815
3 Importing IV_FORCE_DISPLAY Call by reference Type reference (TYPE) FLAG_X Anzeige auch bei leerem Log 20030425
4 Importing IV_TITLE Call by reference Type reference (TYPE) BALTITLE Anwendungs-Log: Titel des Dynpros 20020912
5 Importing IV_TREE_BY_DETLEVEL Call by reference Type reference (TYPE) FLAG_X Tree gemäß Detallierungsgrad aufbauen 20020912
6 Importing IV_USE_GRID Call by reference Type reference (TYPE) BALUSEGRID Anwendungs-Log: Bei Ausgabe Grid-Control verwenden 20010815
# Exception Resumable Description Created on
1 INTERNAL_ERROR interner Fehler 20000823

Method DISPLAY_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MSG Call by reference Type reference (TYPE) BAL_S_MSG Anwendungs-Log: Daten einer Meldung 20000823

Method DISPLAY_MESSAGE on class CL_PTU_MESSAGE has no exception.

Method FREE_DATA Signature

Method FREE_DATA on class CL_PTU_MESSAGE has no parameter.
Method FREE_DATA on class CL_PTU_MESSAGE has no exception.

Method GET_HANDLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Anwendungs-Log: Handle eines Protokolls 20010222

Method GET_HANDLE on class CL_PTU_MESSAGE has no exception.

Method GET_LOG_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_LOG Call by reference Type reference (TYPE) BAL_S_LOG Anwendungs-Log: Daten des Protokollkopfes 20010917
2 Exporting ES_STATISTICS Call by reference Type reference (TYPE) BAL_S_SCNT Anwendungs-Log: Statistik: Zähler für Meldungstypen 20010917
3 Exporting EV_EXISTS_ON_DB Call by reference Type reference (TYPE) BOOLEAN boolsche Variable (X=true, -=false, space=unknown) 20010917
4 Exporting EV_LOGNUMBER Call by reference Type reference (TYPE) BALOGNR Anwendungs-Log: Protokollnummer 20010917
5 Exporting EV_MOST_SEVERE_MSGTY Call by reference Type reference (TYPE) BALMSGTY Anwendungs-Log: Typ einer Meldung (A,E,W,I,S) 20020913

Method GET_LOG_HEADER on class CL_PTU_MESSAGE has no exception.

Method GET_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_STATISTIC_COUNTS Call by reference Type reference (TYPE) BAL_S_SCNT Anwendungs-Log: Statistik: Zähler für Meldungstypen 20020912
2 Exporting ET_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Returntabelle 20020912
3 Exporting ET_MSG Call by reference Type reference (TYPE) PTU_MSG_T Anwendungs-Log: Tabelle mit Meldungen 20000818
4 Exporting EV_MOST_SEVERE_MSGTY Call by reference Type reference (TYPE) BALMSGTY Anwendungs-Log: Typ einer Meldung (A,E,W,I,S) 20020318

Method GET_MESSAGES on class CL_PTU_MESSAGE has no exception.

Method GET_MOST_SEVERE_MSGTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_MOST_SEVERE_MSGTY Call by reference Type reference (TYPE) BALMSGTY Anwendungs-Log: Typ einer Meldung (A,E,W,I,S) 20020913
2 Importing IS_STATISTICS Call by reference Type reference (TYPE) BAL_S_SCNT Anwendungs-Log: Statistik: Zähler für Meldungstypen 20020913

Method GET_MOST_SEVERE_MSGTY on class CL_PTU_MESSAGE has no exception.

Method GET_MSG_HANDLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MSG_HANDLE Call by reference Type reference (TYPE) BAL_T_MSGH Anwendungs-Log: Tabelle mit Message-Handles 20010228

Method GET_MSG_HANDLES on class CL_PTU_MESSAGE has no exception.

Method HAS_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_FLAG Value transfer Type reference (TYPE) FLAG_X Flag 20000818

Method HAS_MESSAGES on class CL_PTU_MESSAGE has no exception.

Method MERGE_TO_HANDLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LOG_HANDLE Call by reference Type reference (TYPE) BAL_T_LOGH Anwendungs-Log: Tabelle mit Protokoll-Handles 20020913
2 Importing IT_LOG_HANDLE Call by reference Type reference (TYPE) BAL_T_LOGH Anwendungs-Log: Tabelle mit Protokoll-Handles 20020913
3 Importing IT_MESSAGES Call by reference Type reference (TYPE) PTU_MESSAGE_T Tabelle aus Message-Instanzen 20020913

Method MERGE_TO_HANDLES on class CL_PTU_MESSAGE has no exception.

Method PROCESS_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MSG_HANDLE Call by reference Type reference (TYPE) BALMSGHNDL Anwendungs-Log: Handle für eine Meldung 20010917
2 Importing IS_MSG Call by reference Type reference (TYPE) BAL_S_MSG Anwendungs-Log: Daten einer Meldung 20010710
3 Importing IV_CUMULATE Call by reference Type reference (TYPE) FLAG_X Message zusammenfassen 20010710

Method PROCESS_MESSAGE on class CL_PTU_MESSAGE has no exception.

Method REFRESH_LOG Signature

Method REFRESH_LOG on class CL_PTU_MESSAGE has no parameter.
Method REFRESH_LOG on class CL_PTU_MESSAGE has no exception.

Method RELOAD_LOG Signature

Method RELOAD_LOG on class CL_PTU_MESSAGE has no parameter.
Method RELOAD_LOG on class CL_PTU_MESSAGE has no exception.

Method ROLLBACK_DB Signature

Method ROLLBACK_DB on class CL_PTU_MESSAGE has no parameter.
Method ROLLBACK_DB on class CL_PTU_MESSAGE has no exception.

Method SAVE_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_NEW_LOGNUMBER Call by reference Type reference (TYPE) BAL_S_LGNM Anwendungs-Log: Neu vergebene LOGNUMBER 20020913
2 Importing IV_CLIENT Call by reference Type reference (TYPE) SYMANDT SY-MANDT Mandant 20020913
3 Importing IV_IN_UPDATE_TASK Call by reference Type reference (TYPE) FLAG_X Flag 20020913
# Exception Resumable Description Created on
1 LOG_NOT_SAVED Applikationslog nicht gesichert 20020920

Method SAVE_LOGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NEW_LOGNUMBERS Call by reference Type reference (TYPE) BAL_T_LGNM Anwendungs-Log: Neu vergebene LOGNUMBER 20020913
2 Importing IT_LOG_HANDLE Call by reference Type reference (TYPE) BAL_T_LOGH Anwendungs-Log: Tabelle mit Protokoll-Handles 20020913
3 Importing IT_MESSAGES Call by reference Type reference (TYPE) PTU_MESSAGE_T Tabelle aus Message-Instanzen 20020913
4 Importing IV_CLIENT Call by reference Type reference (TYPE) SYMANDT SY-MANDT Mandant 20020913
5 Importing IV_IN_UPDATE_TASK Call by reference Type reference (TYPE) FLAG_X Flag 20020913
6 Importing IV_SAVE_ALL Call by reference Type reference (TYPE) FLAG_X alle Logs sichern 20020913
# Exception Resumable Description Created on
1 LOGS_NOT_SAVED Applikationslogs nicht gesichert 20020920

Method SET_TRACE_LEVEL Signature

Method SET_TRACE_LEVEL on class CL_PTU_MESSAGE has no parameter.
Method SET_TRACE_LEVEL on class CL_PTU_MESSAGE has no exception.

Method WRITE_MESSAGE_TO_APPL_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MSG_HANDLE Call by reference Type reference (TYPE) BALMSGHNDL Anwendungs-Log: Handle für eine Meldung 20010917
2 Importing IS_MSG Call by reference Type reference (TYPE) BAL_S_MSG Anwendungs-Log: Daten einer Meldung 20000818
3 Importing IV_CUMULATE Call by reference Type reference (TYPE) FLAG_X Messages kumulieren 20000927

Method WRITE_MESSAGE_TO_APPL_LOG on class CL_PTU_MESSAGE has no exception.
History
Last changed by/on SAP  20050308 
SAP Release Created in 46C1