Background job to logically delete work items

Keohan, Susan keohan at ll.mit.edu
Fri Mar 27 07:09:11 EDT 2009


Brenda,
Depending on your release, you may be able to implement OSS Note  1286336 which allows you to cancel workitems from transaction SWIA.
Not too handy where there are hundreds of workitems, but it's worth looking into for the one-offs.
I would never use RSWWWIDE in production - SAP specifically cautions against this.

Regards,
Sue

---
Susan R. Keohan
SAP Workflow Specialist
MIT Lincoln Laboratory
244 Wood Street
LI-200
Lexington, MA. 02420
Phone: 781-981-3561
Fax:   781-981-1607
keohan at ll.mit.edu<mailto:keohan at ll.mit.edu>




From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Brenda Raubenheimer
Sent: Friday, March 27, 2009 2:42 AM
To: 'SAP Workflow Users' Group'
Subject: RE: Background job to logically delete work items

As far as I know that one deletes the item and log permanently and the client requires that the logs remain in the system.

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of shaurya jain
Sent: 27 March 2009 08:34 AM
To: SAP Workflow Users' Group
Subject: Re: Background job to logically delete work items

Brenda,

You can use SAP_WAPI_WORKITEM_DELETE in your batch program to delete specific workitems.

Regards,
Shaurya Jain
On Fri, Mar 27, 2009 at 11:31 AM, Brenda Raubenheimer <braubenheimer at telkomsa.net<mailto:braubenheimer at telkomsa.net>> wrote:

My new client has a large number of workflow instances active on the system and many users have inboxes full of work items.  The majority of these are highly customised purchase requisition release and purchase order release workflows.  For some reason, these workflows were not designed with wait for event steps to trap the event when the requisition or order is released or significantly changed, so the users have performed the necessary steps outside workflow and the workflows have not been terminated correctly.  We now need to remove these work items from the inboxes of these users, but obviously a manual trawl through all the workflows is not a preferred option.  Is there a function module or BAPI which I can use to logically delete a workflow instance in the background from a batch program?



Many thanks in advance,

Brenda Raubenheimer.









_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu<mailto:SAP-WUG at mit.edu>
http://mailman.mit.edu/mailman/listinfo/sap-wug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20090327/0d709ca8/attachment.htm


More information about the SAP-WUG mailing list