<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Margaret,<br><br>If your main intention is to do a bulk cancellation [logical deletion] of work items, you could acheive that in SWIA. <br><br>Regards,<br>Satish<br><br><br><br><div><hr id="stopSpelling">From: Margaret.Jaco@staples.com.au<br>To: sap-wug@mit.edu<br>Subject: Extended Notifications <br>Date: Wed, 24 Sep 2014 03:17:03 +0000<br><br>



<style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:11.0pt;
font-family:"Calibri","sans-serif";
}

.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:blue;
text-decoration:underline;
}

.ExternalClass span.ecxMsoHyperlinkFollowed {
color:purple;
text-decoration:underline;
}

.ExternalClass span.ecxEmailStyle17 {
font-family:"Calibri","sans-serif";
color:windowtext;
}

.ExternalClass .ecxMsoChpDefault {
font-family:"Calibri","sans-serif";
}

.ExternalClass div.ecxWordSection1 {
}

--></style>


<div class="ecxWordSection1">
<p class="ecxMsoNormal"><span style="font-size:12.0pt;">The Extended Notification Job at our site has ground to a halt, no memory etc. This is probably because there are just too many workitems still active that have never been archived. Recently we have started
 running program <b>RSWNNOTIFDEL </b>and this is doing a marvellous job &nbsp;of tidying up the SWN_NOTIF table. The problem is that for far too long we have had these ‘task only’ workflows starting for IDOCS.&nbsp; There are a few million entries for these items that
 are without agents and have never been completed. The linkage on these has now been successfully deactivated so there are no new ones being triggered. The problem seems to be all the old entries.</span></p>
<p class="ecxMsoNormal"><span style="font-size:12.0pt;">&nbsp;</span></p>
<p class="ecxMsoNormal"><span style="font-size:12.0pt;">I would like to do a bulk cancel of the old ‘task only’ workflows.&nbsp; I have thought of having an ABAP program that uses function module SAP_WAPI_ADM_WORKFLOW_CANCEL to cancel them and then let the archiving
 process and <b>RSWNNOTIFDEL </b>do the rest of the work<b>.</b></span></p>
<p class="ecxMsoNormal"><b><span style="font-size:12.0pt;">&nbsp;</span></b></p>
<p class="ecxMsoNormal"><span style="font-size:12.0pt;">I have implemented note 1897379 to add the three new entries to the SWNCONFIG and set WORKITEM_VALID_FOR_NOTIF(DAYS) but it still seems to have had no effect. I had thought that this would select less items.</span></p>
<p class="ecxMsoNormal"><b><span style="font-size:12.0pt;">&nbsp;</span></b></p>
<p class="ecxMsoNormal"><span style="font-size:12.0pt;">Is using an ABAP program and the workitem cancel function a good way to tackle this issue or is there another way out?</span></p>
<p class="ecxMsoNormal"><span style="font-size:12.0pt;">&nbsp;</span></p>
<p class="ecxMsoNormal"><span style="font-size:12.0pt;">Any suggestions would be appreciated.</span></p>
<p class="ecxMsoNormal"><span style="font-size:12.0pt;">&nbsp;</span></p>
<p class="ecxMsoNormal"><span style="font-size:12.0pt;">Thanks,</span></p>
<p class="ecxMsoNormal"><span style="font-size:12.0pt;">&nbsp;</span></p>
<p class="ecxMsoNormal"><span style="font-size:12.0pt;">Margaret Jaco.</span></p>
<p class="ecxMsoNormal"><span style="font-size:12.0pt;">&nbsp;</span></p>
</div>
<br><br>
<p class="ecxMsoNormal"><a href="http://www.staplesadvantage.com.au/" target="_blank"><img src="http&#58;//logo.staples.com.au/Staples-Logo.jpg" border="0"></a><br><br><font color="#000000" face="arial;"><small>The information contained in this email and any attached files are strictly private and confidential. This email should be read only by the intended addressee only. If the recipient of this message is not the intended addressee, please call Staples Australia Pty Limited on +61 2 9335 0555 or Staples New Zealand Limited on +64 9 271 7600 and promptly delete this email and any attachments. The intended recipient of this email may only use, reproduce, disclose or distribute the information contained in this email and any attached files with the prior written permission of StaplesTM. If you are not the intended addressee, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email and any attached files. StaplesTM advises that this email and any attached files should be scanned to detect viruses. StaplesTM accepts no liability for loss or damage (whether caused by negligence or not) resulting from the use of any attached files.</small></font></p>


<br>_______________________________________________
SAP-WUG mailing list
SAP-WUG@mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug</div>                                               </div></body>
</html>