on 10-09-2006 3:17 PM
Hi!
I work in a Production system, and I undertstand I should not delete workitems in Production system.
But Please advice me what do I do in cases User reports to remove workitems.
1. workflow in error and completed in SAP transaction.
2. errors due to missing authorizations
3. of old workflows probable not used as done manually.
Hi Vijay,
when I was administrating workflow, I was asked to delete workitems, from time to time. I did it, without any problems afterwards. But for the workflows, with many requests for deletion, I usually set up a branch surrounding the workflow, with a Wait for Event step. When the admin triggered this event, a Process controle terminated the workflow.
Use tx. SWWL_TOPLEVEL to delete workflows.
Hope it Helps
Mikkel
Message was edited by: Mikkel Iversen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do not delete any business/audit relevant workflows even if no longer required. They form part of the object's history, and it's no good ending up with a document with a change log that says WF-BATCH and no workflow. Auditors won't be happy if they spot something like that.
Just cancel them. A painful part is that you have to do them one by one - Use SWI1 filter by the top-level task, display the WF item, edit->change (you need to me in the technical view, best if you set your user defaults to this), then click on 'Delete Logically'.
If you have a lot then it may be worthwhile to write a report using FM SAP_WAPI_ADM_WORKFLOW_CANCEL.
Cheers,
Mike
Hi Vijay,
SWI1 -> Type 'F' for a quick filter to workflow tasks only.
Execute. Click on item, click on glasses icon to display.
In WI display, Goto->Technical Display, <i>or</i> to make it permanent: Settings->Personal WF Set.-> set WI Display to Technical (you need to come out and re-display to make it active).
From the technical display you can Edit->Change, Click on the 'Delete Logically' button. If you have a few to do it's worthwhile learning the keyboard shortcuts.
Hope that helps.
Cheers,
Mike
PS: SWWL does NOT do a logical deletion. At least not up to version 620 (only one I have access to right now).
hi,
You can delete the workitems using the transaction : hrasrprocess_utility.By using button "delete process instance", the instance along with the workitems gets deleted and in the log, u can view which are not deleted.this is a administrator's tool .
and to delete a workflow, there's one more transaction :PFTC_DEL.enter the workflow number and the workflow gets deleted.but in productive environment,its not advisable to delete a workflow.
i hope this is useful.
Regards,
Saujanya
Have you tried running report RSWWWIDE?
Be sure to read note 49545 first on how to use it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Normaly it's advised to at least archive your workitems, this can be done in tr. SARA for object WORKITEM. There should be someone in the company you work for who is responsible for archiving data.
Deleting workflows in production should be done with caution, if you're absolutely sure that the erroneous workitems are not needed anymore, or if it is messing up some custom report, then you can do it.
Kind regards, Rob Dielemans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.