SAP ABAP Class CL_ATRA_TRACE (ABAP-Laufzeit-Messung)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷ S_ATRA_KERNEL (Package) Kernelzugriff für Laufzeitanalyse
⤷ BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷ S_ATRA_KERNEL (Package) Kernelzugriff für Laufzeitanalyse
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_ATRA_TRACE | Starten von ABAP-Laufzeitanalysen | 20100224 |
2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_ATRA_TRACE_INTERNAL | Trace Session Verwaltung für SAT | 20100224 |
Properties
Class | CL_ATRA_TRACE | |
Short Description | ABAP-Laufzeit-Messung | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | S_ATRA_KERNEL | Kernelzugriff für Laufzeitanalyse |
Created | 20100224 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | CL_ABAP_TRACE | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
2 | IF_ATRA_TRACE_INTERNAL | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_ATRA_TRACE | Starten von ABAP-Laufzeitanalysen | 20100224 | ||
2 | IF_ATRA_TRACE_INTERNAL | Trace Session Verwaltung für SAT | 20100224 |
Friends
Class CL_ATRA_TRACE has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | AC_TRACE_MODE_LOCAL | Constant | Private | Type reference (TYPE) | I | 1 | 20100224 | ||
2 | AC_TRACE_MODE_PROCESS | Constant | Private | Type reference (TYPE) | I | 2 | 20100224 | ||
3 | AC_TRACE_MODE_REQUEST | Constant | Private | Type reference (TYPE) | I | 3 | 20100303 | ||
4 | AC_VERSION | Constant | Private | Type reference (TYPE) | C | 'C' | 20100224 | ||
5 | A_ERROR_MESSAGE | Instance attribute | Private | Type reference (TYPE) | STRING | 20100224 | |||
6 | A_FILENAME | Instance attribute | Public | Type reference (TYPE) | STRING | 20100224 | |||
7 | A_HEADER | Instance attribute | Private | Type reference (TYPE) | IF_ATRA_TRACE_FILE=>T_ATRA_HEADER | 20100224 | |||
8 | A_SESSION_ID | Instance attribute | Public | Type reference (TYPE) | I | 20100224 | |||
9 | A_SESSION_INIT_TIME | Instance attribute | Public | Type reference (TYPE) | I | 20100224 | |||
10 | A_STATUS | Instance attribute | Private | Type reference (TYPE) | I | IF_ATRA_TRACE_INTERNAL=>AC_STATUS_INITIAL | 20100224 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONSTRUCTOR | Instance method | Private | Constructor | 20100224 | |
2 | GET_RUNNING_TRACES | Static method | Private | Method | 20100224 | |
3 | SWITCH_OFF | Instance method | Private | Method | 20100224 | |
4 | SWITCH_ON | Instance method | Private | Method | 20100224 | |
5 | S_CREATE | Static method | Public | Method | 20100224 | |
6 | S_CREATE_INTERNAL | Static method | Public | Method | 20100224 | |
7 | _GET_MY_TRACE_SESSION | Instance method | Private | Method | 20100318 | |
8 | _KILL | Instance method | Private | Method | 20120130 | |
9 | _SET_GUID | Instance method | Private | Method | 20100318 |
Events
Class CL_ATRA_TRACE has no event.
Types
Class CL_ATRA_TRACE has no local type.
Method Signatures
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_SESSION_ID | Call by reference | Type reference (TYPE) | I | -1 | 20100224 | ||
2 | Importing | I_SESSION_INIT_TIME | Call by reference | Type reference (TYPE) | I | 0 | 20100224 |
Method CONSTRUCTOR on class CL_ATRA_TRACE has no exception.
Method GET_RUNNING_TRACES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_TRACE_SESSIONS | Call by reference | Type reference (TYPE) | IF_ATRA_TRACE_INTERNAL=>TY_TRACE_SESSION_T | 20100224 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_ATRA_TRACE | 20100224 |
Method SWITCH_OFF Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_GUID | Value transfer | Type reference (TYPE) | IF_ATRA_TRACE_INTERNAL=>TY_ATRA_GUID | 20100318 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_ATRA_TRACE | 20100224 |
Method SWITCH_ON Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_COMM | Call by reference | Type reference (TYPE) | IF_ATRA_TRACE_VARIANT=>TY_VARIANT_TEXT | SPACE | 20100224 | ||
2 | Importing | I_DESCRIPTION | Call by reference | Type reference (TYPE) | IF_ATRA_TRACE=>TY_TRACE_DESCR | SPACE | 20120130 | ||
3 | Importing | I_PARTICULAR_UNITS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20100224 | ||
4 | Importing | I_PROG | Call by reference | Type reference (TYPE) | PROGRAM | 20100224 | |||
5 | Importing | I_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | 'R' | 20100224 | ||
6 | Importing | I_VNAME | Call by reference | Type reference (TYPE) | IF_ATRA_TRACE_VARIANT=>TY_VARIANT_NAME | 20100224 | |||
7 | Importing | I_VREF | Call by reference | Object reference (TYPE REF TO) | IF_ATRA_TRACE_VARIANT | Mess-Variante | 20100224 | ||
8 | Importing | I_VUSER | Call by reference | Type reference (TYPE) | USERNAME | 20100224 | |||
9 | Importing | I_WP_ID | Call by reference | Type reference (TYPE) | I | 20100224 | |||
10 | Importing | I_X_NO_AUTOCLOSE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20100224 | ||
11 | Importing | I_X_RESOLUTION_LOW | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20100224 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_ATRA_TRACE | 20100224 |
Method S_CREATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_REF_TRACE_SESSION | Value transfer | Object reference (TYPE REF TO) | IF_ATRA_TRACE | 20100224 |
Method S_CREATE on class CL_ATRA_TRACE has no exception.
Method S_CREATE_INTERNAL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_SESSION_ID | Value transfer | Type reference (TYPE) | I | -1 | 20100224 | ||
2 | Importing | I_SESSION_INIT_TIME | Value transfer | Type reference (TYPE) | I | 0 | 20100224 | ||
3 | Returning | R_REF_TRACE_SESSION | Value transfer | Object reference (TYPE REF TO) | IF_ATRA_TRACE_INTERNAL | 20100224 |
Method S_CREATE_INTERNAL on class CL_ATRA_TRACE has no exception.
Method _GET_MY_TRACE_SESSION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_IS_ACTIVE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100318 |
Method _GET_MY_TRACE_SESSION on class CL_ATRA_TRACE has no exception.
Method _KILL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_FORCE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120130 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_ATRA_TRACE | Exceptions für CL_ATRA_TRACE | 20120130 |
Method _SET_GUID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_GUID | Value transfer | Type reference (TYPE) | IF_ATRA_TRACE_INTERNAL=>TY_ATRA_GUID | 20100318 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_ATRA_TRACE | Exceptions für CL_ATRA_TRACE | 20100318 |
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 800 |