Background job to logically delete work items

Brenda Raubenheimer braubenheimer at telkomsa.net
Fri Mar 27 02:41:47 EDT 2009


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> 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
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/2dd5d776/attachment.htm


More information about the SAP-WUG mailing list