SAP ABAP Class CL_SPI_STAT_E2E_TRACE (Statistics Data Collection for Traces)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-PMI (Application Component) Process Monitoring Infrastructure
⤷
SPI14 (Package) Central: Statistics Tools
⤷
⤷
Properties
| Class | CL_SPI_STAT_E2E_TRACE | |
| Short Description | Statistics Data Collection for Traces | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SPI14 | Central: Statistics Tools |
| Created | 20081008 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_SPI_STAT_E2E_TRACE has no interface implemented.
Friends
Class CL_SPI_STAT_E2E_TRACE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | SYMSGID | 'SPI14' | Message Class for Self-Monitoring | 20081022 | ||
| 2 | Constant | Public | Type reference (TYPE) | TZNZONE | 'UTC' | UTC Time Zone | 20090112 | ||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SPI_SELF_MONITOR | Error Log (Type ASSEMBLER) | 20081013 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | SPIPROCTP | SPI: Process Type ID | 20081008 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | I | 60 | STAT Read Parameter: Wait Time in Seconds | 20081013 | ||
| 6 | Instance attribute | Private | Type reference (TYPE) | TSPICSST | Assembled STAT data for each step | 20081020 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | TSPISTRECS | Compressed Statistical Records Before Cumulation | 20081013 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | TSPIPRGUID | Table with Process Instance GUIDs | 20081008 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | TSPIPROCI | PMI: Table of process instances | 20081020 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | SWNCGL_T_DEST | STAT Read Parameter: Destinations for R3 Systems | 20081009 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | TSPISTCONF | Table with Configuration for Performance Data Evaluation | 20081008 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | TTY_STEPS | All Step Information for All Process Instances | 20081014 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Adds contents of a STAT record of instance data | 20081020 | |
| 2 | Instance method | Private | Method | Aggregates STAT data to process instances | 20081020 | |
| 3 | Instance method | Private | Method | Calls SWNC statistics read module | 20081013 | |
| 4 | Static method | Protected | Method | Checks if there is a STAT record within a process instance | 20081020 | |
| 5 | Instance method | Public | Method | Read and Assemble Statistics (Performance) Data | 20081008 | |
| 6 | Instance method | Public | Constructor | Constructor - Imports process type and reads configuration | 20081008 | |
| 7 | Instance method | Private | Method | Compiles read parameters for STAT module call | 20081008 | |
| 8 | Instance method | Private | Method | Read necessary process instance step information from DB | 20081014 |
Events
Class CL_SPI_STAT_E2E_TRACE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TTY_STEPS | Private | See coding | 20081014 | tty_steps type standard table of ty_step_info
|
||
| 2 | TY_STEP_INFO | Private | See coding | 20081014 | begin of ty_step_info,
prguid type spiprguid,
trguid type spitrguid,
prstepid type spiprstid,
locsysid type sysysid,
locclient type mandt,
username type sta_user,
transid type spiguid,
end of ty_step_info
|
||
| 3 | TY_VARIABLE_READ_PARAMS | Private | See coding | 20081013 | begin of ty_variable_read_params,
read_start_date type swncdatum,
read_start_time type swncuzeit,
read_end_date type swncdatum,
read_end_time type swncuzeit,
read_transids type swncgl_t_transid,
end of ty_variable_read_params
|
Method Signatures
Method ADD_STAT_REC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_ASSEMBLED_REC | Call by reference | Type reference (TYPE) | SSPICSST | PMI: Statistikdaten zu assembl. Prozessinstanzen | 20081020 | |||
| 2 | IS_STAT_CONFIG | Call by reference | Type reference (TYPE) | SSPISTCONF | Konfiguration für die Performance-Daten-Auswertung | 20081020 | |||
| 3 | IS_STAT_REC | Call by reference | Type reference (TYPE) | SSPISTRECS | Komprimierte Statistiksätze vor der Verdichtung | 20081020 |
Method ADD_STAT_REC on class CL_SPI_STAT_E2E_TRACE has no exception.
Method AGGREGATE_STATS Signature
Method AGGREGATE_STATS on class CL_SPI_STAT_E2E_TRACE has no parameter.
Method AGGREGATE_STATS on class CL_SPI_STAT_E2E_TRACE has no exception.
Method CALL_STAT_READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_VARIABLE_READ_PARAMS | Call by reference | Type reference (TYPE) | TY_VARIABLE_READ_PARAMS | Variable Statistik-Leseparameter | 20081013 |
Method CALL_STAT_READ on class CL_SPI_STAT_E2E_TRACE has no exception.
Method CHECK_TIMEFRAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_PROC_INST | Call by reference | Object reference (TYPE REF TO) | CL_SPI_PROCESS_INST | Instanz der Prozessinstanz | 20081027 | |||
| 2 | IP_TIMEFRAMETYPE | Call by reference | Type reference (TYPE) | SPISTSRTIFR | CL_SPI_STAT_CONFIG=>GC_STAT_TIFR_PO | Konfigurierter Statistik-Überdeckungszeitrahmen (STAT/DSR) | 20081020 | ||
| 3 | IS_STAT_REC | Call by reference | Type reference (TYPE) | SSPISTRECS | Komprimierter Statistiksatz vor der Verdichtung | 20081020 | |||
| 4 | RP_IS_IN_TIFR | Value transfer | Type reference (TYPE) | SPIBOOL | Statistiksatz liegt innerhalb der Prozessinstanz | 20081020 |
Method CHECK_TIMEFRAME on class CL_SPI_STAT_E2E_TRACE has no exception.
Method COLLECT_PERF_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_PRGUIDS | Call by reference | Type reference (TYPE) | TSPIPRGUID | Prozessinstanz-IDs für die STAT-Daten gesammelt werden solle | 20081008 | |||
| 2 | IT_PRINSTS | Call by reference | Type reference (TYPE) | TSPIPROCI | Instanzen der Prozessinstanzen für die STAT-Daten gesammelt | 20081027 |
Method COLLECT_PERF_DATA on class CL_SPI_STAT_E2E_TRACE has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_PROCTYPE | Call by reference | Type reference (TYPE) | SPIPROCTP | SPI: ID eines Prozesstypen | 20081008 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Konfiguration der Perf.-Daten-Erfassung | 20081008 | ||
| 2 | Ausnahmeklasse der STAT-Anbindung | 20090112 |
Method GET_STAT_READ_PARAMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_READ_PARAMS | Value transfer | Type reference (TYPE) | TY_VARIABLE_READ_PARAMS | Benötigte STAT-Leseparameter | 20081013 |
Method GET_STAT_READ_PARAMS on class CL_SPI_STAT_E2E_TRACE has no exception.
Method GET_STEPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_PROCID | Call by reference | Type reference (TYPE) | SPIPRGUID | ID einer Prozessinstanz | 20081014 |
Method GET_STEPS on class CL_SPI_STAT_E2E_TRACE has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 720 |