SAP ABAP Class CL_SPI_TP_EXTRACTOR (Extraction of TRs from Subprocesses)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-PMI (Application Component) Process Monitoring Infrastructure
     SPI3 (Package) Central: Process Store and Assembler
Properties
Class CL_SPI_TP_EXTRACTOR  
Short Description Extraction of TRs from Subprocesses    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SPI3   Central: Process Store and Assembler 
Created 20090707   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_SPI_TP_EXTRACTOR has no forward declaration.
Interfaces
Class CL_SPI_TP_EXTRACTOR has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_SPI_AS_ASSEMBLER 20090707 Process assembling for a process type
2 CL_SPI_AS_DISPATCHER 20090707 Dispatcher for Process Assembler
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GO_RANDOM Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_RANDOM Pseudo Random Number Generator 20090714
2 GO_SUBPROCESS Instance attribute Protected Object reference (TYPE REF TO) CL_SPI_CU_PROCESS Subordinate Process 20090707
3 GO_TOPPROCESS Instance attribute Private Object reference (TYPE REF TO) CL_SPI_CU_PROCESS Superior Process 20090707
4 GT_FIRST_STEPIDS Instance attribute Private Type reference (TYPE) TSPIPRSTID Start Steps of Subprocess 20090826
5 GT_IF_FIELDS Instance attribute Private Type reference (TYPE) TSPIIFFLD Fields of Interface 20090729
6 GT_TRHD_INS Instance attribute Private Type reference (TYPE) TSPICSTRHD Table for Tracking Record Header 20090713
7 GT_TRHD_UPD Instance attribute Private Type reference (TYPE) TSPICSTRHD Table for Tracking Record Header 20090713
8 GT_TRPL_INS Instance attribute Private Type reference (TYPE) TSPICSTRPL SPI: Tracking Record Payload 20090713
9 GT_TRPL_UPD Instance attribute Private Type reference (TYPE) TSPICSTRPL SPI: Tracking Record Payload 20090713
10 GT_TRPR Instance attribute Private Type reference (TYPE) TSPICSTRPR Mapping Tracking Record Top Process - Instance Subprocess 20090707
11 G_AGENTID Instance attribute Private Type reference (TYPE) SPIAGNTID SPI Global: Agent ID 20090707
12 G_SIGNATURE Instance attribute Private Type reference (TYPE) SPIAGSIGN Global SPI: Agent Signature 20090707
13 G_THIS_RUN Static Attribute Public Type reference (TYPE) TIMESTAMPL Time Stamp of Current Extractor Session 20090714
Methods
# Method Level Visibility Method type Description Created on
1 ADD_GUIDS Instance method Private Method Add GUIDs like agent, signature, TRGUID, HOSTIPADR 20090707
2 ADD_HEADER_DATA Instance method Private Method Use Data from Process Header 20090707
3 ADD_INSTANCE Instance method Public Method Create Tracking Record from Instance 20090707
4 ADD_PAYLOAD_DATA Instance method Private Method Adds payload data to top process TR 20090707
5 ADD_STEP_DATA Instance method Private Method Add Data from Instance Steps to Top Process TR 20090707
6 CONSTRUCTOR Instance method Public Constructor 20090707
7 GET_EXTRACTORS Static method Public Method Create Extractor Instances for Process Tuple 20090728
8 GET_PAYLOAD_FOR_INTERFACES Static method Public Method Gets payload fields required for process interfaces 20090804
9 GET_STEP_INTFS Static method Private Method Get Steps of Top Process and Associated Interfaces 20090729
10 INSERT_SSPICSTRHEAD Instance method Private Method Write Entries to Header Table 20090715
11 SAVE_TO_DB Instance method Public Method Persist Extracted Tracking Records 20090709
Events
Class CL_SPI_TP_EXTRACTOR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TTY_STEP_INTF Private See coding 20090729 TTY_STEP_INTF type standard table of ty_step_intf
2 TY_STEP_INTF Private See coding 20090729 begin of TY_STEP_INTF, step type ref to cl_spi_cu_step, intf type ref to cl_spi_cu_process_interface . types: end of ty_step_intf
Method Signatures

Method ADD_GUIDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_TRHD Call by reference Type reference (TYPE) SSPICSTRHEAD SPI: Central Store Tracking Records Header 20090707
2 Importing IO_PROCREF Call by reference Object reference (TYPE REF TO) IF_SPI_PROCESS_PATH BPT: Instance of a process 20090720

Method ADD_GUIDS on class CL_SPI_TP_EXTRACTOR has no exception.

Method ADD_HEADER_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_TRHD Call by reference Type reference (TYPE) SSPICSTRHEAD SPI: Central Store Tracking Records Header 20090707
2 Importing IS_INST_HEADER Call by reference Type reference (TYPE) SSPIPRHD SPI: Prozess Header 20090707

Method ADD_HEADER_DATA on class CL_SPI_TP_EXTRACTOR has no exception.

Method ADD_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PROCREF Call by reference Object reference (TYPE REF TO) IF_SPI_PROCESS_PATH BPT: Instance of a process 20090707
2 Importing IS_INST_HEADER Call by reference Type reference (TYPE) SSPIPRHD SPI: Prozess Header 20090707

Method ADD_INSTANCE on class CL_SPI_TP_EXTRACTOR has no exception.

Method ADD_PAYLOAD_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PROCREF Call by reference Object reference (TYPE REF TO) IF_SPI_PROCESS_PATH BPT: Instance of a process 20090707
2 Importing IP_TRGUID Call by reference Type reference (TYPE) SPITRGUID SPI: GUID of a Tracking Record 20090707

Method ADD_PAYLOAD_DATA on class CL_SPI_TP_EXTRACTOR has no exception.

Method ADD_STEP_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PROCREF Call by reference Object reference (TYPE REF TO) IF_SPI_PROCESS_PATH BPT: Instance of a process 20090707
2 Returning RS_TRHD Value transfer Type reference (TYPE) SSPICSTRHEAD SPI: Central Store Tracking Records Header 20090707

Method ADD_STEP_DATA on class CL_SPI_TP_EXTRACTOR has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_INTF Call by reference Object reference (TYPE REF TO) CL_SPI_CU_PROCESS_INTERFACE Prozessschnittstelle 20090729
2 Importing IO_STEP Call by reference Object reference (TYPE REF TO) CL_SPI_CU_STEP Prozessschrittdaten aus dem Customizing 20090728
3 Importing IO_SUBPROCESS Call by reference Object reference (TYPE REF TO) CL_SPI_CU_PROCESS Subprozess 20090707
4 Importing IO_TOPPROCESS Call by reference Object reference (TYPE REF TO) CL_SPI_CU_PROCESS Topprozess 20090728
5 Importing I_SEED Call by reference Type reference (TYPE) I Ausganspunkt für Zufallszahlen (unique index!) 20090715

Method CONSTRUCTOR on class CL_SPI_TP_EXTRACTOR has no exception.

Method GET_EXTRACTORS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SUBPROCESS Call by reference Object reference (TYPE REF TO) CL_SPI_CU_PROCESS Prozessdaten aus dem Customizing 20090728
2 Returning RT_EXTRACTS Value transfer Type reference (TYPE) TSPIPREXTR Tabelle von Extraktor-Objekten (TR's für Topprozesse) 20090729

Method GET_EXTRACTORS on class CL_SPI_TP_EXTRACTOR has no exception.

Method GET_PAYLOAD_FOR_INTERFACES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PROCESS Call by reference Object reference (TYPE REF TO) CL_SPI_CU_PROCESS Prozessdaten aus dem Customizing 20090804
2 Importing I_STEPID Call by reference Type reference (TYPE) SPIPRSTID SPI: ID eines Prozessschrittes 20090804
3 Returning RT_STPL Value transfer Type reference (TYPE) TSPISTPLFD SPI: Tabelle Payload Field in Step 20090804

Method GET_PAYLOAD_FOR_INTERFACES on class CL_SPI_TP_EXTRACTOR has no exception.

Method GET_STEP_INTFS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_STEP_INTFS Call by reference Type reference (TYPE) TTY_STEP_INTF Schritte & ihre Interfaces 20090729
2 Importing IO_SUBPROCESS Call by reference Object reference (TYPE REF TO) CL_SPI_CU_PROCESS Subprozess 20090729
3 Importing IO_TOPPROCESS Call by reference Object reference (TYPE REF TO) CL_SPI_CU_PROCESS Topprozess 20090729

Method GET_STEP_INTFS on class CL_SPI_TP_EXTRACTOR has no exception.

Method INSERT_SSPICSTRHEAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TRHD_INS Call by reference Type reference (TYPE) TSPICSTRHD Tabelle für Tracking Record Header 20090715
2 Returning R_INSERTED Value transfer Type reference (TYPE) I Anzahl eingetragener Zeilen 20090715

Method INSERT_SSPICSTRHEAD on class CL_SPI_TP_EXTRACTOR has no exception.

Method SAVE_TO_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_TRSTAT Value transfer Type reference (TYPE) SSPIEXSTAT Statistikdaten Extraktor 20090715

Method SAVE_TO_DB on class CL_SPI_TP_EXTRACTOR has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 730