cancel
Showing results for 
Search instead for 
Did you mean: 

removing work items from user's inbox

Former Member
0 Kudos

Hello,

we are trying to find a way to remove work items from a users inbox. the workitem has not been opened and also it is possible that the work item is in more than 1 users inbox. we want to remove the work item from only the 1 user and leave the work item in the other user's inbox.

we are trying with SWWL and SWIA but cannot seem to get this to work.

has anybody done this before and if so, could you share with me how you did this

thanks in advance for the help

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

I think you can simply use SWI1_Rule transaction code and re-execute the rule for the workitem provided the configuration of agent assignment is updated with removal of that user entry.

Thanks

Arghadip

Answers (7)

Answers (7)

thirus11
Participant
0 Kudos
Former Member
0 Kudos

thanks all for the great suggestions.

we tried all of the suggestions and the the only way to clear this up was to remove the user from the position hierarchy. once we did that, all of the workitems in his inbox disappeared. those workitems stilled showed in the other usres inbox for them to take care of.

Former Member
0 Kudos

Hi

U can see the workitem of the user by the table SWWUSERWI giving user id.

select the workitem id.

Go to the transcation SWIA.

Forward the workitem to your inbox.

This will not appear in user inbox anymore

Regards

Pranab

bpawanchand
Active Contributor
0 Kudos

try like this

  • Execute SE37 execute the FM SAP_WAPI_SET_WORKITEM_COMPLETD in the userid for which you want to delete the workitems.

  • Pass the workitem ID .

  • Execute the FM it removes the workitem from the user's inbox.

Former Member
0 Kudos

Hi Timothy

This Function Module is used to remove or delete the workitem from inbox's SAP_WAPI_WORKITEM_DELETE and execute.

Please never ever use SWWL in Production it is deadly. This transaction code is being planned to remove from SAP as it deletes standard entries from std table apart from WF. I will recommend use FM : SWW_WI_ADMIN_CANCEL

to logically delete workitem. You can create a custom program for this if you want and use it accordingly.

By

Pari

former_member185167
Active Contributor
0 Kudos

Hello,

Have you tried forwarding the workitem from user X (unwanted user) to user Y (existing, wanted user) with SWIA?

regards

Rick Bakker

Hanabi Technology

saumya_govil
Active Contributor
0 Kudos

Hi Timothy,

Please cehck the following tables. These stores information of the workflow tasks. You can use these to delete workitems from SAP inbox.

SWW_OUTBOX - Lists Workflows in outbox together with status

SWW_CONT - Container Contents for Work Item Data Container

SWW_CONTOB - Container Cont. for Work Item Data Container (Only Objects)

SWWLOGHIST - History of a work item

SWWORGTASK - Assignment of WIs to Org.Units and Tasks

SWWUSERWI - Current Work Items Assigned to a User

SWWWIHEAD - Header Table for all Work Item Types

Hope this helps!

Regards,

Saumya