<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-ZA link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>THANK YOU!<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu]
<b>On Behalf Of </b>Shai Eyal<br>
<b>Sent:</b> 27 March 2009 08:51 AM<br>
<b>To:</b> sap-wug@mit.edu<br>
<b>Subject:</b> Re: Background job to logically delete work items<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Brenda,<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Deleting
workitems or not is a business decision.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>If
you wish to logically delete&nbsp;these workitems you can user
SAP_WAPI_SET_WORKITEM_STATUS with status CANCELLED. Afterwards you can archive
these workitems.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Good
luck,<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>
&nbsp;<o:p></o:p></span></p>

</div>

<p><strong><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#00007F'>Regards,</span></strong><b><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:#00007F'><br>
<strong><span style='font-family:"Verdana","sans-serif"'>Shai Eyal</span></strong></span></b><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p>

<p><strong><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:navy'>SAP Logistics senior consultant</span></strong><b><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:navy'><br>
<strong><span style='font-family:"Verdana","sans-serif"'>SAP Workflow
specialist</span></strong></span></b><span style='font-size:10.0pt;font-family:
"Arial","sans-serif"'><o:p></o:p></span></p>

<p><strong><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:navy'><a href="http://www.linkedin.com/in/shaieyal" target="_blank">http://www.linkedin.com/in/shaieyal</a></span></strong><b><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:navy'><br>
<strong><span style='font-family:"Verdana","sans-serif"'>Mobile: 972-52-5816633</span></strong></span></b><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>

<hr size=1 width="100%" align=center>

</span></div>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
&quot;sap-wug-request@mit.edu&quot; &lt;sap-wug-request@mit.edu&gt;<br>
<b>To:</b> sap-wug@mit.edu<br>
<b>Sent:</b> Friday, March 27, 2009 9:34:19<br>
<b>Subject:</b> SAP-WUG Digest, Vol 52, Issue 60<br>
</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><br>
Send SAP-WUG mailing list submissions to<br>
&nbsp;&nbsp;&nbsp; <a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
&nbsp;&nbsp;&nbsp; <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug"
target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
or, via email, send a message with subject or body 'help' to<br>
&nbsp;&nbsp;&nbsp; <a href="mailto:sap-wug-request@mit.edu">sap-wug-request@mit.edu</a><br>
<br>
You can reach the person managing the list at<br>
&nbsp;&nbsp;&nbsp; <a href="mailto:sap-wug-owner@mit.edu">sap-wug-owner@mit.edu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of SAP-WUG digest...&quot;<br>
<br>
<br>
Today's Topics:<br>
<br>
&nbsp; 1. Background job to logically delete work items<br>
&nbsp; &nbsp; &nbsp; (Brenda Raubenheimer)<br>
&nbsp; 2. RE: [LIKELY JUNK]Background job to logically delete work<br>
&nbsp; &nbsp; &nbsp; items (Dart, Jocelyn)<br>
&nbsp; 3. Re: Background job to logically delete work items<br>
&nbsp; &nbsp; &nbsp; (<a href="mailto:muralitharan.c@tcs.com">muralitharan.c@tcs.com</a>)<br>
&nbsp; 4. Re: Background job to logically delete work items (shaurya jain)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 27 Mar 2009 08:01:45 +0200<br>
From: &quot;Brenda Raubenheimer&quot; &lt;<a
href="mailto:braubenheimer@telkomsa.net">braubenheimer@telkomsa.net</a>&gt;<br>
Subject: Background job to logically delete work items<br>
To: &lt;<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;<br>
Message-ID: &lt;004401c9aea1$844f3180$8ced9480$@net&gt;<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
<br>
My new client has a large number of workflow instances active on the system<br>
and many users have inboxes full of work items.&nbsp; The majority of these are<br>
highly customised purchase requisition release and purchase order release<br>
workflows.&nbsp; For some reason, these workflows were not designed with wait
for<br>
event steps to trap the event when the requisition or order is released or<br>
significantly changed, so the users have performed the necessary steps<br>
outside workflow and the workflows have not been terminated correctly.&nbsp; We<br>
now need to remove these work items from the inboxes of these users, but<br>
obviously a manual trawl through all the workflows is not a preferred<br>
option.&nbsp; Is there a function module or BAPI which I can use to logically<br>
delete a workflow instance in the background from a batch program?<br>
<br>
<br>
<br>
Many thanks in advance,<br>
<br>
Brenda Raubenheimer.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a
href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20090327/7faa676c/attachment-0001.htm"
target="_blank">http://mailman.mit.edu/pipermail/sap-wug/attachments/20090327/7faa676c/attachment-0001.htm</a><br>
<br>
------------------------------<o:p></o:p></span></p>

</div>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div class=MsoNormal align=center style='text-align:center'>

<hr size=1 width="100%" align=center>

</div>

<p class=MsoNormal><a
href="http://sg.rd.yahoo.com/aa/mail/domainchoice/mail/signature/*http:/mail.promotions.yahoo.com/newdomains/aa/">New
Email addresses available on Yahoo! </a><br>
Get the Email name you've always wanted on the new @ymail and @rocketmail.<br>
Hurry before someone else does!<o:p></o:p></p>

</div>

</body>

</html>