Background job to logically delete work items

Shai Eyal shai.eyal at yahoo.com
Fri Mar 27 02:51:27 EDT 2009


Brenda,

Deleting workitems or not is a business decision.
If you wish to logically delete these workitems you can user SAP_WAPI_SET_WORKITEM_STATUS with status CANCELLED. Afterwards you can archive these workitems.

Good luck,

 
Regards,
Shai Eyal
SAP Logistics senior consultant
SAP Workflow specialist
http://www.linkedin.com/in/shaieyal
Mobile: 972-52-5816633




________________________________
From: "sap-wug-request at mit.edu" <sap-wug-request at mit.edu>
To: sap-wug at mit.edu
Sent: Friday, March 27, 2009 9:34:19
Subject: SAP-WUG Digest, Vol 52, Issue 60

Send SAP-WUG mailing list submissions to
    sap-wug at mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
    http://mailman.mit.edu/mailman/listinfo/sap-wug
or, via email, send a message with subject or body 'help' to
    sap-wug-request at mit.edu

You can reach the person managing the list at
    sap-wug-owner at mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of SAP-WUG digest..."


Today's Topics:

  1. Background job to logically delete work items
      (Brenda Raubenheimer)
  2. RE: [LIKELY JUNK]Background job to logically delete work
      items (Dart, Jocelyn)
  3. Re: Background job to logically delete work items
      (muralitharan.c at tcs.com)
  4. Re: Background job to logically delete work items (shaurya jain)


----------------------------------------------------------------------

Message: 1
Date: Fri, 27 Mar 2009 08:01:45 +0200
From: "Brenda Raubenheimer" <braubenheimer at telkomsa.net>
Subject: Background job to logically delete work items
To: <sap-wug at mit.edu>
Message-ID: <004401c9aea1$844f3180$8ced9480$@net>
Content-Type: text/plain; charset="us-ascii"

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.









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

------------------------------



      New Email names for you! 
Get the Email name you&#39;ve always wanted on the new @ymail and @rocketmail. 
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20090326/6e89363b/attachment.htm


More information about the SAP-WUG mailing list