SAP ABAP Class CL_SRM_TOOLS_LOG (Logging Facility for SDPR)
Hierarchy
BI_CONT (Software Component) Business Intelligence Content
   BW-BCT-SPL-SDR (Application Component) Supplier Delivery Performance Rating
     RS_BCT_SPL_SDPR (Package) BW: Content Logistics - Supplier Delivery Performance Rating
Properties
Class CL_SRM_TOOLS_LOG  
Short Description Logging Facility for SDPR    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RS_BCT_SPL_SDPR   BW: Content Logistics - Supplier Delivery Performance Rating 
Created 20040108   SAP 
Last change 20141101    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 T Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_SRM_TOOLS_LOG has no interface implemented.
Friends
Class CL_SRM_TOOLS_LOG has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 DISCARD_DEBUG_ENTRIES Instance attribute Private Type reference (TYPE) C Indicates if debug entries are to be discarded 20040109
2 INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_SRM_TOOLS_LOG The instance representing this singleton 20040108
3 LOG_TARGETS Instance attribute Private Type reference (TYPE) T_LOG_TARGETS List of registered log targets 20040109
Methods
# Method Level Visibility Method type Description Created on
1 DEREGISTER_LOG_TARGET Instance method Public Method De-register a log target 20040109
2 GET_INSTANCE Static method Public Method Get access to the single instance 20040108
3 GET_LOG_TARGET Instance method Public Method Retrieve a log target with a given name 20040126
4 LOG_EXCEPTION Instance method Public Method Log an exception 20040108
5 LOG_MESSAGE Instance method Public Method Log a message 20040108
6 LOG_TEXT Instance method Public Method Log a message 20040108
7 MAP_SEVERITY Instance method Private Method Map symbolic severities to integer values 20040109
8 PROPAGATE_EXCEPT_AS_LOG_ENTRY Instance method Private Method Propagates an exception to all registered log targets 20040109
9 PROPAGATE_MESSAGE_AS_LOG_ENTRY Instance method Private Method Propagates a message to all registered log targets 20040109
10 REGISTER_LOG_TARGET Instance method Public Method Register a new log target to receive all future log entries 20040109
11 SET_OPTIONS Instance method Public Method Set various options to control logging behavior 20040109
Events
Class CL_SRM_TOOLS_LOG has no event.
Types
Class CL_SRM_TOOLS_LOG has no local type.
Method Signatures

Method DEREGISTER_LOG_TARGET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NAME Call by reference Type reference (TYPE) STRING Logischer Name des Ziels, mit dem es registriert wurde 20040126

Method DEREGISTER_LOG_TARGET on class CL_SRM_TOOLS_LOG has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_O_LOG Value transfer Object reference (TYPE REF TO) CL_SRM_TOOLS_LOG Zugriff auf Instanz der Protokollfunktion 20040108

Method GET_INSTANCE on class CL_SRM_TOOLS_LOG has no exception.

Method GET_LOG_TARGET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NAME Call by reference Type reference (TYPE) STRING Logischer Name des Ziels, mit dem es registriert wurde 20040126
2 Returning LOG_TARGET Value transfer Object reference (TYPE REF TO) CL_SRM_TOOLS_LOG_TARGET Von Protokollziel gelieferte Operationen 20040126

Method GET_LOG_TARGET on class CL_SRM_TOOLS_LOG has no exception.

Method LOG_EXCEPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ERROR Call by reference Type reference (TYPE) C Gesetzt, wenn die Ausnahme als Fehler protokoll. werden soll 20040420
2 Importing EXCEPTION Call by reference Object reference (TYPE REF TO) CX_ROOT Ausnahme, für die Informationen hinzugefügt werden sollen 20040108
3 Importing FATAL Call by reference Type reference (TYPE) C Gesetzt, wenn Ausn. als nicht behebbarer Fehler prot. w soll 20040420
4 Importing WARNING Call by reference Type reference (TYPE) C Gesetzt, wenn die Ausnahme als Warnung protok. werden soll 20040108

Method LOG_EXCEPTION on class CL_SRM_TOOLS_LOG has no exception.

Method LOG_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DEBUG Call by reference Type reference (TYPE) C Gesetzt, wenn die Ausnahme als Debug-Ausgabe prot. werden s. 20040108
2 Importing ERROR Call by reference Type reference (TYPE) C Gesetzt, wenn die Ausnahme als Fehler protokoll. werden soll 20040108
3 Importing FATAL Call by reference Type reference (TYPE) C Gesetzt, wenn Ausn. als nicht behebbarer Fehler prot. w soll 20040420
4 Importing INFORMATION Call by reference Type reference (TYPE) C Gesetzt, wenn die Ausnahme als Info. protokoll. werden soll 20040109
5 Importing MESSAGE_ARG1 Call by reference Type reference (TYPE) ANY Text für Platzhalter 1 20040108
6 Importing MESSAGE_ARG2 Call by reference Type reference (TYPE) ANY Text für Platzhalter 2 20040108
7 Importing MESSAGE_ARG3 Call by reference Type reference (TYPE) ANY Text für Platzhalter 3 20040108
8 Importing MESSAGE_ARG4 Call by reference Type reference (TYPE) ANY Text für Platzhalter 4 20040108
9 Importing MESSAGE_CLASS Call by reference Type reference (TYPE) STRING Nachrichtenklasse 20040108
10 Importing MESSAGE_NUMBER Call by reference Type reference (TYPE) STRING Nachrichtennummer 20040108
11 Importing WARNING Call by reference Type reference (TYPE) C Gesetzt, wenn die Ausnahme als Warnung protok. werden soll 20040108

Method LOG_MESSAGE on class CL_SRM_TOOLS_LOG has no exception.

Method LOG_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DEBUG Call by reference Type reference (TYPE) C Gesetzt, wenn die Ausnahme als Debug-Ausgabe prot. werden s. 20040108
2 Importing ERROR Call by reference Type reference (TYPE) C Gesetzt, wenn die Ausnahme als Fehler protokoll. werden soll 20040108
3 Importing FATAL Call by reference Type reference (TYPE) C Gesetzt, wenn Ausn. als nicht behebbarer Fehler prot. w soll 20040420
4 Importing INFORMATION Call by reference Type reference (TYPE) C Gesetzt, wenn die Ausnahme als Info. protokoll. werden soll 20040109
5 Importing TEXT Call by reference Type reference (TYPE) STRING Text, der an das Protokoll angehängt werden soll 20040108
6 Importing WARNING Call by reference Type reference (TYPE) C Gesetzt, wenn die Ausnahme als Warnung protok. werden soll 20040108

Method LOG_TEXT on class CL_SRM_TOOLS_LOG has no exception.

Method MAP_SEVERITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DEBUG Call by reference Type reference (TYPE) C Gesetzt, wenn die Ausnahme als Debug-Ausgabe prot. werden s. 20040109
2 Importing DEFAULT Call by reference Type reference (TYPE) I Standardschweregrad, wenn keine anderen Angaben vorhanden 20040109
3 Importing ERROR Call by reference Type reference (TYPE) C Gesetzt, wenn die Ausnahme als Fehler protokoll. werden soll 20040109
4 Importing FATAL Call by reference Type reference (TYPE) C Gesetzt, wenn Ausn. als nicht behebbarer Fehler prot. w soll 20040420
5 Importing INFORMATION Call by reference Type reference (TYPE) C Gesetzt, wenn die Ausnahme als Info. protokoll. werden soll 20040109
6 Returning SEVERITY Value transfer Type reference (TYPE) I Entsprechender Schweregrad 20040109
7 Importing WARNING Call by reference Type reference (TYPE) C Gesetzt, wenn die Ausnahme als Warnung protok. werden soll 20040109

Method MAP_SEVERITY on class CL_SRM_TOOLS_LOG has no exception.

Method PROPAGATE_EXCEPT_AS_LOG_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EXCEPTION Call by reference Object reference (TYPE REF TO) CX_ROOT Dem Protokoll hinzuzufügende Ausnahme 20040109
2 Importing SEVERITY Call by reference Type reference (TYPE) I (1-4) niedriger positiver Wert bedeutet hohe Priorität 20040109

Method PROPAGATE_EXCEPT_AS_LOG_ENTRY on class CL_SRM_TOOLS_LOG has no exception.

Method PROPAGATE_MESSAGE_AS_LOG_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MESSAGE_ARG1 Call by reference Type reference (TYPE) ANY Text für Platzhalter 1 20040109
2 Importing MESSAGE_ARG2 Call by reference Type reference (TYPE) ANY Text für Platzhalter 2 20040109
3 Importing MESSAGE_ARG3 Call by reference Type reference (TYPE) ANY Text für Platzhalter 3 20040109
4 Importing MESSAGE_ARG4 Call by reference Type reference (TYPE) ANY Text für Platzhalter 4 20040109
5 Importing MESSAGE_CLASS Call by reference Type reference (TYPE) STRING Nachrichtenklasse 20040109
6 Importing MESSAGE_NUMBER Call by reference Type reference (TYPE) STRING Nachrichtennummer 20040109
7 Importing SEVERITY Call by reference Type reference (TYPE) I (1-4) niedriger positiver Wert bedeutet hohe Priorität 20040109

Method PROPAGATE_MESSAGE_AS_LOG_ENTRY on class CL_SRM_TOOLS_LOG has no exception.

Method REGISTER_LOG_TARGET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LOG_TARGET Call by reference Object reference (TYPE REF TO) CL_SRM_TOOLS_LOG_TARGET Protokollziel 20040109
2 Importing NAME Call by reference Type reference (TYPE) STRING Logischer Name zur Identifikation des Protokollziels 20040109

Method REGISTER_LOG_TARGET on class CL_SRM_TOOLS_LOG has no exception.

Method SET_OPTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DISCARD_DEBUG_ENTRIES Call by reference Type reference (TYPE) C Alle Debug-Einträge verwerfen 20040109

Method SET_OPTIONS on class CL_SRM_TOOLS_LOG has no exception.
History
Last changed by/on SAP  20141101 
SAP Release Created in 352