SAP ABAP Function Module SWP_WORKFLOW_ITEM_CANCEL (WFM(friends): Abbrechen WI / WF)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-BMT-WFM (Application Component) SAP Business Workflow
     SWP (Package) Business Workflow: Processor
Basic Data
Function Module SWP_WORKFLOW_ITEM_CANCEL WFM(friends): Abbrechen WI / WF  
Function Group SWP1   WFM: Processor  
Program Name SAPLSWP1    
INCLUDE Name LSWP1U24    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Changing WF TYPE SWP1_WORKFLOW
Exporting WI_STATUS TYPE SWWWIHEAD-WI_STAT ID of a work/flow item in a workflow
Importing WI_ID TYPE SWWWIHEAD-WI_ID ID of a work/flow item in a workflow
Importing WI_HEADER TYPE SWWWIHEAD Header data of work item to be cancelled (optional)
Importing WF_ID TYPE SWWWIHEAD-WI_ID Workflow ID
Importing DO_COMMIT TYPE SWWCOMMIT-COMMITFLAG SPACE 'X' falls FB Commit am Ende Commit aufrufen soll
Importing DO_SYNCHRONOUS_CALL TYPE SWWCOMMIT-SYNCFLAG SPACE 'X' if FM (and sub-FMs) are to be executed synch.
Exception WI_HEADER_READ_FAILED TYPE Work item header data could not be read
Exception WI_STATUS_CHANGE_FAILED TYPE Status transition after WI_Status_Cancelled not OK
Exception WI_FIND_DEPENDENTS_FAILED TYPE Search for child WIs in sub-WF failed
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  19950807 
SAP Release Created in