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 CL_SPI_STAT_CONFIG Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 SPI Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 SPIST 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 GC_MESSAGE_ID Constant Private Type reference (TYPE) SYMSGID 'SPI14' Message Class for Self-Monitoring 20081022
2 GC_TZONE_UTC Constant Public Type reference (TYPE) TZNZONE 'UTC' UTC Time Zone 20090112
3 GO_PROTOCOL Instance attribute Private Object reference (TYPE REF TO) CL_SPI_SELF_MONITOR Error Log (Type ASSEMBLER) 20081013
4 GP_PROCTP Instance attribute Private Type reference (TYPE) SPIPROCTP SPI: Process Type ID 20081008
5 GP_READ_WAIT_SECONDS Instance attribute Private Type reference (TYPE) I 60 STAT Read Parameter: Wait Time in Seconds 20081013
6 GT_ASSMBLED_R3_RECS Instance attribute Private Type reference (TYPE) TSPICSST Assembled STAT data for each step 20081020
7 GT_CONDENSED_STATS Instance attribute Private Type reference (TYPE) TSPISTRECS Compressed Statistical Records Before Cumulation 20081013
8 GT_PRGUIDS Instance attribute Private Type reference (TYPE) TSPIPRGUID Table with Process Instance GUIDs 20081008
9 GT_PROC_INSTS Instance attribute Private Type reference (TYPE) TSPIPROCI PMI: Table of process instances 20081020
10 GT_READ_FROM_R3SYSTEMS Instance attribute Private Type reference (TYPE) SWNCGL_T_DEST STAT Read Parameter: Destinations for R3 Systems 20081009
11 GT_STAT_CONFIG Instance attribute Private Type reference (TYPE) TSPISTCONF Table with Configuration for Performance Data Evaluation 20081008
12 GT_STEPS 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 ADD_STAT_REC Instance method Private Method Adds contents of a STAT record of instance data 20081020
2 AGGREGATE_STATS Instance method Private Method Aggregates STAT data to process instances 20081020
3 CALL_STAT_READ Instance method Private Method Calls SWNC statistics read module 20081013
4 CHECK_TIMEFRAME Static method Protected Method Checks if there is a STAT record within a process instance 20081020
5 COLLECT_PERF_DATA Instance method Public Method Read and Assemble Statistics (Performance) Data 20081008
6 CONSTRUCTOR Instance method Public Constructor Constructor - Imports process type and reads configuration 20081008
7 GET_STAT_READ_PARAMS Instance method Private Method Compiles read parameters for STAT module call 20081008
8 GET_STEPS 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 Changing CS_ASSEMBLED_REC Call by reference Type reference (TYPE) SSPICSST PMI: Statistikdaten zu assembl. Prozessinstanzen 20081020
2 Importing IS_STAT_CONFIG Call by reference Type reference (TYPE) SSPISTCONF Konfiguration für die Performance-Daten-Auswertung 20081020
3 Importing 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 Importing 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 Importing IO_PROC_INST Call by reference Object reference (TYPE REF TO) CL_SPI_PROCESS_INST Instanz der Prozessinstanz 20081027
2 Importing IP_TIMEFRAMETYPE Call by reference Type reference (TYPE) SPISTSRTIFR CL_SPI_STAT_CONFIG=>GC_STAT_TIFR_PO Konfigurierter Statistik-Überdeckungszeitrahmen (STAT/DSR) 20081020
3 Importing IS_STAT_REC Call by reference Type reference (TYPE) SSPISTRECS Komprimierter Statistiksatz vor der Verdichtung 20081020
4 Returning 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 Importing IT_PRGUIDS Call by reference Type reference (TYPE) TSPIPRGUID Prozessinstanz-IDs für die STAT-Daten gesammelt werden solle 20081008
2 Importing 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 Importing IP_PROCTYPE Call by reference Type reference (TYPE) SPIPROCTP SPI: ID eines Prozesstypen 20081008
# Exception Resumable Description Created on
1 CX_SPI_CONFIG Konfiguration der Perf.-Daten-Erfassung 20081008
2 CX_SPI_STAT 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 Returning 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 Importing 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