cancel
Showing results for 
Search instead for 
Did you mean: 

Cancel already completed workflow

a_figueredo
Explorer
0 Kudos

Hi all,

We have a completed workflow in our environment that was only for testing purposes.

Now, it appears in different reports and we would need to delete it in order to avoid confussions.

All options we have tried (FM to change status, logically deletion..) are only valid for open workflows, but as I said, our workflow was already completed.

Is there any option to change the status from "Complete" to "Cancelled"?

Thanks a lot,

Kr,

Agustín.

Accepted Solutions (1)

Accepted Solutions (1)

anjan_paul
Active Contributor
0 Kudos

Hi,

Try fm SAP_WAPI_WORKITEM_COMPLETE

Answers (3)

Answers (3)

Former Member

Hi,

There is something called Archiving.

You can archive the workitems which are in Completed status, so that those will not be seen in you log anymore. This also improves performance and avoid confusion for you also .

Please refer this link on how to Archive Workflows

https://blogs.sap.com/2016/03/07/how-to-archive-workflows/

former_member186746
Active Contributor

Hi,

Well normally you don't delete workitems, but in this case it might make sense, provided that the test did not change/create master data. Because if that happened then you might have an audit issue.

You can also create filters on your reports.

Transaction SWWL was created to delete workitems

Kind regards, Rob Dielemans

a_figueredo
Explorer
0 Kudos

Workflow deleted with FM:

SAP_WAPI_WORKITEM_DELETE

Kr,

Agistín