to delete work items from user’s SAP inbox
In a Support project you will get a ticket to delete the unwanted workitems from the user’s SAP inbox in Production System.
Retreive the workitem from SWI1 transaction by inputting the date and time fields and executing the same. These details will be available in the ticket raised.
Also details for example Process Document XXXXXXXXXX etc will be mentioned in the ticket.
You will get a list of workitems[in thousands] getting displayed.
Now CONTROL + F and then enter the text ie the process document that u got from the mail
the system will stop at the point[Process Document 100000407134] row. Select the workitem row and click on display workflow log – u will get workflow log details[workflow text name].
In the Workflow log you will find the USERID of the user. You will also get the task number.
Now go to SE11 table: SWWUSERWI. Input the USERID and you will get the list of workitems[Work Item ID Number] available in the User’s SAP Inbox. Then go to table SWWWIHEAD and input the workitems that you got from above. Here you can find the status of the workitems like
[READY, COMPLETED, ERROR etc] in the WI_STAT field and the Process Document text XXXXXXXXXX in the WI_TEXT field. Based on the status you can delete the work items after getting the approval from the user.
Now to delete the workitems go to SWWL transaction, enter the work item ID number in the ID field, let Type, Status and Creation date fields be empty and also Agent field to be left blank. Execute the transaction. Then go to SE11 check in the tables SWWUSERWI and SWWWIHEAD the corresponding work items would have been deleted.