on 05-11-2009 9:14 AM
Hi Friends,
I am involved in the Process of Workflow Archiving. As per sap documentation we can archive only completed and canceled workitems. In my Production system there are lot of workflows which are in error status. Is it possible to archive these workflows with status "Error"? If not if I delete these workflows using tcode "SWWL" will it cause any issue. Please advice.
It is not possible to anaylse each and every workflow when there are thousands of such workflows...
You can delete these workitems with an error using the program RSWWWIDE...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use the archiving functionality to get rid of your workitems (tx SARA, object WORKITEM).
If you have many workflows in error and want to get rid of those as well you might have to set them to status 'CANCELLED' first. Unfortunately there is no standard SAP functionality to do that in mass. But you can easily develop your own program to do it, using function module SAP_WAPI_ADM_WORKFLOW_CANCEL.
Cheers,
Patrick
Hi,
1. You are right, archiving is possible only for workitems with status COMPLETED or CANCELLED using archive object WORKITEM.
2. It is generally not recommended to use SWWL (or report RSWWWIDE) in production as it does not check any dependencies.
Please refer to SAP note 573656 for more info.
you can also perform an analysis of table SWWWIHEAD using transaction TAANA to see the proportion of COMPLETED and CANCELLED workitems compared to others. Then you could decide whether its sufficient to archive only those workitems which are completed or cancelled.
Hope this helps,
Naveen
Edited by: Naveen Prabhakar on May 11, 2009 10:51 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1) Don't Delete, first analyze the error by seeing the Workflow log.
2) Fix that
3) Then Proceed Archiving
Regards,
Surjith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.