cancel
Showing results for 
Search instead for 
Did you mean: 

DELETE workitems!

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

pokrakam
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Thanks Mike and others.

Mike, request you to guide me how do we delete the workflows logically.

Is there a screen button in SWI1..

am sorry but could not follow your statements on setting the defaults.

Many thanks for your patience.

Regards

Vijay Samuel

former_member186746
Active Contributor
0 Kudos

Hi,

logical deleting of workitems is through SWWL.

Regards, Rob

pokrakam
Active Contributor
0 Kudos

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).

former_member186746
Active Contributor
0 Kudos

oops,

my bad.

SWWL indeed deletes workitems <b><u>physicaly</u></b>.

regards, rob.

Former Member
0 Kudos

Thanks for your patience and guidance

my production system is the SAP R/3 release 4.6C, I have followed your comments and now I find the Edit->Change option is greyed out!!

many thanks...

pokrakam
Active Contributor
0 Kudos

Hi Vijay,

You can thank people by awarding points

It will be grayed out for completed or cancelled items which can no longer be changed. If not then it may be missing authorization. Call up SU53 after displaying the work item.

Hope that helps.

Cheers,

Mike

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

To delete a workitem : RSWWWIDE

SWWL

Use Process Control Step type

Can you try these options...

regards

sarasakumari

Former Member
0 Kudos

Hi Vijay,

I'm in need of access to the NCR inbox in SAP, the icon I have is greyed out and I cant see what's in my que.

Thanks

Cheers

Sharan

Answers (2)

Answers (2)

Former Member
0 Kudos

Have you tried running report RSWWWIDE?

Be sure to read note 49545 first on how to use it

former_member186746
Active Contributor
0 Kudos

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