Skip to Content

Cancel already completed workflow

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Feb 03, 2017 at 07:57 AM
    -1

    Hi,

    Try fm SAP_WAPI_WORKITEM_COMPLETE

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 31, 2017 at 03:32 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 19, 2017 at 01:34 PM

    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/

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 30, 2017 at 01:32 PM

    Workflow deleted with FM:

    SAP_WAPI_WORKITEM_DELETE

    Kr,

    Agistín

    Add comment
    10|10000 characters needed characters exceeded