SAP ABAP Class CL_SWF_RUN_WFM_ADMIN_RESTART (WF Runtime: Restart Flows with Errors)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-BMT-WFM (Application Component) SAP Business Workflow
     SWP (Package) Business Workflow: Processor
Properties
Class CL_SWF_RUN_WFM_ADMIN_RESTART  
Short Description WF Runtime: Restart Flows with Errors    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SWP   Business Workflow: Processor 
Created 20011023   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 SWFCO Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 SWP1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_SWF_RUN_WFM_ADMIN_RESTART has no interface implemented.
Friends
Class CL_SWF_RUN_WFM_ADMIN_RESTART has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_CLASSNAME Constant Private Type reference (TYPE) CHAR40 'CL_SWF_RUN_WFM_ADMIN_RESTART' Class Name 20011212
2 C_NEVER_IN_BACKGROUND Constant Private Type reference (TYPE) XFLAG SPACE New input values 20011025
3 MT_ALL_WIS Static Attribute Private Type reference (TYPE) SWWTWIEXLT Workflow Runtime: Header Table for All Work Item Types 20011023
4 MT_BATCHITEMS_TO_EXECUTE Static Attribute Private Type reference (TYPE) SWWTWIEXLT Workflow: List of Work Items 20011113
5 MT_BLOCKS_TO_RESTART Static Attribute Private Type reference (TYPE) SWWTWIEXLT Workflow: List of Work Items 20080829
6 MT_FIS_TO_RESTART Static Attribute Private Type reference (TYPE) SWWTWIEXLT Workflow: List of Work Items 20040309
7 MT_FLOWS Static Attribute Private Type reference (TYPE) SWWTWIEXLT List of All Flows 20011205
8 MT_SUSPENDED_WIS Static Attribute Private Type reference (TYPE) SWPTSUSPEN WFM: Table Type for SWP_SUSPEN 20011023
9 MT_USED_SUSPENDS Static Attribute Private Type reference (TYPE) SWPTSUSPEN Suspended WIs for which a restart has been executed 20011030
10 MT_WIS_FOR_CALLBACK Static Attribute Private Type reference (TYPE) SWWTWIEXLT Workflow: Table with Work Items 20011024
11 MT_WIS_TO_RESTART Static Attribute Private Type reference (TYPE) SWWTWIEXLT Workflow: Table with Work Items 20011024
12 M_AUTHORITY_CHECK Static Attribute Private Type reference (TYPE) XFLAG SPACE New input values 20011210
13 M_FORCED_RESTART Static Attribute Private Type reference (TYPE) XFLAG 'X' Restart Independent of Status 20011026
14 M_TOP_LEVEL_WF Static Attribute Private Type reference (TYPE) SWW_WIID Work Item ID 20011029
15 M_TRANSACTION Static Attribute Private Object reference (TYPE REF TO) IF_SWF_UTL_TRANSACTION Workflow: Transaction 20011024
16 M_WF_ID Static Attribute Private Type reference (TYPE) SWWWIHEAD-WI_ID Work Item ID 20011026
Methods
# Method Level Visibility Method type Description Created on
1 ANALYSE_DATA Static method Private Method Controls Callback(s) 20011023
2 AUTHORITY_CHECK Static method Private Method Execute authorization check 20011207
3 CHECK_WI_SUCCESSOR Static method Public Method Checks whether work item has a successor 20060906
4 CLEAR_ALL_TABLES Static method Private Method Deletes All Tables of the Class 20011116
5 COMMIT_WORK Static method Private Method Gets Commit Work Control and Executes Commit 20011024
6 DB_COMMIT Static method Private Method DB Commit (not used at present) 20011024
7 DELETE_SWP_SUSPEN Static method Private Method Delete Non-Entries in Suspend Table 20011030
8 DEQUEUE_ALL Static method Private Method Unlock Work Item Data 20011023
9 ENQUEUE_ALL Static method Private Method Lock Work Item Data 20011023
10 EXECUTE_BATCH_ITEMS Static method Private Method Execution of Hanging Background Steps 20011113
11 EXECUTE_CALLBACKS Static method Private Method Executes Callback 20011023
12 FIND_SUCCESSOR Static method Private Method Checks whether work item has a successor and specifies it 20060906
13 GET_DATA Static method Private Method Read Data 20011023
14 GET_TRANSACTION Static method Private Method Creates Transaction Object (Without Commit Work Control) 20011023
15 LEAVE_TRANSACTION Static method Private Method Destroys Transaction Object 20011023
16 LOOK_FOR_INCONSISTENT_WIS Static method Private Method Search for Inconsistent Work Items 20011204
17 LOOK_FOR_WIS_WITHOUT_CB_FLAG Static method Private Method Search for WIs with status COMPLETED where CB flat not set 20011204
18 RESTART_ITEMS Static method Private Method Sets WIs from Error to Started 20011023
19 RESTART_WORKFLOW Static method Public Method Restart Top-Level Flows with Status 'Error' 20011029
20 ROLLBACK Static method Private Method Rollback (not used at present) 20011023
21 WRITE_LOG_ENTRY Static method Private Method Writes Log Entry 20011210
Events
Class CL_SWF_RUN_WFM_ADMIN_RESTART has no event.
Types
Class CL_SWF_RUN_WFM_ADMIN_RESTART has no local type.
Method Signatures

Method ANALYSE_DATA Signature

Method ANALYSE_DATA on class CL_SWF_RUN_WFM_ADMIN_RESTART has no parameter.
# Exception Resumable Description Created on
1 CX_SWF_IFS_EXCEPTION Ausnahme im WIM 20011115

Method AUTHORITY_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_EXCEPTION Call by reference Object reference (TYPE REF TO) CX_SWF_IFS_EXCEPTION Workflow Ausnahme 20011207
2 Importing IM_WI_HEADER Call by reference Type reference (TYPE) SWWWIHEAD Workflow Runtime: Kopftabelle für alle Workitemtypen 20011207

Method AUTHORITY_CHECK on class CL_SWF_RUN_WFM_ADMIN_RESTART has no exception.

Method CHECK_WI_SUCCESSOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_SUCC_CMP Call by reference Type reference (TYPE) SWPCMPGUID Komponente, durch die erkannt wurde, dass Nachfolger vorh. 20060906
2 Exporting EX_SUCC_FOUND Call by reference Type reference (TYPE) XFLAG 'X' falls Nachfolger gefunden 20060906
3 Exporting EX_SUCC_WI Call by reference Type reference (TYPE) SWW_WIID Workitem, durch das erkannt wurde, dass Nachfolger vorhanden 20060906
4 Importing IM_WIID Call by reference Type reference (TYPE) SWW_WIID ID des zu prüfenden Workitems (derzeit nur Blöcke erlaubt) 20060906
# Exception Resumable Description Created on
1 CX_SWF_RUN_WIM Ausnahme im WIM 20060906

Method CLEAR_ALL_TABLES Signature

Method CLEAR_ALL_TABLES on class CL_SWF_RUN_WFM_ADMIN_RESTART has no parameter.
Method CLEAR_ALL_TABLES on class CL_SWF_RUN_WFM_ADMIN_RESTART has no exception.

Method COMMIT_WORK Signature

Method COMMIT_WORK on class CL_SWF_RUN_WFM_ADMIN_RESTART has no parameter.
Method COMMIT_WORK on class CL_SWF_RUN_WFM_ADMIN_RESTART has no exception.

Method DB_COMMIT Signature

Method DB_COMMIT on class CL_SWF_RUN_WFM_ADMIN_RESTART has no parameter.
Method DB_COMMIT on class CL_SWF_RUN_WFM_ADMIN_RESTART has no exception.

Method DELETE_SWP_SUSPEN Signature

Method DELETE_SWP_SUSPEN on class CL_SWF_RUN_WFM_ADMIN_RESTART has no parameter.
Method DELETE_SWP_SUSPEN on class CL_SWF_RUN_WFM_ADMIN_RESTART has no exception.

Method DEQUEUE_ALL Signature

Method DEQUEUE_ALL on class CL_SWF_RUN_WFM_ADMIN_RESTART has no parameter.
Method DEQUEUE_ALL on class CL_SWF_RUN_WFM_ADMIN_RESTART has no exception.

Method ENQUEUE_ALL Signature

Method ENQUEUE_ALL on class CL_SWF_RUN_WFM_ADMIN_RESTART has no parameter.
# Exception Resumable Description Created on
1 CX_SWF_RUN_WIM Ausnahme im WIM 20011029

Method EXECUTE_BATCH_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_TXMGR Value transfer Object reference (TYPE REF TO) CL_SWF_RUN_TRANSACTION_MANAGER 20070419
# Exception Resumable Description Created on
1 CX_SWF_RUN_WIM Ausnahme im WIM 20031124

Method EXECUTE_CALLBACKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_EXCEPTION Value transfer Object reference (TYPE REF TO) CX_SWF_IFS_EXCEPTION Workflow Ausnahme 20011030
# Exception Resumable Description Created on
1 CX_SWF_IFS_EXCEPTION Ausnahme im WIM 20011114

Method FIND_SUCCESSOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_SUCC_CMP Call by reference Type reference (TYPE) SWPCMPGUID Komponente, durch die erkannt wurde, dass Nachfolger vorh. 20060906
2 Exporting EX_SUCC_FOUND Call by reference Type reference (TYPE) XFLAG 'X' falls Nachfolger sicher gefunden 20060906
3 Exporting EX_SUCC_WI Call by reference Type reference (TYPE) SWW_WIID Workitem, durch das erkannt wurde, dass Nachfolger vorhanden 20060906
4 Importing IM_DEFLINES Call by reference Type reference (TYPE) SWDTSLINES Definitions-Kanten 20060906
5 Importing IM_DEFNODES Call by reference Type reference (TYPE) SWDTSNODES Definitions-Knoten 20060906
6 Importing IM_FLOWITEM Call by reference Object reference (TYPE REF TO) IF_SWF_RUN_WIM_INTERNAL Workflow zu dem Workitem 20060906
7 Importing IM_SWPNODE Call by reference Type reference (TYPE) SWPNODET Laufzeitknoten SWPNODE 20060906
8 Importing IM_SWP_NODEWI Call by reference Type reference (TYPE) SWP_NODES_TO_WIS Laufzeitknoten SWP_NODEWI 20060906
9 Importing IM_WORKITEM Call by reference Object reference (TYPE REF TO) IF_SWF_RUN_WIM_INTERNAL Zu untersuchendes Workitem (derzeit nur Blöcke erlaubt!) 20060906

Method FIND_SUCCESSOR on class CL_SWF_RUN_WFM_ADMIN_RESTART has no exception.

Method GET_DATA Signature

Method GET_DATA on class CL_SWF_RUN_WFM_ADMIN_RESTART has no parameter.
# Exception Resumable Description Created on
1 CX_SWF_IFS_EXCEPTION Ausnahme im WIM 20011115

Method GET_TRANSACTION Signature

Method GET_TRANSACTION on class CL_SWF_RUN_WFM_ADMIN_RESTART has no parameter.
# Exception Resumable Description Created on
1 CX_SWF_IFS_EXCEPTION Ausnahme im WIM 20011115

Method LEAVE_TRANSACTION Signature

Method LEAVE_TRANSACTION on class CL_SWF_RUN_WFM_ADMIN_RESTART has no parameter.
Method LEAVE_TRANSACTION on class CL_SWF_RUN_WFM_ADMIN_RESTART has no exception.

Method LOOK_FOR_INCONSISTENT_WIS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_WORKITEM_FOR_CALLBACK Call by reference Type reference (TYPE) XFLAG neue Eingabewerte 20011212
2 Importing IM_NODELOG Call by reference Type reference (TYPE) SWW_FI_NODELOG_ARC 20011205
3 Importing IM_STEPLOG Call by reference Type reference (TYPE) SWW_FI_STEPLOG_ARC 20011205
4 Importing IM_WF Value transfer Type reference (TYPE) SWP1_WORKFLOW 20011205
5 Importing IM_WORKITEM Call by reference Type reference (TYPE) SWWWIEXLST 20011205

Method LOOK_FOR_INCONSISTENT_WIS on class CL_SWF_RUN_WFM_ADMIN_RESTART has no exception.

Method LOOK_FOR_WIS_WITHOUT_CB_FLAG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_WORKITEM_FOR_CALLBACK Call by reference Type reference (TYPE) XFLAG neue Eingabewerte 20011212
2 Importing IM_WORKITEM Call by reference Type reference (TYPE) SWWWIEXLST 20011205

Method LOOK_FOR_WIS_WITHOUT_CB_FLAG on class CL_SWF_RUN_WFM_ADMIN_RESTART has no exception.

Method RESTART_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_TXMGR Call by reference Object reference (TYPE REF TO) CL_SWF_RUN_TRANSACTION_MANAGER 20070419
# Exception Resumable Description Created on
1 CX_SWF_IFS_EXCEPTION Ausnahme im WIM 20011115

Method RESTART_WORKFLOW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_EXCEPTION Value transfer Object reference (TYPE REF TO) CX_SWF_IFS_EXCEPTION Workflow Ausnahme 20011029
2 Importing IM_AUTHORITY_CHECK Value transfer Type reference (TYPE) XFLAG SPACE neue Eingabewerte 20011210
3 Importing IM_FORCED_RESTART Value transfer Type reference (TYPE) XFLAG 'X' neue Eingabewerte 20011029
4 Importing IM_WF_ID Value transfer Type reference (TYPE) SWWWIHEAD-WI_ID Workitem-Kennung 20011029

Method RESTART_WORKFLOW on class CL_SWF_RUN_WFM_ADMIN_RESTART has no exception.

Method ROLLBACK Signature

Method ROLLBACK on class CL_SWF_RUN_WFM_ADMIN_RESTART has no parameter.
Method ROLLBACK on class CL_SWF_RUN_WFM_ADMIN_RESTART has no exception.

Method WRITE_LOG_ENTRY Signature

Method WRITE_LOG_ENTRY on class CL_SWF_RUN_WFM_ADMIN_RESTART has no parameter.
Method WRITE_LOG_ENTRY on class CL_SWF_RUN_WFM_ADMIN_RESTART has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 620