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 | ![]() |
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 | ![]() |
Instance attribute | Private | Type reference (TYPE) | C | Indicates if debug entries are to be discarded | 20040109 | ||
2 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | CL_SRM_TOOLS_LOG | The instance representing this singleton | 20040108 | ||
3 | ![]() |
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 | ![]() |
Instance method | Public | Method | De-register a log target | 20040109 |
2 | ![]() |
Static method | Public | Method | Get access to the single instance | 20040108 |
3 | ![]() |
Instance method | Public | Method | Retrieve a log target with a given name | 20040126 |
4 | ![]() |
Instance method | Public | Method | Log an exception | 20040108 |
5 | ![]() |
Instance method | Public | Method | Log a message | 20040108 |
6 | ![]() |
Instance method | Public | Method | Log a message | 20040108 |
7 | ![]() |
Instance method | Private | Method | Map symbolic severities to integer values | 20040109 |
8 | ![]() |
Instance method | Private | Method | Propagates an exception to all registered log targets | 20040109 |
9 | ![]() |
Instance method | Private | Method | Propagates a message to all registered log targets | 20040109 |
10 | ![]() |
Instance method | Public | Method | Register a new log target to receive all future log entries | 20040109 |
11 | ![]() |
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 | ![]() |
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 | ![]() |
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 | ![]() |
I_NAME | Call by reference | Type reference (TYPE) | STRING | Logischer Name des Ziels, mit dem es registriert wurde | 20040126 | ||
2 | ![]() |
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 | ![]() |
ERROR | Call by reference | Type reference (TYPE) | C | Gesetzt, wenn die Ausnahme als Fehler protokoll. werden soll | 20040420 | ||
2 | ![]() |
EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Ausnahme, für die Informationen hinzugefügt werden sollen | 20040108 | ||
3 | ![]() |
FATAL | Call by reference | Type reference (TYPE) | C | Gesetzt, wenn Ausn. als nicht behebbarer Fehler prot. w soll | 20040420 | ||
4 | ![]() |
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 | ![]() |
DEBUG | Call by reference | Type reference (TYPE) | C | Gesetzt, wenn die Ausnahme als Debug-Ausgabe prot. werden s. | 20040108 | ||
2 | ![]() |
ERROR | Call by reference | Type reference (TYPE) | C | Gesetzt, wenn die Ausnahme als Fehler protokoll. werden soll | 20040108 | ||
3 | ![]() |
FATAL | Call by reference | Type reference (TYPE) | C | Gesetzt, wenn Ausn. als nicht behebbarer Fehler prot. w soll | 20040420 | ||
4 | ![]() |
INFORMATION | Call by reference | Type reference (TYPE) | C | Gesetzt, wenn die Ausnahme als Info. protokoll. werden soll | 20040109 | ||
5 | ![]() |
MESSAGE_ARG1 | Call by reference | Type reference (TYPE) | ANY | Text für Platzhalter 1 | 20040108 | ||
6 | ![]() |
MESSAGE_ARG2 | Call by reference | Type reference (TYPE) | ANY | Text für Platzhalter 2 | 20040108 | ||
7 | ![]() |
MESSAGE_ARG3 | Call by reference | Type reference (TYPE) | ANY | Text für Platzhalter 3 | 20040108 | ||
8 | ![]() |
MESSAGE_ARG4 | Call by reference | Type reference (TYPE) | ANY | Text für Platzhalter 4 | 20040108 | ||
9 | ![]() |
MESSAGE_CLASS | Call by reference | Type reference (TYPE) | STRING | Nachrichtenklasse | 20040108 | ||
10 | ![]() |
MESSAGE_NUMBER | Call by reference | Type reference (TYPE) | STRING | Nachrichtennummer | 20040108 | ||
11 | ![]() |
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 | ![]() |
DEBUG | Call by reference | Type reference (TYPE) | C | Gesetzt, wenn die Ausnahme als Debug-Ausgabe prot. werden s. | 20040108 | ||
2 | ![]() |
ERROR | Call by reference | Type reference (TYPE) | C | Gesetzt, wenn die Ausnahme als Fehler protokoll. werden soll | 20040108 | ||
3 | ![]() |
FATAL | Call by reference | Type reference (TYPE) | C | Gesetzt, wenn Ausn. als nicht behebbarer Fehler prot. w soll | 20040420 | ||
4 | ![]() |
INFORMATION | Call by reference | Type reference (TYPE) | C | Gesetzt, wenn die Ausnahme als Info. protokoll. werden soll | 20040109 | ||
5 | ![]() |
TEXT | Call by reference | Type reference (TYPE) | STRING | Text, der an das Protokoll angehängt werden soll | 20040108 | ||
6 | ![]() |
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 | ![]() |
DEBUG | Call by reference | Type reference (TYPE) | C | Gesetzt, wenn die Ausnahme als Debug-Ausgabe prot. werden s. | 20040109 | ||
2 | ![]() |
DEFAULT | Call by reference | Type reference (TYPE) | I | Standardschweregrad, wenn keine anderen Angaben vorhanden | 20040109 | ||
3 | ![]() |
ERROR | Call by reference | Type reference (TYPE) | C | Gesetzt, wenn die Ausnahme als Fehler protokoll. werden soll | 20040109 | ||
4 | ![]() |
FATAL | Call by reference | Type reference (TYPE) | C | Gesetzt, wenn Ausn. als nicht behebbarer Fehler prot. w soll | 20040420 | ||
5 | ![]() |
INFORMATION | Call by reference | Type reference (TYPE) | C | Gesetzt, wenn die Ausnahme als Info. protokoll. werden soll | 20040109 | ||
6 | ![]() |
SEVERITY | Value transfer | Type reference (TYPE) | I | Entsprechender Schweregrad | 20040109 | ||
7 | ![]() |
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 | ![]() |
EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Dem Protokoll hinzuzufügende Ausnahme | 20040109 | ||
2 | ![]() |
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 | ![]() |
MESSAGE_ARG1 | Call by reference | Type reference (TYPE) | ANY | Text für Platzhalter 1 | 20040109 | ||
2 | ![]() |
MESSAGE_ARG2 | Call by reference | Type reference (TYPE) | ANY | Text für Platzhalter 2 | 20040109 | ||
3 | ![]() |
MESSAGE_ARG3 | Call by reference | Type reference (TYPE) | ANY | Text für Platzhalter 3 | 20040109 | ||
4 | ![]() |
MESSAGE_ARG4 | Call by reference | Type reference (TYPE) | ANY | Text für Platzhalter 4 | 20040109 | ||
5 | ![]() |
MESSAGE_CLASS | Call by reference | Type reference (TYPE) | STRING | Nachrichtenklasse | 20040109 | ||
6 | ![]() |
MESSAGE_NUMBER | Call by reference | Type reference (TYPE) | STRING | Nachrichtennummer | 20040109 | ||
7 | ![]() |
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 | ![]() |
LOG_TARGET | Call by reference | Object reference (TYPE REF TO) | CL_SRM_TOOLS_LOG_TARGET | Protokollziel | 20040109 | ||
2 | ![]() |
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 | ![]() |
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 |