Delete all Workflow Information for Object

Pollard, Bruce bruce.pollard at sap.com
Wed Dec 5 17:44:14 EST 2001


Brad,
 
SAP Best practices is to ARCHIVE workitems instead of a DELETION.
Archiving Workitems does actually delete them from all applicable tables
(header, item, agents, etc) but it is a safe and efficient way of managing
workitems in your system.   If you delete them direct with Trans SWWL or
with the Function Modules that gets called, you may end up with a situation
like your current one, where part of the information is still around.
Transaction "SARA" - Data Archiving can be found under the menu path Tools /
Business Workflow / Administration / Workflow Runtime / Re-organization /
SARA.  The Archiving object is "WORKITEM" (F4 search shows the entire list).
If you are not comfortable with archiving, you may find some documentation
in SAP's Web repository or a number of formal archive training avenues are
available.
 
Bruce Pollard,
SAP Business Integration Technology Instructor
ALE, EDI, Workflow, Data Archiving
 
 -----Original Message-----
From: Schroeter, Brad [mailto:BSchroeter at ti.com]
Sent: Wednesday, December 05, 2001 4:20 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Delete all Workflow Information for Object
 
 
 
I've got an object which has 3 workflows associated with it: the first 2
have completed and the last one is in process.  What is the easiest way to
delete all workflow information associated with this object (i.e. work
items, etc.) so that nobody would be able to tell the object was ever
processed by Workflow in the first place.  After the workflow information is
deleted, the actual object is going to be deleted.  I tried function module
SWP_WORKFLOW_INSTANCE_DELETE - this deleted all of the work items under the
3 higher level work items, but the 3 higher level work items actually still
exist in the system (they're in SWWWIHEAD while the others aren't).  We're
on 4.0B.
 
Thanks,
Brad
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20011205/1eaba210/attachment.htm


More information about the SAP-WUG mailing list