Skip to Content
0
Former Member
Jul 04, 2007 at 06:32 AM

How to delete or cancel a started workflow in ABAP?

2018 Views

Hi, gurus,

I'd like to know how to delete/cancel/stop a started workflow(with several steps and descions)?

is there any funciton module available ?

I found:

1. SWP_WORKFLOW_INSTANCE_DELETE

But I dont know what should be put into the import paramenter: WF_ID

2. SAP_WAPI_WORKITEM_DELETE

the problem is , i dont know what is the workitem id, because the workflow template may generate several workitme, runtime, i dont know which one is the the one that should be deleted.

Could you pls tell me what is the proper way to delete a started workflow template?

thanks and best regards.

Jun