SAP ABAP Class CL_BPM_SPI_AS_PROCESS (BPM Event Generation from Assembler)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-PMI (Application Component) Process Monitoring Infrastructure
     SPI3 (Package) Central: Process Store and Assembler
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_SPI_AS_PROCESS_PATH 20070425
Properties
Class CL_BPM_SPI_AS_PROCESS  
Short Description BPM Event Generation from Assembler    
Super Class CL_SPI_AS_PROCESS_PATH  
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SPI3   Central: Process Store and Assembler 
Created 20070425   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_BPM_SPI_AS_PROCESS has no interface implemented.
Friends
Class CL_BPM_SPI_AS_PROCESS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_STATUS_FIELD Constant Private Type reference (TYPE) SPIDFLDNAM 'ERROR' Name of the Status Metric Field 20070830
2 GT_1STEP_EVENTS Instance attribute Private Type reference (TYPE) TT_SSPICSE1 One-Step Events per Instance 20070510
3 GT_2STEP_EVENTS Instance attribute Private Type reference (TYPE) TT_SSPICSE2 Response-Time Events per Instance 20070515
4 GT_BDF_COUNT Static Attribute Private Type reference (TYPE) TSPIMEVCNT Number of BDFs per Metric 20070620
5 GT_EVENTCOUNT Static Attribute Private Type reference (TYPE) TSPIMEVCNT Number of Events per Metric in this Assembler Run 20070509
Methods
# Method Level Visibility Method type Description Created on
1 ARE_EVENTS_IN_STEPS Instance method Private Method Are there events in subprocesses? 20090709
2 CHECK_1STEP_METRIC Instance method Private Method Check One-Step Metric (Status) 20070510
3 CHECK_1STEP_METRIC_TIMEOUT Instance method Private Method Check for timeout for the one-step metric 20100527
4 CHECK_2STEP_METRIC Instance method Private Method Check Two-Step Metric (Response Time) 20070521
5 CHECK_FOR_FORCED_FINISH Instance method Private Method Check for forced finish in two-step event 20070618
6 CREATE_1STEP_EVENT Instance method Private Method Create One-Step Event (Status Event) 20070514
7 CREATE_2STEP_EVENT Instance method Private Method Create Two-Step Event (Response-Time Event) 20070521
8 GET_EVENTS_TO_SAVE Instance method Public Method Read Events for Saving 20070523
9 GET_TIME_DIFF_SEC Static method Public Method Determine Time Difference in Seconds 20070522
10 HOW_MANY_FIRST_STEPS Instance method Private Method Checks how many "first" steps of an RT metric exist 20100621
11 IS_ANALYSE_OPTION_INSTANCE Instance method Private Method Checks for analysis method instance (not just step) 20070509
12 IS_CUTOFF_REACHED_LOCALLY Instance method Private Method Checks if maximum events in current assembler is reached 20070510
13 IS_STEP_AVAILABLE Instance method Private Method Checks if (at least) one step from metric is in the instance 20070509
14 UPDATE_DB_CUTOFF_COUNTER Instance method Public Method Persist Cutoff Counter in Database 20080805
Events
Class CL_BPM_SPI_AS_PROCESS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_SSPICSE1 Public See coding 20070521 tt_sspicse1 type standard table of sspicse1
2 TT_SSPICSE2 Public See coding 20070521 tt_sspicse2 type standard table of sspicse2
Method Signatures

Method ARE_EVENTS_IN_STEPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_EVENT Value transfer Type reference (TYPE) SPIBOOL SPI Global: Boolscher Wert 20090709

Method ARE_EVENTS_IN_STEPS on class CL_BPM_SPI_AS_PROCESS has no exception.

Method CHECK_1STEP_METRIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_METRIC Call by reference Object reference (TYPE REF TO) CL_SPI_CU_METRIC Metricdaten aus dem Customizing 20070510
2 Returning RP_RESULT Value transfer Type reference (TYPE) SPIBOOL Event auslösen? 20070510
# Exception Resumable Description Created on
1 CX_SPI_ADMIN Fehler im Zugriff auf Administrationsdaten 20080804
2 CX_SPI_AUTH Ausnahme aufgrund fehlender Berechtigung 20080804

Method CHECK_1STEP_METRIC_TIMEOUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EP_FORCED_FINISH Call by reference Type reference (TYPE) SPIBOOL Forced Finish ist gesetzt 20100609
2 Exporting EP_TIMEOUT_REACHED Call by reference Type reference (TYPE) SPIBOOL Time Out der 1-Schritt-Metrik erreicht 20100609
3 Importing IO_METRIC Call by reference Object reference (TYPE REF TO) CL_SPI_CU_METRIC Metricdaten aus dem Customizing 20100527
# Exception Resumable Description Created on
1 CX_SPI_ADMIN Fehler im Zugriff auf Administrationsdaten 20100527
2 CX_SPI_AUTH Ausnahme aufgrund fehlender Berechtigung 20100527

Method CHECK_2STEP_METRIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EP_DELINST Call by reference Type reference (TYPE) SPIBOOL Instanz löschen? 20080610
2 Exporting EP_EVENT Call by reference Type reference (TYPE) SPIBOOL Event auslösen? 20080610
3 Importing IO_METRIC Call by reference Object reference (TYPE REF TO) CL_SPI_CU_METRIC Metricdaten aus dem Customizing 20070521
# Exception Resumable Description Created on
1 CX_SPI_ADMIN Fehler im Zugriff auf Administrationsdaten 20080804
2 CX_SPI_AUTH Ausnahme aufgrund fehlender Berechtigung 20080804

Method CHECK_FOR_FORCED_FINISH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_STEPID1 Call by reference Type reference (TYPE) SPIPRSTID SPI: ID eines Prozessschrittes 20100609
2 Importing IP_STEPID2 Call by reference Type reference (TYPE) SPIPRSTID SPI: ID eines Prozessschrittes 20090825
3 Returning RP_RESULT Value transfer Type reference (TYPE) SPIBOOL SPI Global: Boolscher Wert 20070618

Method CHECK_FOR_FORCED_FINISH on class CL_BPM_SPI_AS_PROCESS has no exception.

Method CREATE_1STEP_EVENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_METRIC Call by reference Object reference (TYPE REF TO) CL_SPI_CU_METRIC Referenz auf Metrik 20070515
2 Importing IO_TR Call by reference Object reference (TYPE REF TO) IF_SPI_TRACKING_RECORD Tracking Record, bei 'echtem' Event 20070514
3 Importing IP_BDF_REACHED Call by reference Type reference (TYPE) SPIBOOL SPI_FALSE Für BDF-Event 20070515
4 Importing IP_STEPID Call by reference Type reference (TYPE) SPIPRSTID ID des Prozessschrittes bei Time Out 20100609

Method CREATE_1STEP_EVENT on class CL_BPM_SPI_AS_PROCESS has no exception.

Method CREATE_2STEP_EVENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_METRIC Call by reference Object reference (TYPE REF TO) CL_SPI_CU_METRIC Referenz auf Metrik 20070521
2 Importing IO_TR1 Call by reference Object reference (TYPE REF TO) IF_SPI_TRACKING_RECORD BPT: Tracking Record 20070521
3 Importing IO_TR2 Call by reference Object reference (TYPE REF TO) IF_SPI_TRACKING_RECORD BPT: Tracking Record 20070521
4 Importing IP_BDF_REACHED Call by reference Type reference (TYPE) SPIBOOL SPI_FALSE SPI Global: Boolscher Wert 20070521
5 Importing IP_VALUE Call by reference Type reference (TYPE) SPIRTMVAL PMI: Wert einer Laufzeitmessung in Sekunden 20070521
# Exception Resumable Description Created on
1 TR1_MISSING Referenz auf TR1 fehlt! 20070522

Method GET_EVENTS_TO_SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_1STEP_EVENTS Call by reference Type reference (TYPE) TT_SSPICSE1 Eventtabelle für PMI Metriken auf Basis eines Schritts 20070523
2 Exporting ET_2STEP_EVENTS Call by reference Type reference (TYPE) TT_SSPICSE2 Eventtabelle für PMI Metriken auf Basis von zwei Schritten 20070523

Method GET_EVENTS_TO_SAVE on class CL_BPM_SPI_AS_PROCESS has no exception.

Method GET_TIME_DIFF_SEC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_TIMESTMP1 Call by reference Type reference (TYPE) TIMESTAMPL UTC-Zeitstempel in Langform (JJJJMMTThhmmssmmmuuun) 20070522
2 Importing IP_TIMESTMP2 Call by reference Type reference (TYPE) TIMESTAMPL UTC-Zeitstempel in Langform (JJJJMMTThhmmssmmmuuun) 20070522
3 Returning RP_RESULT Value transfer Type reference (TYPE) I Zeitdifferenz in Sekunden 20070522

Method GET_TIME_DIFF_SEC on class CL_BPM_SPI_AS_PROCESS has no exception.

Method HOW_MANY_FIRST_STEPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_METRIC Call by reference Object reference (TYPE REF TO) CL_SPI_CU_METRIC Metricdaten aus dem Customizing 20100621
2 Returning RP_RESULT Value transfer Type reference (TYPE) I Anzahl Schritte 20100621

Method HOW_MANY_FIRST_STEPS on class CL_BPM_SPI_AS_PROCESS has no exception.

Method IS_ANALYSE_OPTION_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_METRIC Call by reference Object reference (TYPE REF TO) CL_SPI_CU_METRIC Metricdaten aus dem Customizing 20070509
2 Returning RP_RESULT Value transfer Type reference (TYPE) SPIBOOL SPI Global: Boolscher Wert 20070509

Method IS_ANALYSE_OPTION_INSTANCE on class CL_BPM_SPI_AS_PROCESS has no exception.

Method IS_CUTOFF_REACHED_LOCALLY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_METRIC Call by reference Object reference (TYPE REF TO) CL_SPI_CU_METRIC Metricdaten aus dem Customizing 20070510
2 Returning RP_RESULT Value transfer Type reference (TYPE) SPIBOOL SPI Global: Boolscher Wert 20070510

Method IS_CUTOFF_REACHED_LOCALLY on class CL_BPM_SPI_AS_PROCESS has no exception.

Method IS_STEP_AVAILABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_METRIC Call by reference Object reference (TYPE REF TO) CL_SPI_CU_METRIC Metricdaten aus dem Customizing 20070509
2 Returning RP_RESULT Value transfer Type reference (TYPE) SPIBOOL SPI Global: Boolscher Wert 20070509

Method IS_STEP_AVAILABLE on class CL_BPM_SPI_AS_PROCESS has no exception.

Method UPDATE_DB_CUTOFF_COUNTER Signature

Method UPDATE_DB_CUTOFF_COUNTER on class CL_BPM_SPI_AS_PROCESS has no parameter.
Method UPDATE_DB_CUTOFF_COUNTER on class CL_BPM_SPI_AS_PROCESS has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 700