cancel
Showing results for 
Search instead for 
Did you mean: 

Workitems Deletion

Former Member
0 Kudos

Hi All,

There are currently over 90,000 workitems for one dialog step(TS) in QM Movement Notification Workflow(WS9). These workitems are causing SAP to time out before users can open their SAP inbox. I need to delete the workitems already generated . can you plz suggest me? How can i delete all?

All are Workitem type-->dialog step

Status--> Most are in Ready

some are in Completed

Priority--> 1 Highest-Express

regards

Raj

Accepted Solutions (0)

Answers (1)

Answers (1)

narin_nandivada3
Active Contributor
0 Kudos

Hi,

Use the TCODE SWWL to delete WORK ITEMS..

Or use standard program SWWWIDE

And for your information to delete messages from inbox can use the program RSSODLIN.

Hope this would help you.

Good luck

Narin

Former Member
0 Kudos

Hi Narin,

I am using production system.can i delete all workitems by using SWWL tcode ?

Regards

Raj

narin_nandivada3
Active Contributor
0 Kudos

Hi,

If you have access you can by mentioning the date and other criteria in Selection-screen of Tcode

or else use the function module SWW_WI_ADMIN_CANCEL to delete WI and maintain the Logs.

Using the Tcode the logs are not maintained.

So use either of them depending on the authorization and necessity of logs.

Please revert back if any questions...

Good luck

Narin

Edited by: Narin Nandivada on Sep 8, 2008 3:17 PM

Former Member
0 Kudos

Never use Tcode SWWL in production. It is better you use a program that uses the FM mentioned in previous posting and delete the Wflow logically.

Thanks

Arghadip

Former Member
0 Kudos

Hi Arghadip,

Thanks for your response?may i know why SWWL not in Production?what 's the diff between Logical deletion and deletion form users inbox.if i use that FM how can i delete 90000 Workitems?

Raj

pokrakam
Active Contributor
0 Kudos

Read the online help and search the forum. Been discussed many times.

Edit: forgot to mention, there's also a section on deleting in the [Frequently Asked Questions|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/businessProcessManagement]

Edited by: Mike Pokraka on Sep 10, 2008 1:09 PM