SAP ABAP Class /SRMERP/CL_WF_PROCESS_MGR_SBWF (Facade with static service methods)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-PUR-SSP (Application Component) Self-Service Procurement
     /SRMERP/WF_FACADE_SBWF (Package) Facades for SAP Business Workflow
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  /SRMERP/IF_WF_PROCESS_C Constants for SRM Workflow Engine 20100519
2 Interface implementation (CLASS c. INTERFACES i_ref)  BI_OBJECT Business Instance 20100518
3 Interface implementation (CLASS c. INTERFACES i_ref)  BI_PERSISTENT Persistent Business Instance 20100518
4 Interface implementation (CLASS c. INTERFACES i_ref)  IF_WORKFLOW Business Workflow 20100518
Properties
Class /SRMERP/CL_WF_PROCESS_MGR_SBWF  
Short Description Facade with static service methods    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /SRMERP/WF_FACADE_SBWF   Facades for SAP Business Workflow 
Created 20100518   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 /SRMERP/IF_WF_PROCESS_C Constants for SRM Workflow Engine 20100519
2 BI_OBJECT Business Instance 20100518
3 BI_PERSISTENT Persistent Business Instance 20100518
4 IF_WORKFLOW Business Workflow 20100518
Friends
Class /SRMERP/CL_WF_PROCESS_MGR_SBWF has no friend class.
Attributes
Class /SRMERP/CL_WF_PROCESS_MGR_SBWF has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 BIND_TO_PROCESS Static method Public Method Initializes a Process Instance (Background WFL Task) 20100518
2 CREATE_DECISION_SETS Static method Public Method Creates decision sets according to given process level. 20100518
3 DELETE_ITEM Static method Public Method Marks the given items as deleted. 20100518
4 EVALUATE_CURRENT_PROCESS_LEVEL Static method Public Method Evaluates the current process level. 20100518
5 FINISH_PROCESS Static method Public Method Called by the SBWFL as closing step of the workflow. 20100518
6 GET_CURRENT_DECISION Static method Public Method Returns the approval decision for the current process level 20100518
7 GET_CURRENT_PROCESS_LEVEL Static method Public Method Returns the current process level incl. validation result. 20100518
8 GET_DATE_TIME Static method Private Method calculate date and time of deadline 20100518
9 GET_DEADLINES Static method Public Method Retrieve deadlines from event framework 20100518
10 GET_LEVEL_DECISION_STATUS Static method Public Method Returns the approval decision for the current process level 20100518
11 GET_LEVEL_REJECTED_ITEMS Static method Public Method Retrieves the rejected items for the given document. 20100518
12 GET_NEXT_PROCESS_LEVEL Static method Public Method Returns the next process level incl. validation result. 20100518
13 GET_PROCESS_DECISION_STATUS Static method Public Method Returns the approval decision for the current process level 20100518
14 GET_SYSTEM_DECISION_SET_OID Static method Private Method Returns the OID of the system decision set 20100518
15 HANDLE_PARTIALLY_REJECTED_ITMS Static method Public Method Handle partially rejected items in a decision set 20100930
16 NEXT_PROCESS_LEVEL Static method Public Method Requests the process to move to the next process level 20100518
17 REINITIALIZE_PROCESS Static method Public Method Reinitialize Process for Restart 20100518
18 RESTART_PROCESS_LEVEL Static method Public Method Requests a restart of the current level 20100518
19 SET_PROCESS_LEV Static method Public Method Set Process Level Status (Start,Finish). 20100518
20 SYSTEM_DECISION Static method Public Method Sets and propagates decsion for complete decision set 20100518
21 WORKITEM_EXECUTE Static method Public Method Method called from SAP Business workflow for user activities 20100518
Events
Class /SRMERP/CL_WF_PROCESS_MGR_SBWF has no event.
Types
Class /SRMERP/CL_WF_PROCESS_MGR_SBWF has no local type.
Method Signatures

Method BIND_TO_PROCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_PROCESS_INSTANCE Call by reference Object reference (TYPE REF TO) /SRMERP/CL_WF_PROCESS_SBWF Interface of SRM Process Instance 20100518
2 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID Identification (PD-Org. ID) of workflow agent 20100518
3 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY Globally Unique Identifier 20100716
4 Importing IV_WORKFLOW_ID Call by reference Type reference (TYPE) SWW_WIID Work item ID 20100518
# Exception Resumable Description Created on
1 CX_BO_ABORT Abort Bus. Exception: Rollback erforderlich 20100518
2 CX_BO_APPLICATION Application Bus. Exception 20100518
3 CX_BO_TEMPORARY Temporary Bus. Exception 20100518

Method CREATE_DECISION_SETS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DECISION_SET_REF Call by reference Type reference (TYPE) /SRMERP/T_WF_DECISIONSET_SBWF Table of References to /SAPSRM/IF_WF_DECISIONSET 20100518
2 Importing IV_PROCESS_GUID Call by reference Type reference (TYPE) /SRMERP/WF_PROCESS_GUID SRM Workflow Process GUID 20100518
# Exception Resumable Description Created on
1 CX_BO_ABORT Abort Bus. Exception: Rollback erforderlich 20100518
2 CX_BO_APPLICATION Application Bus. Exception 20100518
3 CX_BO_TEMPORARY Temporary Bus. Exception 20100518

Method DELETE_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ITEM_LIST Call by reference Type reference (TYPE) /SRMERP/T_WF_DOC_ITEM_GUID Table of removed Purchasing Document Item GUIDs. 20100518
2 Importing IT_ITEM_LIST Call by reference Type reference (TYPE) /SRMERP/T_WF_DOC_ITEM_GUID Table of Purchasing Document Item GUIDs 20100518
3 Importing IV_PROCESS_GUID Call by reference Type reference (TYPE) /SRMERP/WF_PROCESS_GUID SRM Workflow Process GUID 20100518
# Exception Resumable Description Created on
1 CX_BO_ABORT No data found 20100518
2 CX_BO_APPLICATION Application Bus. Exception 20100518
3 CX_BO_TEMPORARY Temporary Bus. Exception 20100518

Method EVALUATE_CURRENT_PROCESS_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PROCESS_GUID Call by reference Type reference (TYPE) /SRMERP/WF_PROCESS_GUID SRM Workflow Process GUID 20100518
2 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100518
# Exception Resumable Description Created on
1 CX_BO_ABORT Abort Bus. Exception: Rollback erforderlich 20100518
2 CX_BO_APPLICATION Application Bus. Exception 20100518
3 CX_BO_TEMPORARY Temporary Bus. Exception 20100518

Method FINISH_PROCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_WF_BO Call by reference Object reference (TYPE REF TO) /SRMERP/CL_WF_BO 20100518
2 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID Identification (PD-Org. ID) of workflow agent 20100518
3 Importing IV_PROCESS_STATUS Call by reference Type reference (TYPE) /SRMERP/WF_PROCESS_STATUS Final process status of document 20100518
# Exception Resumable Description Created on
1 CX_BO_ABORT Abort Bus. Exception: Rollback erforderlich 20100518
2 CX_BO_APPLICATION Application Bus. Exception 20100518
3 CX_BO_TEMPORARY Temporary Bus. Exception 20100518

Method GET_CURRENT_DECISION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DECISION Call by reference Type reference (TYPE) /SRMERP/WF_DECISION Status of a decision 20100518
2 Importing IV_PROCESS_GUID Call by reference Type reference (TYPE) /SRMERP/WF_PROCESS_GUID 20100518
# Exception Resumable Description Created on
1 CX_BO_ABORT Abort Bus. Exception: Rollback erforderlich 20100518
2 CX_BO_APPLICATION Application Bus. Exception 20100518
3 CX_BO_TEMPORARY Temporary Bus. Exception 20100518

Method GET_CURRENT_PROCESS_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_LEVEL_VALID Call by reference Type reference (TYPE) ABAP_BOOL 20100518
2 Importing IV_PROCESS_GUID Call by reference Type reference (TYPE) /SRMERP/WF_PROCESS_GUID SRM Workflow Process GUID 20100518
# Exception Resumable Description Created on
1 CX_BO_ABORT Abort Bus. Exception: Rollback erforderlich 20100518
2 CX_BO_APPLICATION Application Bus. Exception 20100518
3 CX_BO_TEMPORARY Temporary Bus. Exception 20100518

Method GET_DATE_TIME Signature

Method GET_DATE_TIME on class /SRMERP/CL_WF_PROCESS_MGR_SBWF has no parameter.
Method GET_DATE_TIME on class /SRMERP/CL_WF_PROCESS_MGR_SBWF has no exception.

Method GET_DEADLINES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_DEADLINES Value transfer Type reference (TYPE) /SRMERP/S_WF_DEADLINES Structure for the different deadline dates & times 20100518
2 Importing IV_DOCUMENT_GUID Value transfer Type reference (TYPE) /SRMERP/WF_DOCUMENT_GUID GUID of SRM purchasing document 20100518
3 Importing IV_DOCUMENT_TYPE Value transfer Type reference (TYPE) /SRMERP/WF_DOCUMENT_TYPE Object Type of SRM purchasing document 20100518
4 Importing IV_PROCESS_LEVEL_TYPE Call by reference Type reference (TYPE) /SRMERP/WF_PROCESS_LEVEL_TYPE Process Level Type 20100518
5 Importing IV_WORKITEM_ID Value transfer Type reference (TYPE) /SRMERP/WF_WORKITEM_ID Workitem identifier 20100518

Method GET_DEADLINES on class /SRMERP/CL_WF_PROCESS_MGR_SBWF has no exception.

Method GET_LEVEL_DECISION_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_LEVEL_DECISION Call by reference Type reference (TYPE) /SRMERP/WF_PROCESS_STATUS 20100518
2 Importing IV_PROCESS_GUID Call by reference Type reference (TYPE) /SRMERP/WF_PROCESS_GUID 20100518
# Exception Resumable Description Created on
1 CX_BO_ABORT Abort Bus. Exception: Rollback erforderlich 20100518
2 CX_BO_APPLICATION Application Bus. Exception 20100518
3 CX_BO_TEMPORARY Temporary Bus. Exception 20100518

Method GET_LEVEL_REJECTED_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ITEM_LIST Call by reference Type reference (TYPE) /SRMERP/T_WF_DOC_ITEM_GUID Table of Purchasing Document Item GUIDs 20100518
2 Importing IV_PROCESS_GUID Call by reference Type reference (TYPE) /SRMERP/WF_PROCESS_GUID 20100518
# Exception Resumable Description Created on
1 CX_BO_ABORT Abort Bus. Exception: Rollback erforderlich 20100518
2 CX_BO_APPLICATION Application Bus. Exception 20100518
3 CX_BO_TEMPORARY Temporary Bus. Exception 20100518

Method GET_NEXT_PROCESS_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IS_LAST Call by reference Type reference (TYPE) ABAP_BOOL 20100518
2 Exporting EV_LEVEL_VALID Call by reference Type reference (TYPE) ABAP_BOOL 20100518
3 Exporting EV_WORKFLOW_TASK_ID Call by reference Type reference (TYPE) SWD_STEP_T Task abbreviation 20100518
4 Exporting EV_WORKFLOW_TEMPLATE_ID Call by reference Type reference (TYPE) SWD_STEP_T Task abbreviation 20100518
5 Importing IV_PROCESS_GUID Call by reference Type reference (TYPE) /SRMERP/WF_PROCESS_GUID SRM Workflow Process GUID 20100518
# Exception Resumable Description Created on
1 CX_BO_ABORT Abort Bus. Exception: Rollback erforderlich 20100518
2 CX_BO_APPLICATION Application Bus. Exception 20100518
3 CX_BO_TEMPORARY Temporary Bus. Exception 20100518

Method GET_PROCESS_DECISION_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_STATUS Call by reference Type reference (TYPE) /SRMERP/WF_PROCESS_STATUS 20100518
2 Importing IV_PROCESS_GUID Call by reference Type reference (TYPE) /SRMERP/WF_PROCESS_GUID GUID of SRM purchasing document 20100518
# Exception Resumable Description Created on
1 CX_BO_ABORT Abort Bus. Exception: Rollback erforderlich 20100518
2 CX_BO_APPLICATION Application Bus. Exception 20100518
3 CX_BO_TEMPORARY Temporary Bus. Exception 20100518

Method GET_SYSTEM_DECISION_SET_OID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY Key of the related document subset 20100716
2 Returning RV_OID Value transfer Type reference (TYPE) OS_GUID Globally Unique Identifier 20100518
# Exception Resumable Description Created on
1 /SRMERP/CX_WF_NOT_FOUND 20100518

Method HANDLE_PARTIALLY_REJECTED_ITMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_DECISION_SET_REF Call by reference Object reference (TYPE REF TO) /SRMERP/CL_WF_DSET_SBWF Workflow Decision Set 20100930
2 Importing IO_WF_BO Call by reference Object reference (TYPE REF TO) /SRMERP/CL_WF_BO Business Object Wrapper 20100930
3 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID Identification (PD-Org. ID) of Workflow Agent 20100930
# Exception Resumable Description Created on
1 CX_BO_ABORT Abort Business Exception: Rollback Required 20100930
2 CX_BO_APPLICATION Application Business Exception 20100930
3 CX_BO_TEMPORARY Temporary Business Exception 20100930

Method NEXT_PROCESS_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_WORKFLOW_TASK_ID Call by reference Type reference (TYPE) SWD_STEP_T Task abbreviation 20100518
2 Exporting EV_WORKFLOW_TEMPLATE_ID Call by reference Type reference (TYPE) SWD_STEP_T Task abbreviation 20100518
3 Importing IV_PROCESS_GUID Call by reference Type reference (TYPE) /SRMERP/WF_PROCESS_GUID SRM Workflow Process GUID 20100518
# Exception Resumable Description Created on
1 CX_BO_ABORT Abort Bus. Exception: Rollback erforderlich 20100518
2 CX_BO_APPLICATION Application Bus. Exception 20100518
3 CX_BO_TEMPORARY Temporary Bus. Exception 20100518

Method REINITIALIZE_PROCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PROCESS_GUID Call by reference Type reference (TYPE) /SRMERP/WF_PROCESS_GUID SRM Workflow Process GUID 20100518
# Exception Resumable Description Created on
1 CX_BO_ABORT Abort Bus. Exception: Rollback erforderlich 20100518
2 CX_BO_APPLICATION Application Bus. Exception 20100518
3 CX_BO_TEMPORARY Temporary Bus. Exception 20100518

Method RESTART_PROCESS_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PROCESS_GUID Call by reference Type reference (TYPE) /SRMERP/WF_PROCESS_GUID SRM Workflow Process GUID 20100518
2 Returning RV_COUNTER Value transfer Type reference (TYPE) /SRMERP/WF_STEP_COUNTER Number of iterations of a process level 20100518
# Exception Resumable Description Created on
1 CX_BO_ABORT Abort Bus. Exception: Rollback erforderlich 20100518
2 CX_BO_APPLICATION Application Bus. Exception 20100518
3 CX_BO_TEMPORARY Temporary Bus. Exception 20100518

Method SET_PROCESS_LEV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PROCESS_GUID Call by reference Type reference (TYPE) /SRMERP/WF_PROCESS_GUID SRM Workflow Process GUID 20100518
2 Importing IV_PROCESS_STATUS Call by reference Type reference (TYPE) /SRMERP/WF_PROCESS_LEVEL_STAT SRM WF process level status 20100518
# Exception Resumable Description Created on
1 CX_BO_ABORT Abort Bus. Exception: Rollback erforderlich 20100518
2 CX_BO_APPLICATION Application Bus. Exception 20100518
3 CX_BO_TEMPORARY Temporary Bus. Exception 20100518

Method SYSTEM_DECISION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID Identification (PD-Org. ID) of workflow agent 20100518
2 Importing IV_DECISION Call by reference Type reference (TYPE) /SRMERP/WF_DECISION Status of a decision 20100518
3 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY Key of the related document subset 20100716
4 Importing IV_WORKITEM_ID Call by reference Type reference (TYPE) /SRMERP/WF_WORKITEM_ID Workitem identifier 20100518
# Exception Resumable Description Created on
1 CX_BO_ABORT Abort Business Exception: Rollback Required 20100518
2 CX_BO_ERROR Error Business Exception 20100518
3 CX_BO_TEMPORARY Temporary Business Exception 20100518

Method WORKITEM_EXECUTE Signature

Method WORKITEM_EXECUTE on class /SRMERP/CL_WF_PROCESS_MGR_SBWF has no parameter.
Method WORKITEM_EXECUTE on class /SRMERP/CL_WF_PROCESS_MGR_SBWF has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 606