SAP ABAP Class CL_PTU_MESSAGE_N (Log class)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   CA (Application Component) Cross-Application Components
     PLM_PDN_CNV_PROT (Package) Import of Material Bills of Material, Log Lagging
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_PTU_MESSAGE_N Collection of messages 20020524
Properties
Class CL_PTU_MESSAGE_N  
Short Description Log class    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PLM_PDN_CNV_PROT   Import of Material Bills of Material, Log Lagging 
Created 20020523   SAP 
Last change 20031212   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_PTU_CONSTANTS_N Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
# Interface Abstract Final Description Created on
1 IF_PTU_MESSAGE_N Collection of messages 20020524
Friends
Class CL_PTU_MESSAGE_N 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_N CL_PTU_CONSTANTS_N=>GC_TAG_MESSAGE Indicator 20020524
2 GT_LOG_HANDLE Instance attribute Private Type reference (TYPE) BAL_T_LOGH Application Log: Log Handle Table 20020524
3 GV_DISPLAY_ON_ABORT Instance attribute Private Type reference (TYPE) FLAG_X Indicator 20020524
4 GV_ERROR_COUNT Instance attribute Private Type reference (TYPE) I Number of E-messages 20020524
5 GV_LOG_HANDLE Instance attribute Private Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20020524
6 GV_MAX_ERRORS Instance attribute Private Type reference (TYPE) I Maximum number of E-messages 20020524
7 GV_SAVE_ON_ABORT Instance attribute Private Type reference (TYPE) FLAG_X Indicator 20020524
8 GV_TRACE_LEVEL Instance attribute Public Attribute reference (LIKE) 20020524
9 SV_MSG_DUMMY Static Attribute Private Type reference (TYPE) CHAR1 Single-character indicator 20020524
Methods
# Method Level Visibility Method type Description Created on
1 ABORT Instance method Private Method Program cancelled 20020524
2 ADD_EMPTY_LINE Instance method Public Method 20020524
3 ADD_MESSAGE Instance method Public Method 20020524
4 ADD_MESSAGE_SIMPLE Instance method Public Method 20020524
5 ADD_TIME_STAMP Instance method Public Method 20020524
6 CONSTRUCTOR Instance method Public Constructor Constructor 20020524
7 DELETE_MESSAGES Instance method Public Method Delete all messages 20020524
8 DISPLAY_LOG Instance method Public Method Display Application Log 20020524
9 DISPLAY_MESSAGE Instance method Private Method Display a message directly 20020524
10 GET_HANDLE Instance method Public Method Return Log Handle 20020524
11 GET_LOG_HEADER Instance method Public Method Return Header Data for Application Log 20020524
12 GET_MESSAGES Instance method Public Method Return all messages 20020524
13 GET_MSG_HANDLES Instance method Private Method Read message handle 20020524
14 HAS_MESSAGES Instance method Public Method Have messages been collected 20020524
15 PROCESS_MESSAGE Instance method Private Method Process Message 20020524
16 REFRESH_LOG Instance method Public Method Delete the application log for this instance 20020524
17 SAVE_LOG Instance method Public Method Save application log 20020524
18 WRITE_MESSAGE_TO_APPL_LOG Instance method Private Method Writes a message in the application log 20020524
Events
Class CL_PTU_MESSAGE_N has no event.
Types
Class CL_PTU_MESSAGE_N 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 20020524

Method ABORT on class CL_PTU_MESSAGE_N has no exception.

Method ADD_EMPTY_LINE Signature

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

Method ADD_MESSAGE Signature

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

Method ADD_MESSAGE_SIMPLE Signature

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

Method ADD_TIME_STAMP Signature

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

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_LOG Call by reference Type reference (TYPE) BAL_S_LOG Anwendungs-Log: Daten des Protokollkopfes 20020524
2 Importing IV_DISPLAY_ON_ABORT Call by reference Type reference (TYPE) FLAG_X Flag 20020524
3 Importing IV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Anwendungs-Log: Handle eines Protokolls 20020524
4 Importing IV_MAX_ERRORS Call by reference Type reference (TYPE) I 100 maximale Anzahl von E-Messages 20020524
5 Importing IV_SAVE_ON_ABORT Call by reference Type reference (TYPE) FLAG_X 'X' Flag 20020524
6 Importing IV_TRACE_LEVEL Call by reference Type reference (TYPE) PTU_TRACE_LEVEL_N Tracelevel 20020524
# Exception Resumable Description Created on
1 HANDLE_NOT_VALID Handle des Anwendungslogs nicht gültig 20020524
2 LOG_NOT_VALID Kopf des Anwendungslogs nicht gültig 20020524

Method DELETE_MESSAGES Signature

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

Method DISPLAY_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_AS_POPUP Call by reference Type reference (TYPE) FLAG_X als Popup 20020524
2 Importing IV_END_COL Call by reference Type reference (TYPE) BALCOORD Anwendungs-Log: Koordinaten des Popups 20020524
3 Importing IV_END_ROW Call by reference Type reference (TYPE) BALCOORD Anwendungs-Log: Koordinaten des Popups 20020524
4 Importing IV_START_COL Call by reference Type reference (TYPE) BALCOORD Anwendungs-Log: Koordinaten des Popups 20020524
5 Importing IV_START_ROW Call by reference Type reference (TYPE) BALCOORD Anwendungs-Log: Koordinaten des Popups 20020524
6 Importing IV_USE_GRID Call by reference Type reference (TYPE) BALUSEGRID Anwendungs-Log: Bei Ausgabe Grid-Control verwenden 20020524
# Exception Resumable Description Created on
1 INTERNAL_ERROR interner Fehler 20020524

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 20020524

Method DISPLAY_MESSAGE on class CL_PTU_MESSAGE_N 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 20020524

Method GET_HANDLE on class CL_PTU_MESSAGE_N 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 20020524
2 Exporting ES_STATISTICS Call by reference Type reference (TYPE) BAL_S_SCNT Anwendungs-Log: Statistik: Zähler für Meldungstypen 20020524
3 Exporting EV_EXISTS_ON_DB Call by reference Type reference (TYPE) BOOLEAN boolsche Variable (X=true, -=false, space=unknown) 20020524
4 Exporting EV_HIGHEST_MSG_TYPE Call by reference Type reference (TYPE) BALMSGTY Anwendungs-Log: Typ einer Meldung (A,E,W,I,S) 20020524
5 Exporting EV_LOGNUMBER Call by reference Type reference (TYPE) BALOGNR Anwendungs-Log: Protokollnummer 20020524

Method GET_LOG_HEADER on class CL_PTU_MESSAGE_N has no exception.

Method GET_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MSG Call by reference Type reference (TYPE) BAL_T_MSG Anwendungs-Log: Tabelle mit Messages 20020524
2 Exporting EV_MOST_SEVERE_MSGTY Call by reference Type reference (TYPE) BALMSGTY Anwendungs-Log: Typ einer Meldung (A,E,W,I,S) 20020524

Method GET_MESSAGES on class CL_PTU_MESSAGE_N 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 20020524

Method GET_MSG_HANDLES on class CL_PTU_MESSAGE_N has no exception.

Method HAS_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FLAG Call by reference Type reference (TYPE) FLAG_X Flag 20020524

Method HAS_MESSAGES on class CL_PTU_MESSAGE_N 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 20020524
2 Importing IS_MSG Call by reference Type reference (TYPE) BAL_S_MSG Anwendungs-Log: Daten einer Meldung 20020524
3 Importing IV_CUMULATE Call by reference Type reference (TYPE) FLAG_X Message zusammenfassen 20020524

Method PROCESS_MESSAGE on class CL_PTU_MESSAGE_N has no exception.

Method REFRESH_LOG Signature

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

Method SAVE_LOG Signature

Method SAVE_LOG on class CL_PTU_MESSAGE_N has no parameter.
Method SAVE_LOG on class CL_PTU_MESSAGE_N 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 20020524
2 Importing IS_MSG Call by reference Type reference (TYPE) BAL_S_MSG Anwendungs-Log: Daten einer Meldung 20020524
3 Importing IV_CUMULATE Call by reference Type reference (TYPE) FLAG_X Messages kumulieren 20020524

Method WRITE_MESSAGE_TO_APPL_LOG on class CL_PTU_MESSAGE_N has no exception.
History
Last changed by/on SAP  20031212 
SAP Release Created in 2002_1_46C