SAP ABAP Class CL_SPI_AS_DISPATCHER (Dispatcher for Process Assembler)
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_DISPATCHER  
Short Description Dispatcher for Process Assembler    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class SPI3    
Program status P  SAP Standard Production Program 
Category 0   
Package SPI3   Central: Process Store and Assembler 
Created 20030203   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_AS_DISPATCHER has no interface implemented.
Friends
Class CL_SPI_AS_DISPATCHER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GO_PROCESS Instance attribute Private Object reference (TYPE REF TO) CL_SPI_CU_PROCESS Reference to Metadata 20031120
2 GO_PROTOCOL Instance attribute Private Object reference (TYPE REF TO) CL_SPI_SELF_MONITOR 20030728
3 GS_PROCESS_VARIANT Instance attribute Private Type reference (TYPE) SSPIPVKEY 20031120
4 GT_BDF_STATUS Instance attribute Private Type reference (TYPE) TSPIADMEVBDF Assembler: BDF Statistics 20101221
5 GT_CONTAINER Instance attribute Private Type reference (TYPE) TT_XSTRING 20030218
6 GT_EXTRACTOR_STATUS Instance attribute Private Type reference (TYPE) TSPIEXSTAT Assembler: Extractor Statistics 20090716
7 GT_LOAD_STATUS Instance attribute Private Type reference (TYPE) TT_LOAD_STATUS 20040721
8 GT_LOAD_STEPS Instance attribute Private See coding Loaded Steps 20030404
9 GT_STEP_CNT_ASSIGNED Instance attribute Private Type reference (TYPE) TSPIASSTAT Statistical Data Assembler 20100322
10 GT_STEP_CNT_LOADED Instance attribute Private Type reference (TYPE) TSPIASSTAT Statistical Data Assembler 20100322
11 GT_TASKLIST Instance attribute Private See coding 20030203
12 G_EXCP_FLAG Instance attribute Private Type reference (TYPE) SPIFLAG 20030203
13 G_JOBS Instance attribute Private Type reference (TYPE) I 0 20030203
14 G_JOBS_TR Instance attribute Private Type reference (TYPE) I 0 20030428
15 G_LAST_RUN Instance attribute Private Type reference (TYPE) TIMESTAMPL UTC time stamp in long form (YYYYMMDDhhmmssmmmuuun) 20030218
16 G_MAX_JOBS Instance attribute Private Type reference (TYPE) I 3 20030203
17 G_MAX_JOBS_INIT Instance attribute Private Type reference (TYPE) I 3 20101209
18 G_MAX_TRS Instance attribute Private Type reference (TYPE) INT4 Maximum Number of TRs to Be Loaded 20100510
19 G_PREPARED Instance attribute Private Type reference (TYPE) SPIBOOL Global SPI: Boolean Value 20030218
20 G_PROCTP Instance attribute Private Type reference (TYPE) SPIPROCTP SPI: Process Type ID 20030218
21 G_PROCTP22 Static Attribute Private See coding 20030218
22 G_RCV_JOBS Instance attribute Private Type reference (TYPE) I 0 20030203
23 G_RCV_JOBS_TR Instance attribute Private Type reference (TYPE) I 0 20030428
24 G_SEQUENT Instance attribute Private Type reference (TYPE) SPIFLAG Flag: Sequential Processing Permitted 20030218
25 G_SHM Static Attribute Private Type reference (TYPE) SPIBOOL SPI_FALSE Use Shared Memory 20040226
26 G_SHOW_LOG Instance attribute Private Type reference (TYPE) SPIFLAG Flag: Issue Log 20030702
27 G_SND_JOBS Instance attribute Private Type reference (TYPE) I 0 20030203
28 G_SND_JOBS_TR Instance attribute Private Type reference (TYPE) I 0 20030428
29 G_SRVGRP Instance attribute Private Type reference (TYPE) RZLLITAB-CLASSNAME SPACE Logon/Server Group Name 20030203
30 G_TASK_COUNT Instance attribute Private See coding '0001' 20030203
31 G_THIS_RUN Instance attribute Private Type reference (TYPE) TIMESTAMPL Timestamp of current assembler run 20030219
32 G_TIMEOUT Instance attribute Private Type reference (TYPE) TIMESTAMPL Timeout for Processes (Maximum Duration of Process) 20030218
33 G_TOTAL Instance attribute Private Type reference (TYPE) I 20030203
34 G_TOTAL_STEPS Instance attribute Private Type reference (TYPE) I 20030219
35 G_TOT_DEL Instance attribute Private Type reference (TYPE) I 20100510
36 G_TOT_INS Instance attribute Private Type reference (TYPE) I 20100510
37 G_TOT_REJ Instance attribute Private Type reference (TYPE) I 20100510
38 G_TOT_UPD Instance attribute Private Type reference (TYPE) I 20100510
Methods
# Method Level Visibility Method type Description Created on
1 ADAPT_PERIOD Instance method Private Method Adapt Assembler Period to Data Volume 20100510
2 AFTER_JOB_FINISHED_ASS Instance method Private Method Asynchronous Job Ended 20030428
3 AFTER_JOB_FINISHED_TR Instance method Private Method Asynchronous Job Ended 20030428
4 AFTER_JOB_STARTED_ASS Instance method Private Method After Start of Job 20030428
5 AFTER_JOB_STARTED_TR Instance method Private Method After Start of Job 20030428
6 ASSEMBLER_RETURNED Instance method Public Method Callback for asynchronous call 20030218
7 ASS_WRITE_STATISTIC Instance method Private Method Assembly Statistics 20030218
8 CHECK_ASSIGNMENT_LOADED_STEPS Instance method Private Method Checks if all loaded steps are already assigned 20100322
9 CHECK_SERVER_GROUP Instance method Private Method Check Resources 20030203
10 CLEAN_GLOB_DATA Instance method Private Method Clean Up Global Data After Adapt_Period 20100510
11 CONSTRUCTOR Instance method Public Constructor Constructor 20030219
12 CONVERT_GUID Instance method Private Method 20030203
13 DISPATCH_NEW Instance method Private Method Load New Processes and Assemble Asynchronously 20030218
14 DISPATCH_OPEN Instance method Private Method Load Open Processes and Assemble Asynchronously 20030218
15 DSP_WRITE_STATISTIC Instance method Private Method Statistics for Open and New Processes 20030305
16 GET_STEP_DESCRIPTION Instance method Private Method 20031110
17 GET_TP_STEP_DESCRIPTION Instance method Private Method Get Step Name for Top Process Step 20090716
18 LOAD_RECORDS_ASYNCH Instance method Private Method Loads Tracking Records into Memory 20030219
19 LOAD_RECORDS_RETURNED Instance method Public Method Callback for asynchronous call 20030203
20 MAIN_1 Static method Public Method Start Dispatcher 20030218
21 START_ASSEMBLER_ASYNCH Instance method Private Method 20030218
22 TR_WRITE_STATISTIC Instance method Private Method Statistics for Tracking Record Data 20030305
Events
Class CL_SPI_AS_DISPATCHER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_TASKLIST Private See coding 20030203 BEGIN OF ts_tasklist, job TYPE spiasjob, compl type spibool, subrc type i, errtxt type string, server TYPE rfcdest, ins TYPE i, upd TYPE i, del type i, rej type i, jobcnt(3) type n, stepid TYPE spiprstid, steps TYPE tspiasstat, shown type spibool, END OF ts_tasklist
2 TT_TASKLIST Private See coding 20030305 tt_tasklist type table of ts_tasklist
3 TT_XSTRING Private See coding 20030218 tt_xstring TYPE TABLE OF xstring
Method Signatures

Method ADAPT_PERIOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_THIS_RUN Call by reference Type reference (TYPE) TIMESTAMPL UTC-Zeitstempel in Langform (JJJJMMTThhmmssmmmuuun) 20100510

Method ADAPT_PERIOD on class CL_SPI_AS_DISPATCHER has no exception.

Method AFTER_JOB_FINISHED_ASS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_ERRMSG Call by reference Type reference (TYPE) STRING 20071121
2 Importing IP_SEQUENTIAL Call by reference Type reference (TYPE) SPIBOOL SPI_FALSE $REF$ 20030428
3 Importing IP_SUBRC Call by reference Type reference (TYPE) I 0 Return Code des Jobs 20030428
4 Importing IP_TASKNAME Call by reference Type reference (TYPE) SPIASJOB Jobname für asynchrone Assembler Jobs 20030428
5 Importing IP_TOTAL Call by reference Type reference (TYPE) I 20030428
6 Importing IS_PROC_STAT Call by reference Type reference (TYPE) SSPIASSTAT Statistikdaten Assembler 20030428
7 Importing IS_STEP_STAT Call by reference Type reference (TYPE) SSPIASSTAT Statistikdaten Assembler 20030428
8 Importing IT_BDF_STAT Call by reference Type reference (TYPE) TSPIADMEVBDF Assembler: BDF-Statistiken 20101221
9 Importing IT_EXTRACT_STAT Call by reference Type reference (TYPE) TSPIEXSTAT Assembler: Extraktor-Statistiken 20090715
10 Importing IT_STEP_STAT Call by reference Type reference (TYPE) TSPIASSTAT Statistikdaten Assembler 20030428

Method AFTER_JOB_FINISHED_ASS on class CL_SPI_AS_DISPATCHER has no exception.

Method AFTER_JOB_FINISHED_TR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_ERRMSG Call by reference Type reference (TYPE) STRING 20071121
2 Importing IP_SEQUENTIAL Call by reference Type reference (TYPE) SPIBOOL SPI_FALSE $REF$ 20030428
3 Importing IP_SUBRC Call by reference Type reference (TYPE) I 0 Return Code des Jobs 20030428
4 Importing IP_TASKNAME Call by reference Type reference (TYPE) SPIASJOB Jobname für asynchrone Assembler Jobs 20030428
5 Importing IP_TOTAL Call by reference Type reference (TYPE) I 20030428
6 Importing IS_PROC_STAT Call by reference Type reference (TYPE) SSPIASSTAT Statistikdaten Assembler 20030428
7 Importing IS_STEP_STAT Call by reference Type reference (TYPE) SSPIASSTAT Statistikdaten Assembler 20030428
8 Importing IT_STEP_STAT Call by reference Type reference (TYPE) TSPIASSTAT Statistikdaten Assembler 20030428

Method AFTER_JOB_FINISHED_TR on class CL_SPI_AS_DISPATCHER has no exception.

Method AFTER_JOB_STARTED_ASS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_TASKNAME Call by reference Type reference (TYPE) SPIASJOB Jobname für asynchrone Assembler Jobs 20030428

Method AFTER_JOB_STARTED_ASS on class CL_SPI_AS_DISPATCHER has no exception.

Method AFTER_JOB_STARTED_TR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_STEPID Call by reference Type reference (TYPE) SPIPRSTID SPI: ID eines Prozessschrittes 20040726
2 Importing IP_TASKNAME Call by reference Type reference (TYPE) SPIASJOB Jobname für asynchrone Assembler Jobs 20030428

Method AFTER_JOB_STARTED_TR on class CL_SPI_AS_DISPATCHER has no exception.

Method ASSEMBLER_RETURNED 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 Jobname für asynchrone Assembler Jobs 20030218

Method ASSEMBLER_RETURNED on class CL_SPI_AS_DISPATCHER has no exception.

Method ASS_WRITE_STATISTIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_INTERMEDIATE Call by reference Type reference (TYPE) SPIBOOL SPI_FALSE SPI Global: Boolscher Wert 20100510

Method ASS_WRITE_STATISTIC on class CL_SPI_AS_DISPATCHER has no exception.

Method CHECK_ASSIGNMENT_LOADED_STEPS Signature

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

Method CHECK_ASSIGNMENT_LOADED_STEPS on class CL_SPI_AS_DISPATCHER has no exception.

Method CHECK_SERVER_GROUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_SRVGRP Call by reference Type reference (TYPE) RZLLITAB-CLASSNAME SPACE Name einer Logon/Server-Gruppe 20030203
# Exception Resumable Description Created on
1 CX_SPI_AS Ausnahmeklasse Assembler 20030203

Method CLEAN_GLOB_DATA Signature

Method CLEAN_GLOB_DATA on class CL_SPI_AS_DISPATCHER has no parameter.
Method CLEAN_GLOB_DATA on class CL_SPI_AS_DISPATCHER has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_ALLOW_SEQUENTIAL Call by reference Type reference (TYPE) SPIFLAG SPI_ON SPI: Kennzeichen 20030219
2 Importing IP_LAST_RUN Call by reference Type reference (TYPE) TIMESTAMPL UTC-Zeitstempel in Langform (JJJJMMTThhmmssmmmuuun) 20030219
3 Importing IP_MAX_JOBS Call by reference Type reference (TYPE) I 10 20030219
4 Importing IP_MAX_NEW Call by reference Type reference (TYPE) I 50 20030219
5 Importing IP_MAX_OPEN Call by reference Type reference (TYPE) I 50 20030219
6 Importing IP_MAX_TRS Call by reference Type reference (TYPE) INT4 50000 Maximale Anzahl zu ladender Tracking Records 20100510
7 Importing IP_PROCTYPE Call by reference Type reference (TYPE) SPIPROCTP SPI: ID eines Prozesstypen 20030219
8 Importing IP_SERVER_GROUP Call by reference Type reference (TYPE) RZLLITAB-CLASSNAME SPACE Name einer Logon/Server-Gruppe 20030219
9 Importing IP_THIS_RUN Call by reference Type reference (TYPE) TIMESTAMPL UTC-Zeitstempel in Langform (JJJJMMTThhmmssmmmuuun) 20030219
10 Importing IP_TIMEOUT Call by reference Type reference (TYPE) TIMESTAMPL UTC-Zeitstempel in Langform (JJJJMMTThhmmssmmmuuun) 20030219
11 Importing IS_PROCVAR Call by reference Type reference (TYPE) SSPIPVKEY 20031119
# Exception Resumable Description Created on
1 CX_SPI_AS Ausnahmeklasse Assembler 20031120

Method CONVERT_GUID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_GUID Call by reference Type reference (TYPE) SPIGUID32 SPI: GUID der Länge 32 20030203
2 Returning RP_RESULT Value transfer Type reference (TYPE) SPIASJOB Jobname für asynchrone Assembler Jobs 20030203

Method CONVERT_GUID on class CL_SPI_AS_DISPATCHER has no exception.

Method DISPATCH_NEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_MAX_NEW Call by reference Type reference (TYPE) I 50 Neue Prozesse je asynchr. Job 20030219
# Exception Resumable Description Created on
1 CX_SPI_ADMIN Fehler im Zugriff auf Administrationsdaten 20030219
2 CX_SPI_AUTH Ausnahme aufgrund fehlender Berechtigung 20030219
3 CX_SPI_STATIC_CHECK Ausnahmen aufgrund Fehler in Metadaten 20030219

Method DISPATCH_OPEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_CMP_FIN Call by reference Type reference (TYPE) SPICMPFIN 20030411
2 Importing IP_MAX Call by reference Type reference (TYPE) I 50 Offene Prozesse je asynchr. Job 20030415
# Exception Resumable Description Created on
1 CX_SPI_ADMIN Fehler im Zugriff auf Administrationsdaten 20030219
2 CX_SPI_AUTH Ausnahme aufgrund fehlender Berechtigung 20030219
3 CX_SPI_STATIC_CHECK Ausnahmen aufgrund Fehler in Metadaten 20030219

Method DSP_WRITE_STATISTIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TASKLIST Call by reference Type reference (TYPE) TT_TASKLIST $REF$ 20030305

Method DSP_WRITE_STATISTIC on class CL_SPI_AS_DISPATCHER has no exception.

Method GET_STEP_DESCRIPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_STEPID Call by reference Type reference (TYPE) SPIPRSTID 20031110
2 Returning RESULT Value transfer Type reference (TYPE) STRING 20031110

Method GET_STEP_DESCRIPTION on class CL_SPI_AS_DISPATCHER has no exception.

Method GET_TP_STEP_DESCRIPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_TOPPROCESS Call by reference Object reference (TYPE REF TO) CL_SPI_CU_PROCESS Prozessdaten aus dem Customizing 20090826
2 Importing I_SIGNATURE Call by reference Type reference (TYPE) SPIAGSIGN SPI Global: Agentensignatur 20090716
3 Returning R_DESCRIPTION Value transfer Type reference (TYPE) STRING Schrittbezeichnung 20090716

Method GET_TP_STEP_DESCRIPTION on class CL_SPI_AS_DISPATCHER has no exception.

Method LOAD_RECORDS_ASYNCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CALLBACK_DEST Call by reference Type reference (TYPE) TSPISTRFCD Callback Destinationen für gepufferte Tracking Records 20030219
2 Importing IP_FIRST_STEP Call by reference Type reference (TYPE) SPIPRSTID ID des ersten Schritts 20030404
3 Importing IP_PROCTYPE Call by reference Type reference (TYPE) SPIPROCTP SPI: ID eines Prozesstypen 20030219
4 Importing IP_TIMEOUT Call by reference Type reference (TYPE) TIMESTAMPL Timeout für unvollst. Prozesse 20030219
# Exception Resumable Description Created on
1 CX_SPI_ADMIN Fehler im Zugriff auf Administrationsdaten 20030219
2 CX_SPI_AUTH Ausnahme aufgrund fehlender Berechtigung 20030219
3 CX_SPI_STATIC_CHECK Interne Ausnahme für Metastore-Prozess 20030219

Method LOAD_RECORDS_RETURNED 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 Jobname für asynchrone Assembler Jobs 20030203

Method LOAD_RECORDS_RETURNED on class CL_SPI_AS_DISPATCHER has no exception.

Method MAIN_1 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_ALLOW_SEQUENTIAL Call by reference Type reference (TYPE) SPIFLAG SPI_ON Kennzeichen: Sequentielle Assemblierung erlaubt 20030219
2 Importing IP_LAST_RUN Call by reference Type reference (TYPE) TIMESTAMPL Zeitstempel: Letzter Assemblerlauf 20030219
3 Importing IP_MAX_JOBS Call by reference Type reference (TYPE) I 10 Max. Anz. parallele Jobs 20030218
4 Importing IP_MAX_NEW Call by reference Type reference (TYPE) I 50 Neue Prozesse je asynchr. Job 20030218
5 Importing IP_MAX_OLD Call by reference Type reference (TYPE) I 50 Alte Prozesse je asynchr. Job 20030415
6 Importing IP_MAX_TRS Call by reference Type reference (TYPE) INT4 50000 Max. Anzahl zu verarbeitender Tracking R's pro intern. Lauf 20100510
7 Importing IP_ONLY_OPEN Call by reference Type reference (TYPE) SPIBOOL SPI_TRUE Nur offene Prozesse berücksichtigen 20030415
8 Importing IP_PROCTYPE Call by reference Type reference (TYPE) SPIPROCTP SPI: ID eines Prozesstypen 20030218
9 Importing IP_SERVER_GROUP Call by reference Type reference (TYPE) RZLLITAB-CLASSNAME SPACE Name einer Logon/Server-Gruppe 20030219
10 Importing IP_SHOW_LOG Call by reference Type reference (TYPE) SPIFLAG SPI_OFF Protokoll ausgeben 20030702
11 Importing IP_THIS_RUN Call by reference Type reference (TYPE) TIMESTAMPL Zeitstempel: Letzter Assemblerlauf 20030219
12 Importing IP_TIMEOUT Call by reference Type reference (TYPE) TIMESTAMPL Zeitstempel: Prozesse berücksichtigen 20030218
13 Importing IS_PROCVAR Call by reference Type reference (TYPE) SSPIPVKEY 20031119
# Exception Resumable Description Created on
1 CX_SPI_AS Ausnahmeklasse Assembler 20031120

Method START_ASSEMBLER_ASYNCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_FIRST_STEP Call by reference Type reference (TYPE) SPIPRSTID ID des ersten Schritts 20030404
# Exception Resumable Description Created on
1 CX_SPI_ADMIN Fehler im Zugriff auf Administrationsdaten 20030218
2 CX_SPI_AS Ausnahmeklasse Assembler 20030218
3 CX_SPI_AUTH Ausnahme aufgrund fehlender Berechtigung 20030218
4 CX_SPI_STATIC_CHECK Ausnahmen aufgrund Fehler in Metadaten 20030218

Method TR_WRITE_STATISTIC Signature

Method TR_WRITE_STATISTIC on class CL_SPI_AS_DISPATCHER has no parameter.
Method TR_WRITE_STATISTIC on class CL_SPI_AS_DISPATCHER has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 730