SAP ABAP Class CL_SPI_AS_ASSEMBLER (Process assembling for a process type)
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_AS_ASSEMBLER | |
| Short Description | Process assembling for a process type | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | SPI3 | |
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | SPI3 | Central: Process Store and Assembler |
| Created | 20020909 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 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_AS_ASSEMBLER has no interface implemented.
Friends
Class CL_SPI_AS_ASSEMBLER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | I | 0 | Default Mode | 20030415 | ||
| 2 | Constant | Public | Type reference (TYPE) | I | 1 | Call by CL_SPI_AS_DISPATCHER | 20030415 | ||
| 3 | Constant | Public | Type reference (TYPE) | I | 2 | Shared Memory Mode | 20040226 | ||
| 4 | Constant | Public | Type reference (TYPE) | I | 2 | Re-assemble Preselected Instances | 20040119 | ||
| 5 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_SPI_AS_EXIT | BAdI Class CL_EX_SPI_AS_EXIT | 20040113 | |||
| 6 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SPI_ADMIN_MANAGER | Administration Functions for Monitoring | 20020917 | |||
| 7 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_SPI_CU_PROCESS | Process metadata | 20020910 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | TSPICSE1 | Table of One-Step Events | 20100802 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | TSPICSE2 | Table of Two-Step Events | 20100802 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | TSPIADMEVBDF | PMI Metrics: BreakDownStatuus (Table Type) | 20101221 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | TSPIPREXTR | Table of Extractor Objects (TRs for Top Processes) | 20090730 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | TSPIEXSTAT | Assembler: Extractor Statistics | 20090715 | |||
| 13 | Static Attribute | Public | Type reference (TYPE) | TSPIPRGUID | Internal SPI Assembler: Process Expanded | 20030116 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | TT_PRHD | Administration process header | 20020909 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | TSPICUSTEPGUID | Steps Sorted by Assembly Sequence | 20030417 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | TT_STRANGE | 20020920 | ||||
| 17 | Instance attribute | Private | Type reference (TYPE) | SPI1_TRHD_KEYTAB | 20031006 | ||||
| 18 | Instance attribute | Private | Type reference (TYPE) | TT_STRANGE | Steps whose records are not deleted immediately | 20021016 | |||
| 19 | Instance attribute | Private | Type reference (TYPE) | SPIBOOL | Load All Open Processes | 20030113 | |||
| 20 | Instance attribute | Private | Type reference (TYPE) | I | Deleted Instances | 20070523 | |||
| 21 | Instance attribute | Private | Type reference (TYPE) | I | Index for gt_prhd | 20020917 | |||
| 22 | Instance attribute | Private | Type reference (TYPE) | I | Newly added instances | 20021001 | |||
| 23 | Instance attribute | Private | Type reference (TYPE) | TIMESTAMPL | Last assembler run | 20020917 | |||
| 24 | Instance attribute | Private | Type reference (TYPE) | I | 1000 | Maximum number of open processes | 20030416 | ||
| 25 | Instance attribute | Private | Type reference (TYPE) | I | GC_MODE_DEFAULT | Call Mode | 20040301 | ||
| 26 | Instance attribute | Private | Type reference (TYPE) | I | No. of Open Processes | 20020918 | |||
| 27 | Instance attribute | Private | Type reference (TYPE) | SPIPROCGP | Process Group | 20040113 | |||
| 28 | Instance attribute | Private | Type reference (TYPE) | I | Thrown instances (not event-relevant); new and deleted | 20080214 | |||
| 29 | Instance attribute | Private | Type reference (TYPE) | STRING | Current step pattern | 20020912 | |||
| 30 | Static Attribute | Public | Type reference (TYPE) | TIMESTAMPL | Timestamp of current assembler run | 20020917 | |||
| 31 | Instance attribute | Private | Type reference (TYPE) | I | Changed Instances | 20021001 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Constructor | 20020910 | |
| 2 | Instance method | Private | Method | Create process instances with one step each | 20020910 | |
| 3 | Instance method | Private | Method | Checks whether records for this step will be deleted later | 20021016 | |
| 4 | Instance method | Private | Method | Expand process instances for process info records | 20020910 | |
| 5 | Instance method | Private | Method | Find process instances for a tracking record | 20020910 | |
| 6 | Instance method | Private | Method | Finds Tracking Records for Process Instance | 20030130 | |
| 7 | Instance method | Private | Method | Determines next group in accordancer with step pattern | 20020910 | |
| 8 | Instance method | Private | Method | Returns reduced relationship matrix for current group | 20020920 | |
| 9 | Instance method | Private | Method | Gets Step Template of Process Instance | 20030417 | |
| 10 | Instance method | Private | Method | Returns next group in accordance with step pattern | 20020910 | |
| 11 | Static method | Public | Method | Checks whether assembler run is required | 20021015 | |
| 12 | Instance method | Private | Method | Read process instances from database | 20030218 | |
| 13 | Static method | Public | Method | Starts assembler | 20030415 | |
| 14 | Static method | Public | Method | Starts the assembler for tracing | 20070802 | |
| 15 | Instance method | Private | Method | Reset grouping counter | 20021014 | |
| 16 | Instance method | Private | Method | Saves assembled processes | 20020910 | |
| 17 | Instance method | Private | Method | Saves events (and metric cut-off entries) | 20100802 | |
| 18 | Instance method | Private | Method | Writes assembler statistics for administration | 20021001 |
Events
Class CL_SPI_AS_ASSEMBLER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_PRHD | Private | See coding | Process administration set internal | 20020910 | BEGIN OF ts_prhd,
header TYPE sspiprhd,
pattern TYPE string,
procref TYPE REF TO if_spi_process_path,
END OF ts_prhd
|
|
| 2 | TS_RECSTORE | Private | See coding | 20030725 | BEGIN OF ts_recstore,
prstepid TYPE spiprstid,
store TYPE REF TO cl_spi_as_central_store,
END OF ts_recstore
|
||
| 3 | TS_STPR | Private | See coding | 20040512 | BEGIN OF ts_stpr,
procref TYPE ref to if_Spi_process_path,
recref TYPE REF TO cl_spi_as_tracking_record,
branchid type spibranid,
supbranch type spibranid,
END OF ts_stpr
|
||
| 4 | TS_STRANGE | Private | See coding | 20020920 | ts_strange TYPE LINE OF tt_strange
|
||
| 5 | TS_STTR | Private | See coding | 20030115 | BEGIN OF ts_sttr,
prstepid TYPE spiprstid,
trguid TYPE spitrguid,
recref TYPE REF TO cl_spi_as_tracking_record,
END OF ts_sttr
|
||
| 6 | TS_TRHD_KEY | Private | See coding | 20031006 | BEGIN OF ts_trhd_key,
client TYPE sy-mandt,
trguid TYPE spitrguid,
END OF ts_trhd_key
|
||
| 7 | TT_PRHD | Private | See coding | Table of process administration sets | 20020910 | tt_prhd TYPE TABLE OF ts_prhd
|
|
| 8 | TT_RECSTORE | Private | See coding | 20030725 | tt_recstore TYPE HASHED TABLE OF ts_recstore
WITH UNIQUE KEY prstepid
|
||
| 9 | TT_RELMAT | Private | See coding | 20030404 | tt_relmat TYPE SORTED TABLE OF sspirelmat
WITH NON-UNIQUE KEY ruleopt
|
||
| 10 | TT_STPR | Private | See coding | 20040512 | tt_stpr TYPE TABLE OF ts_stpr
|
||
| 11 | TT_STRANGE | Private | See coding | 20020920 | tt_strange TYPE RANGE OF spiprstid
|
||
| 12 | TT_STTR | Private | See coding | 20030115 | tt_sttr TYPE TABLE OF ts_sttr
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_PROCTYPE | Call by reference | Object reference (TYPE REF TO) | CL_SPI_CU_PROCESS | Prozessdaten aus dem Customizing | 20020910 | |||
| 2 | IP_MODE | Call by reference | Type reference (TYPE) | I | Aufrufmodus | 20040301 |
Method CONSTRUCTOR on class CL_SPI_AS_ASSEMBLER has no exception.
Method CREATE_PERSISTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_STEP | Call by reference | Object reference (TYPE REF TO) | CL_SPI_CU_STEP | Prozessschrittdaten aus dem Customizing | 20020917 | |||
| 2 | IT_RECREF | Call by reference | Type reference (TYPE) | TSPIRECREF | Tabelle mit Referenzen auf IF_SPI_TRACKING_RECORD | 20020910 | |||
| 3 | RP_RESULT | Value transfer | Type reference (TYPE) | I | Anzahl erzeugte Instanzen | 20030417 |
Method CREATE_PERSISTENT on class CL_SPI_AS_ASSEMBLER has no exception.
Method DELAYED_DELETION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_STEP | Call by reference | Object reference (TYPE REF TO) | CL_SPI_CU_STEP | Prozessschrittdaten aus dem Customizing | 20021016 | |||
| 2 | RP_RESULT | Value transfer | Type reference (TYPE) | SPIBOOL | SPI Global: Boolscher Wert | 20021016 |
Method DELAYED_DELETION on class CL_SPI_AS_ASSEMBLER has no exception.
Method EXPAND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_INFO | Call by reference | Type reference (TYPE) | TSPIPRINFO | 20020910 | ||||
| 2 | IO_STEP | Call by reference | Object reference (TYPE REF TO) | CL_SPI_CU_STEP | Prozessschrittdaten aus dem Customizing | 20020926 | |||
| 3 | IT_PROCREF | Call by reference | Type reference (TYPE) | TSPIPROCREF | 20020910 | ||||
| 4 | IT_RELMAT | Call by reference | Type reference (TYPE) | TT_RELMAT | SPI: Beziehungen zwischen Schritten | 20020926 |
Method EXPAND on class CL_SPI_AS_ASSEMBLER has no exception.
Method FIND_RELATED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | II_RECORD | Call by reference | Object reference (TYPE REF TO) | IF_SPI_TRACKING_RECORD | 20020910 | ||||
| 2 | IO_STEP | Call by reference | Object reference (TYPE REF TO) | CL_SPI_CU_STEP | 20020910 | ||||
| 3 | IT_INFO1 | Call by reference | Type reference (TYPE) | TSPIPRINFO | 20020910 | ||||
| 4 | IT_INFO2 | Call by reference | Type reference (TYPE) | TSPIPRINFO2 | 20020910 | ||||
| 5 | IT_RELMAT | Call by reference | Type reference (TYPE) | TT_RELMAT | SPI: Beziehungen zwischen Schritten | 20020920 | |||
| 6 | RP_COUNT | Value transfer | Type reference (TYPE) | I | Anzahl geänderter Prozesse | 20020919 |
Method FIND_RELATED on class CL_SPI_AS_ASSEMBLER has no exception.
Method FIND_RELATED_RECORDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | II_PROCESS | Call by reference | Object reference (TYPE REF TO) | IF_SPI_PROCESS_PATH | BPT: Instance of a process | 20030130 | |||
| 2 | IO_RECORD_STORE | Call by reference | Object reference (TYPE REF TO) | CL_SPI_AS_CENTRAL_STORE | Zugriffe Assembler auf Central Store | 20030130 | |||
| 3 | IO_STEP | Call by reference | Object reference (TYPE REF TO) | CL_SPI_CU_STEP | 20030130 | ||||
| 4 | IT_RELMAT | Call by reference | Type reference (TYPE) | TT_RELMAT | SPI: Beziehungen zwischen Schritten | 20030130 | |||
| 5 | RP_COUNT | Value transfer | Type reference (TYPE) | I | Anzahl geänderter Prozesse | 20030130 |
Method FIND_RELATED_RECORDS on class CL_SPI_AS_ASSEMBLER has no exception.
Method GET_NEXT_GROUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PROCREF | Call by reference | Type reference (TYPE) | TSPIPROCREF | 20020910 |
Method GET_NEXT_GROUP on class CL_SPI_AS_ASSEMBLER has no exception.
Method GET_REDUCED_RELMAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_STEP | Call by reference | Object reference (TYPE REF TO) | CL_SPI_CU_STEP | Prozessschrittdaten aus dem Customizing | 20020920 | |||
| 2 | RT_RELMAT | Value transfer | Type reference (TYPE) | TT_RELMAT | SPI: Beziehungen zwischen Schritten | 20020920 |
Method GET_REDUCED_RELMAT on class CL_SPI_AS_ASSEMBLER has no exception.
Method GET_STEP_PATTERN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | II_PROCESS | Call by reference | Object reference (TYPE REF TO) | IF_SPI_PROCESS_PATH | 20030417 | ||||
| 2 | RP_RESULT | Value transfer | Type reference (TYPE) | STRING | 20030417 |
Method GET_STEP_PATTERN on class CL_SPI_AS_ASSEMBLER has no exception.
Method HAS_NEXT_GROUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RP_RESULT | Value transfer | Type reference (TYPE) | SPIBOOL | SPI Global: Boolscher Wert | 20020912 |
Method HAS_NEXT_GROUP on class CL_SPI_AS_ASSEMBLER has no exception.
Method IS_RUN_REQUIRED 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 | 20030113 | |||
| 2 | RP_RESULT | Value transfer | Type reference (TYPE) | SPIBOOL | SPI Global: Boolscher Wert | 20021015 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler im Zugriff auf Administrationsdaten | 20021121 | ||
| 2 | Ausnahme aufgrund fehlender Berechtigung | 20021121 | ||
| 3 | Interne Ausnahme für Metastore-Prozess | 20030113 |
Method LOAD_PROCESSES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_PACK_SIZE | Call by reference | Type reference (TYPE) | I | Anzahl beschränken | 20030218 | |||
| 2 | IP_SINCE | Call by reference | Type reference (TYPE) | TIMESTAMPL | Instanzen seit | 20030218 | |||
| 3 | RP_COUNT | Value transfer | Type reference (TYPE) | I | Anzahl geladener Prozesse | 20030218 |
Method LOAD_PROCESSES on class CL_SPI_AS_ASSEMBLER has no exception.
Method MAIN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PROC_STAT | Call by reference | Type reference (TYPE) | SSPIASSTAT | Statistikdaten Assembler | 20030415 | |||
| 2 | ET_BDF_STAT | Call by reference | Type reference (TYPE) | TSPIADMEVBDF | Assembler: BDF-Status-Statistiken für Protokolle | 20101221 | |||
| 3 | ET_EXTR_STAT | Call by reference | Type reference (TYPE) | TSPIEXSTAT | Assembler: Extraktor-Statistiken für Protokolle | 20090715 | |||
| 4 | ET_STEP_STAT | Call by reference | Type reference (TYPE) | TSPIASSTAT | Statistikdaten Assembler (Schritte) | 20030415 | |||
| 5 | IP_FIRST_STEP | Call by reference | Type reference (TYPE) | SPIPRSTID | ID des ersten Schrittes | 20030415 | |||
| 6 | IP_LAST_RUN | Call by reference | Type reference (TYPE) | TIMESTAMPL | Letzte Einplanung Assembler | 20030415 | |||
| 7 | IP_MODE | Call by reference | Type reference (TYPE) | I | GC_MODE_DEFAULT | Ausführungsmodus | 20030415 | ||
| 8 | IP_PROCTYPE | Call by reference | Type reference (TYPE) | SPIPROCTP | SPI: ID eines Prozesstypen | 20030415 | |||
| 9 | IP_THIS_RUN | Call by reference | Type reference (TYPE) | TIMESTAMPL | Zeitstempel des aktuellen Laufs | 20030415 | |||
| 10 | IP_TIME_OUT | Call by reference | Type reference (TYPE) | TIMESTAMPL | Time out für offene Prozesse und Tracking Records | 20030415 | |||
| 11 | IS_PROCVAR | Call by reference | Type reference (TYPE) | SSPIPVKEY | 20031119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler im Zugriff auf Administrationsdaten | 20030415 | ||
| 2 | Ausnahme aufgrund fehlender Berechtigung | 20030415 | ||
| 3 | Interne Ausnahme für Metastore-Prozess | 20030415 |
Method MAIN2 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PROC_STAT | Call by reference | Type reference (TYPE) | SSPIASSTAT | Statistikdaten Assembler | 20070802 | |||
| 2 | ET_STEP_STAT | Call by reference | Type reference (TYPE) | TSPIASSTAT | Statistikdaten Assembler (Schritte) | 20070802 | |||
| 3 | IP_FIRST_STEP | Call by reference | Type reference (TYPE) | SPIPRSTID | ID des ersten Schrittes | 20070802 | |||
| 4 | IP_MODE | Call by reference | Type reference (TYPE) | I | GC_MODE_DEFAULT | Ausführungsmodus | 20070802 | ||
| 5 | IP_PROCTYPE | Call by reference | Type reference (TYPE) | SPIPROCTP | SPI: ID eines Prozesstypen | 20070802 | |||
| 6 | IP_THIS_RUN | Call by reference | Type reference (TYPE) | TIMESTAMPL | Zeitstempel aktueller Assemblerlauf | 20081125 | |||
| 7 | IP_UPDATE_OPEN | Call by reference | Type reference (TYPE) | SPIBOOL | Offene Instanzen aktualisieren | 20090316 | |||
| 8 | IS_PROCVAR | Call by reference | Type reference (TYPE) | SSPIPVKEY | 20070802 | ||||
| 9 | IT_PRGUID | Call by reference | Type reference (TYPE) | TSPIPRGUID | Tabelle mit Prozessinstanz GUIDs | 20070911 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler im Zugriff auf Administrationsdaten | 20070802 | ||
| 2 | Ausnahme aufgrund fehlender Berechtigung | 20070802 | ||
| 3 | Interne Ausnahme für Metastore-Prozess | 20070802 |
Method RESET_GROUP Signature
Method RESET_GROUP on class CL_SPI_AS_ASSEMBLER has no parameter.
Method RESET_GROUP on class CL_SPI_AS_ASSEMBLER has no exception.
Method SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_WRITE_DB | Call by reference | Type reference (TYPE) | SPIFLAG | Kennzeichen: Auf DB persistieren | 20020919 |
Method SAVE on class CL_SPI_AS_ASSEMBLER has no exception.
Method SAVE_EVENTS Signature
Method SAVE_EVENTS on class CL_SPI_AS_ASSEMBLER has no parameter.
Method SAVE_EVENTS on class CL_SPI_AS_ASSEMBLER has no exception.
Method WRITE_ASSEMBLER_DATA Signature
Method WRITE_ASSEMBLER_DATA on class CL_SPI_AS_ASSEMBLER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler im Zugriff auf Administrationsdaten | 20021121 | ||
| 2 | Ausnahme aufgrund fehlender Berechtigung | 20021121 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 630 |