SAP ABAP Class CL_CTS_LOGGER (CTS logger service for new import steps)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-CTS-ORG (Application Component) Transport Organizer
⤷
SCTS_EXE (Package) CTS: Transport Services
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_CTS_BOOLEAN | IF CTS Boolean Wrapper | 20070330 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_CTS_LOGGER | CTS Logger Interface | 20120829 |
Properties
| Class | CL_CTS_LOGGER | |
| Short Description | CTS logger service for new import steps | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SCTS_EXE | CTS: Transport Services |
| Created | 20070305 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_CTS_LOGGER has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_CTS_BOOLEAN | IF CTS Boolean Wrapper | 20070330 | ||
| 2 | IF_CTS_LOGGER | CTS Logger Interface | 20120829 |
Friends
Class CL_CTS_LOGGER 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) | SPROT_U-AG | Standard | 20070306 | |||
| 2 | Constant | Public | Type reference (TYPE) | SPROT_U-LEVEL | IF_CTS_LOGGER~CON_LEVEL_DETAIL | Log Level | 20070305 | ||
| 3 | Constant | Public | Type reference (TYPE) | SPROT_U-LEVEL | IF_CTS_LOGGER~CON_LEVEL_ERROR | Log Level | 20070305 | ||
| 4 | Constant | Public | Type reference (TYPE) | SPROT_U-LEVEL | IF_CTS_LOGGER~CON_LEVEL_OVERVIEW | Log Level | 20070305 | ||
| 5 | Constant | Public | Type reference (TYPE) | SPROT_U-LEVEL | IF_CTS_LOGGER~CON_LEVEL_SUMMARY | Log Level | 20070305 | ||
| 6 | Constant | Public | Type reference (TYPE) | INT4 | 131 | Maximum Log Line Length | 20080810 | ||
| 7 | Constant | Public | Type reference (TYPE) | SPROT_U-SEVERITY | IF_CTS_LOGGER~CON_SPROT_ERROR | Error severity(' ',W(arning),E(rror),A(bnormal termination)) | 20070305 | ||
| 8 | Constant | Public | Type reference (TYPE) | SPROT_U-SEVERITY | IF_CTS_LOGGER~CON_SPROT_FATAL_ERROR | Error severity(' ',W(arning),E(rror),A(bnormal termination)) | 20070305 | ||
| 9 | Constant | Public | Type reference (TYPE) | SPROT_U-SEVERITY | IF_CTS_LOGGER~CON_SPROT_INFO | Error severity(' ',W(arning),E(rror),A(bnormal termination)) | 20070305 | ||
| 10 | Constant | Public | Type reference (TYPE) | SPROT_U-SEVERITY | IF_CTS_LOGGER~CON_SPROT_INTERNAL_ERROR | Error severity(' ',W(arning),E(rror),A(bnormal termination)) | 20070305 | ||
| 11 | Constant | Public | Type reference (TYPE) | SPROT_U-SEVERITY | IF_CTS_LOGGER~CON_SPROT_OPEN | Error severity(' ',W(arning),E(rror),A(bnormal termination)) | 20070305 | ||
| 12 | Constant | Public | Type reference (TYPE) | SPROT_U-SEVERITY | IF_CTS_LOGGER~CON_SPROT_STATUS | Error severity(' ',W(arning),E(rror),A(bnormal termination)) | 20070305 | ||
| 13 | Constant | Public | Type reference (TYPE) | SPROT_U-SEVERITY | IF_CTS_LOGGER~CON_SPROT_SUCCESS | Error severity(' ',W(arning),E(rror),A(bnormal termination)) | 20070305 | ||
| 14 | Constant | Public | Type reference (TYPE) | SPROT_U-SEVERITY | IF_CTS_LOGGER~CON_SPROT_WARNING | Error severity(' ',W(arning),E(rror),A(bnormal termination)) | 20070305 | ||
| 15 | Instance attribute | Private | Attribute reference (LIKE) | General Flag | 20070305 | ||||
| 16 | Instance attribute | Private | Type reference (TYPE) | CTSLOGNAME | Control information for determining a log file | 20080327 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | SPROT_U-MSGNR | Standard Message Number | 20070306 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | SPROT_U_TAB | Table Type for SPROT_U (Log Interface) | 20080808 | |||
| 19 | Instance attribute | Private | Type reference (TYPE) | FLAG | Create new section for an object | 20070305 | |||
| 20 | Instance attribute | Private | Type reference (TYPE) | TRLOGRS | CTS Raw Message Table | 20080808 | |||
| 21 | Instance attribute | Private | Type reference (TYPE) | TRFUNCTION | Type of Request/Task | 20070305 | |||
| 22 | Instance attribute | Private | Type reference (TYPE) | SYSYSID | Name of SAP System | 20070305 | |||
| 23 | Instance attribute | Private | Type reference (TYPE) | TRKORR | Request ID | 20080327 | |||
| 24 | Instance attribute | Private | Attribute reference (LIKE) | General Flag | 20070305 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | 20120829 | ||
| 2 | Static method | Public | Method | Create instance | 20080327 | |
| 3 | Instance method | Public | Method | Logging exception | 20120829 | |
| 4 | Instance method | Public | Method | Write Messages to the log | 20120829 | |
| 5 | Instance method | Public | Method | Logging of up to 4 text50 in level overview as information | 20120829 | |
| 6 | Instance method | Public | Method | Logging of up to 4 text50 in level overview as information | 20120829 | |
| 7 | Instance method | Public | Method | Logging of up to 4 text50 in level overview as information | 20120829 | |
| 8 | Instance method | Public | Method | Log split long texts into up to 2 messages | 20120829 | |
| 9 | Instance method | Public | Method | Logging of message | 20120829 | |
| 10 | Instance method | Public | Method | Create new section for new object | 20120829 | |
| 11 | Instance method | Public | Method | Log return code | 20120829 | |
| 12 | Instance method | Public | Method | Logging of up to 4 text50 in level summary | 20120829 |
Events
Class CL_CTS_LOGGER has no event.
Types
Class CL_CTS_LOGGER has no local type.
Method Signatures
Method CIALERT Signature
Method CIALERT on class CL_CTS_LOGGER has no parameter.
Method CIALERT on class CL_CTS_LOGGER has no exception.
Method CREATEINSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LOG | Value transfer | Object reference (TYPE REF TO) | IF_CTS_LOGGER | Cts logger service for new import steps | 20080327 | |||
| 2 | LOGNAME | Call by reference | Type reference (TYPE) | CTSLOGNAME | Steuerinformation zum Bestimmen einer Protokolldatei | 20080327 | |||
| 3 | STDAG | Call by reference | Type reference (TYPE) | SPROT_U-AG | 'PU' | Arbeitsgebiet | 20080327 | ||
| 4 | STDMSG | Call by reference | Type reference (TYPE) | SPROT_U-MSGNR | '601' | Nachrichtennummer | 20080327 | ||
| 5 | STEPID | Call by reference | Type reference (TYPE) | TRFUNCTION | ' ' | Typ des Auftrags/Aufgabe | 20080327 | ||
| 6 | SYSID | Call by reference | Type reference (TYPE) | SYSYSID | SY-SYSID | Name des SAP-Systems | 20080327 | ||
| 7 | TRKORR | Call by reference | Type reference (TYPE) | TRKORR | Auftrag/Aufgabe | 20080327 |
Method CREATEINSTANCE on class CL_CTS_LOGGER has no exception.
Method EXCEPTION Signature
Method EXCEPTION on class CL_CTS_LOGGER has no parameter.
Method EXCEPTION on class CL_CTS_LOGGER has no exception.
Method FLUSHMESSAGES Signature
Method FLUSHMESSAGES on class CL_CTS_LOGGER has no parameter.
Method FLUSHMESSAGES on class CL_CTS_LOGGER has no exception.
Method INFODETAIL Signature
Method INFODETAIL on class CL_CTS_LOGGER has no parameter.
Method INFODETAIL on class CL_CTS_LOGGER has no exception.
Method INFOOVERVIEW Signature
Method INFOOVERVIEW on class CL_CTS_LOGGER has no parameter.
Method INFOOVERVIEW on class CL_CTS_LOGGER has no exception.
Method INFOSUMMARY Signature
Method INFOSUMMARY on class CL_CTS_LOGGER has no parameter.
Method INFOSUMMARY on class CL_CTS_LOGGER has no exception.
Method LONGTEXT Signature
Method LONGTEXT on class CL_CTS_LOGGER has no parameter.
Method LONGTEXT on class CL_CTS_LOGGER has no exception.
Method MESSAGE Signature
Method MESSAGE on class CL_CTS_LOGGER has no parameter.
Method MESSAGE on class CL_CTS_LOGGER has no exception.
Method NEWOBJECTSECTION Signature
Method NEWOBJECTSECTION on class CL_CTS_LOGGER has no parameter.
Method NEWOBJECTSECTION on class CL_CTS_LOGGER has no exception.
Method RETURNCODE Signature
Method RETURNCODE on class CL_CTS_LOGGER has no parameter.
Method RETURNCODE on class CL_CTS_LOGGER has no exception.
Method SUMMARY Signature
Method SUMMARY on class CL_CTS_LOGGER has no parameter.
Method SUMMARY on class CL_CTS_LOGGER has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 702 |