How to Delete Documents in Workflow?

How to delete documents in workflow that are stuck there and old?

SWWL - Deletes work items 

SWW_SARA - Archive work items

You're best advised to use the 'delete logically' functionality:

SWWL will remove them entirely from the SAP database, which could be bad from an audit point of view. 

Isn't the real question more as to why those workitems are still in your inbox?

Surely, if the work is no longer needed, the workitem should have completed and hence disappeared. 

I'd be inclined to look into that first and foremost. 

Is there anyway to undelete work items in SAP workflow after I have logically deleted?

Well not exactly but you can restart the workflow using SWUE, it is same as creating the workflow but good thing is that it will start the point where it has logically deleted. 

If I delete a user through su01 then what all are the possible impacts on workflow. 

If WF cannot find the user (aka Agent) then it will set the Wf to error status and notify the WF administrator to take action. 

I've this work item in inbox. Item 00000 of purchasing document 0010414224 does.  How to delete it?

Goto tcode SWWL. Where you can view the list of workitem.  From there you can delete your workitem. 

Transaction SWWL is fine for an administrator, but is there any "delete" button within business workplace that the users can use to remove workitems from their inbox? 

NO! Of course not.   It's the whole idea. When a user has an item in his or hers inbox, he/she is expected to execute the item, because it's their job. 

Suppose I'm a user. And I have 20 workitems waiting for me to be processed. If I could delete all 20 of them and my manager executes workload analysis, or another tool for checking the workload of users, it would seem that I'm doing a great job. Where as in fact I'm probably destroying master data and upsetting clients. 

Delete workflow - RSWWWIDE not working

In development, I have hundreds of unneeded workflow tasks. Running program RSWWWIDE with my userid only displays items I have flagged as deleted. I want to delete the tasks that are in the "READY" state. 

The strange thing is, the report has a status parameter with "READY" as one of the options. But regardless of how I execute the report, only the items flagged for deletion appear. 

1. Is there a program that will delete the workflows without having to change the status? 

2. If not, is there a way to automatically change the status for my tasks to completed? I found a FM which might work, but it requires the task numbers, which I could not find in my inbox. 

Workflows that have not been opened, cannot be deleted with RSWWWIDE (even if you put an asterick in the status selection field). You must first open the workflow. You do not have to do anything with it, but it must have been opened prior to deletion. 

You can select multiple workflows at once, then hit the execute button. From there, just hit escape to go to the next one. 

After all the wf's have been opened the RSWWWIDE program works great! 

This is useful in development when you have many unprocessed wf's. 

SAP WorkFlow

See Also
Workflow of Purchase Requisition Release Strategy

Get help for your SAP WF problems 
Do you have a SAP WorkFlow Question?

SAP Work Flow Books
SAP WorkFlow Process and Interview Questions Reference Books

SAP WorkFlow Tips
SAP Business WorkFlow Tips and WF Discussion Forum

Best regards,
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.erpgreat.com

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
 The content on this site may not be reproduced or redistributed without the express written permission of
www.erpgreat.com or the content authors.