SAP ABAP Class CL_SPI_TEST_DATA (Generates runtime data for tests)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-PMI (Application Component) Process Monitoring Infrastructure
     SPI9 (Package) Central: Tests and Test Environment
Properties
Class CL_SPI_TEST_DATA  
Short Description Generates runtime data for tests    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SPI9   Central: Tests and Test Environment 
Created 20081009   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 SPI Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_SPI_TEST_DATA has no interface implemented.
Friends
Class CL_SPI_TEST_DATA has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_INST_CNT_MAX Constant Private Type reference (TYPE) I 1000 20091228
2 GC_INST_CNT_MIN Constant Private Type reference (TYPE) I 1000 20091228
3 GO_CU_PROCESS Instance attribute Private Object reference (TYPE REF TO) CL_SPI_CU_PROCESS Process Data from Customizing 20081029
4 GP_BUFFER Instance attribute Private Type reference (TYPE) SPIBOOL SPI_TRUE Buffer Data 20100322
5 GP_PROCTYPE Instance attribute Private Type reference (TYPE) SPIPROCTP SPI: Process Type ID 20081017
6 GP_RT_MODE Instance attribute Private Type reference (TYPE) SPIRTMODE SPI: Runtime Mode 20081029
7 GP_TASK_CNT Instance attribute Private Type reference (TYPE) I Counter for Parallel Executions 20091221
8 GT_HASHVAL Static Attribute Private Type reference (TYPE) TT_HASHVAL 20100621
9 GT_PRE1 Instance attribute Private Type reference (TYPE) TSPICSE1 Table of One-Step Events 20081017
10 GT_PRE2 Instance attribute Private Type reference (TYPE) TSPICSE2 Table of Two-Step Events 20081017
11 GT_PRHD Instance attribute Private Type reference (TYPE) TSPICSPRHD Table of Process Instances 20081017
12 GT_PRST Instance attribute Private Type reference (TYPE) TSPICSPRST2 Table of Process Steps 20081017
13 GT_TRHD Instance attribute Private Type reference (TYPE) TSPICSTRHD Table for Tracking Record Header 20081017
14 GT_TRPL Instance attribute Private Type reference (TYPE) TSPICSTRPL Table for Tracking Record Payload 20081017
15 GT_TRPR Instance attribute Private Type reference (TYPE) TSPICSTRPR Table for Mapping Top Process Step to Subprocess 20090805
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor 20081017
2 CREATE_DESTS Instance method Public Method Creates destination NONE for all steps - for STAT test 20090202
3 CREATE_PROCESS_INSTANCES Instance method Public Method Creates Process Instances 20081017
4 CREATE_TRACKING_RECORDS Instance method Public Method Generates tracking records 20081009
5 CREATE_TR_ASYNCH_RETURN Instance method Public Method Callback for 'SPI_TEST_DATA_CREATE_TR_ASYNCH' 20091221
6 DELETE Instance method Public Method Deletes all Test Data 20081017
7 GET_1STEP_METRIC_TABLE Instance method Public Method Gets 1-Step Metrics Previously Created 20081111
8 GET_2STEP_METRIC_TABLE Instance method Public Method Gets 2-Step Metrics Previously Created 20081111
9 GET_HASH_VALUE Static method Public Method Generates hash value 20081009
10 GET_PAYLOAD_DATA Instance method Private Method Gets Payload Data for Each Step 20081028
11 GET_PAYLOAD_TABLE Instance method Public Method Gets Payload Data Previously Created 20081111
12 GET_PROCESS_ID Instance method Public Method Gets Process Type 20081029
13 GET_PROCESS_INST_TABLE Instance method Public Method Gets Process Instances Previously Created 20081111
14 GET_PROCESS_STEPS Instance method Private Method Gets Table Entries for Individual Steps 20081027
15 GET_STEP_INST_TABLE Instance method Public Method Gets Step Instances Previously Created 20081111
16 GET_TRACKING_RECORD_TABLE Instance method Public Method Gets Tracking Record Header Previously Created 20081111
17 GET_TR_HEADER Static method Public Method Gets TR Header Data 20081017
18 INSERT_TRACKING_RECORDS Instance method Public Method Inserts tracking records and payload in DB 20091217
Events
Class CL_SPI_TEST_DATA has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_HASHVAL Private See coding 20100621 BEGIN OF ts_hashval, val TYPE string, hashval TYPE i, END OF ts_hashval
2 TT_HASHVAL Private See coding 20100621 tt_hashval TYPE SORTED TABLE OF ts_hashval WITH UNIQUE KEY val
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_BUFFER Call by reference Type reference (TYPE) SPIBOOL Daten puffern 20100322
2 Importing IP_NO_ENQUEUE Call by reference Type reference (TYPE) SPIBOOL Keine Sperre setzen 20091214
3 Importing IP_PROCESS_ID Call by reference Type reference (TYPE) SPIPROCTP SPI: ID eines Prozesstypen 20081215
4 Importing IP_RT_MODE Call by reference Type reference (TYPE) SPIRTMODE Laufzeitmodus 20081029
# Exception Resumable Description Created on
1 CX_SPI_TEST_DATA Ausnahmeklasse Testdaten anlegen 20081029

Method CREATE_DESTS Signature

Method CREATE_DESTS on class CL_SPI_TEST_DATA has no parameter.
Method CREATE_DESTS on class CL_SPI_TEST_DATA has no exception.

Method CREATE_PROCESS_INSTANCES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_RUNTIME_EB Call by reference Type reference (TYPE) SPIPDURA 0 SPI: Prozessdauer 20081028
2 Importing I_STATUS_EB Call by reference Type reference (TYPE) SPIERRST '00' SPI: Fehlerstatus für Prozess 20081027
3 Importing I_STATUS_FIELD_START Call by reference Type reference (TYPE) SPIATTVAL 'OK' SPI Global: Wert zu einem Feldnamen 20081027
# Exception Resumable Description Created on
1 CX_SPI_TEST_DATA Ausnahmeklasse Testdaten anlegen 20081119

Method CREATE_TRACKING_RECORDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_FINISH Call by reference Type reference (TYPE) SPICMPFIN SPI: Finished + Complete Status 20100721
2 Importing IP_ID_OFFSET Call by reference Type reference (TYPE) I 0 Zählerbeginn 20091216
3 Importing IP_ID_PREFIX Call by reference Type reference (TYPE) STRING Gemeinsamer Teil der ID 20091228
4 Importing IP_INST_COUNT Call by reference Type reference (TYPE) I 1 Anzahl Instanzen 20091216
5 Importing IP_STATUS Call by reference Type reference (TYPE) SPIERRST SPI: Fehlerstatus für Prozess 20091215
6 Importing IP_TS_OFFSET Call by reference Type reference (TYPE) I 0 Zeitabweichung in Sekunden 20091216
7 Importing IT_PAYLOAD Call by reference Type reference (TYPE) TSPIGENNV Payload-Felder 20091215
8 Importing IT_STEP_NAME Call by reference Type reference (TYPE) TSPISSTR Schrittnamen 20091216

Method CREATE_TRACKING_RECORDS on class CL_SPI_TEST_DATA has no exception.

Method CREATE_TR_ASYNCH_RETURN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_TASK Call by reference Type reference (TYPE) CLIKE 20091221

Method CREATE_TR_ASYNCH_RETURN on class CL_SPI_TEST_DATA has no exception.

Method DELETE Signature

Method DELETE on class CL_SPI_TEST_DATA has no parameter.
Method DELETE on class CL_SPI_TEST_DATA has no exception.

Method GET_1STEP_METRIC_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_1STEP_METRICS Value transfer Type reference (TYPE) TSPICSE1 Tabelle von Ein-Schritt-Ereignissen 20081111

Method GET_1STEP_METRIC_TABLE on class CL_SPI_TEST_DATA has no exception.

Method GET_2STEP_METRIC_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_2STEP_METRICS Value transfer Type reference (TYPE) TSPICSE2 Tabelle von Zwei-Schritt-Ereignissen 20081111

Method GET_2STEP_METRIC_TABLE on class CL_SPI_TEST_DATA has no exception.

Method GET_HASH_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_VALUE Call by reference Type reference (TYPE) ANY Wert 20081009
2 Returning RP_VALUE Value transfer Type reference (TYPE) I Hash-Wert 20081009

Method GET_HASH_VALUE on class CL_SPI_TEST_DATA has no exception.

Method GET_PAYLOAD_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_PROCESS_STEPS Call by reference Type reference (TYPE) TSPICSPRST2 SPI Global: Header eines Tracking Records 20081028
2 Importing I_STATUS_OF_START Value transfer Type reference (TYPE) SPIATTVAL 'OK' SPI Global: Wert zu einem Feldnamen 20081028
3 Returning RT_TR_PAYLOAD Value transfer Type reference (TYPE) TSPICSTRPL Tabelle für Tracking Record Payload 20081028
# Exception Resumable Description Created on
1 CX_SPI_TEST_DATA Ausnahmeklasse Testdaten anlegen 20081119

Method GET_PAYLOAD_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_TR_PAYLOAD Value transfer Type reference (TYPE) TSPICSTRPL Tabelle für Tracking Record Payload 20081111

Method GET_PAYLOAD_TABLE on class CL_SPI_TEST_DATA has no exception.

Method GET_PROCESS_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RP_PROCESS_ID Value transfer Type reference (TYPE) SPIPROCTP SPI: ID eines Prozesstypen 20081029

Method GET_PROCESS_ID on class CL_SPI_TEST_DATA has no exception.

Method GET_PROCESS_INST_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_PROCESS_STEPS Value transfer Type reference (TYPE) TSPICSPRHD Tabelle von technischen Prozesschrittinformationen 20081111

Method GET_PROCESS_INST_TABLE on class CL_SPI_TEST_DATA has no exception.

Method GET_PROCESS_STEPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ERROR_EB Value transfer Type reference (TYPE) SPIERRST '00' SPI: Fehlerstatus für Prozess 20081028
2 Importing I_RUNTIME_EB Value transfer Type reference (TYPE) NUMERIC 0 UTC-Zeitstempel in Langform (JJJJMMTThhmmssmmmuuun) 20081028
3 Returning RT_PROCESS_STEPS Value transfer Type reference (TYPE) TSPICSPRST2 Tabelle von Prozessschritten 20081027
# Exception Resumable Description Created on
1 CX_SPI_TEST_DATA Ausnahmeklasse Testdaten anlegen 20081119

Method GET_STEP_INST_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_PROCESS_STEPS Value transfer Type reference (TYPE) TSPICSPRST2 Tabelle von technischen Prozesschrittinformationen 20081111

Method GET_STEP_INST_TABLE on class CL_SPI_TEST_DATA has no exception.

Method GET_TRACKING_RECORD_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_TR_HEADER Value transfer Type reference (TYPE) TSPICSTRHD Tabelle für Tracking Record Header 20081111

Method GET_TRACKING_RECORD_TABLE on class CL_SPI_TEST_DATA has no exception.

Method GET_TR_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_TR_HEADER Call by reference Type reference (TYPE) SSPITRHD SPI Global: Header eines Tracking Records 20081017

Method GET_TR_HEADER on class CL_SPI_TEST_DATA has no exception.

Method INSERT_TRACKING_RECORDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_STEP_NAME Call by reference Type reference (TYPE) TSPISSTR SPI: Tabelle von Suchstrings 20091217

Method INSERT_TRACKING_RECORDS on class CL_SPI_TEST_DATA has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 720