<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16809" name=GENERATOR>
<STYLE>@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 72.0pt 72.0pt 72.0pt; }
P.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
LI.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
DIV.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-compose
}
.MsoChpDefault {
        mso-style-type: export-only
}
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 vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=822380706-27032009><FONT face=Arial
color=#0000ff size=2>Brenda,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=822380706-27032009><FONT face=Arial
color=#0000ff size=2>Use the relevant SAP_WAPI function modules in your own
program. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=822380706-27032009><FONT face=Arial
color=#0000ff size=2>There are wapis to find work items, logically delete work
items, etc., etc. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=822380706-27032009><FONT face=Arial
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=822380706-27032009><FONT face=Arial
color=#0000ff size=2>Jocelyn </FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Brenda
Raubenheimer<BR><B>Sent:</B> Friday, 27 March 2009 5:02 PM<BR><B>To:</B>
sap-wug@mit.edu<BR><B>Subject:</B> [LIKELY JUNK]Background job to logically
delete work items<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal>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?<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>Many thanks in advance,<o:p></o:p></P>
<P class=MsoNormal>Brenda Raubenheimer.<o:p></o:p></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: #017086; FONT-FAMILY: 'Tahoma','sans-serif'"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: #017086; FONT-FAMILY: 'Tahoma','sans-serif'"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal><o:p> </o:p></P></DIV></BODY></HTML>