<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'>Please follow the steps as per the email from Rick. If you do not have the option to mass delete, you might have to implement SAP note 1286336 for it. <br><br><br><br><div><hr id="stopSpelling">From: Margaret.Jaco@staples.com.au<br>To: sap-wug@mit.edu<br>Subject: RE: Extended Notifications<br>Date: Wed, 24 Sep 2014 03:44:18 +0000<br><br>



<style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

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

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

.ExternalClass p {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass p.ecxMsoAcetate, .ExternalClass li.ecxMsoAcetate, .ExternalClass div.ecxMsoAcetate {
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
}

.ExternalClass p.ecxmsonormal, .ExternalClass li.ecxmsonormal, .ExternalClass div.ecxmsonormal {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass p.ecxmsochpdefault, .ExternalClass li.ecxmsochpdefault, .ExternalClass div.ecxmsochpdefault {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass span.ecxmsohyperlink {
}

.ExternalClass span.ecxmsohyperlinkfollowed {
}

.ExternalClass span.ecxemailstyle17 {
}

.ExternalClass p.ecxmsonormal1, .ExternalClass li.ecxmsonormal1, .ExternalClass div.ecxmsonormal1 {
font-size:11.0pt;
font-family:"Calibri","sans-serif";
}

.ExternalClass span.ecxmsohyperlink1 {
color:blue;
text-decoration:underline;
}

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

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

.ExternalClass p.ecxmsochpdefault1, .ExternalClass li.ecxmsochpdefault1, .ExternalClass div.ecxmsochpdefault1 {
font-size:12.0pt;
font-family:"Calibri","sans-serif";
}

.ExternalClass span.ecxBalloonTextChar {
font-family:"Tahoma","sans-serif";
}

.ExternalClass span.ecxEmailStyle30 {
font-family:"Calibri","sans-serif";
color:#1F497D;
}

.ExternalClass .ecxMsoChpDefault {
font-size:10.0pt;
}

.ExternalClass div.ecxWordSection1 {
}

--></style>


<div class="ecxWordSection1">
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D;">Thanks for your reply. I do want to do that but it only allows one at a time to be cancelled and I have maybe a million.</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D;">&nbsp;</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D;">&nbsp;</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D;">&nbsp;</span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;">
<p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US"> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu]
<b>On Behalf Of </b>Satish Rangaswami<br>
<b>Sent:</b> Wednesday, 24 September 2014 1:42 PM<br>
<b>To:</b> SAP Workflow Users' Group<br>
<b>Subject:</b> RE: Extended Notifications</span></p>
</div>
</div>
<p class="ecxMsoNormal">&nbsp;</p>
<div>
<p class="ecxMsoNormal" style=""><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;">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>
</span></p>
<div>
<div class="ecxMsoNormal" style="text-align:center;" align="center"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;">
<hr id="ecxstopSpelling" align="center" size="2" width="100%">
</span></div>
<p class="ecxMsoNormal" style=""><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;">From:
<a href="mailto:Margaret.Jaco@staples.com.au">Margaret.Jaco@staples.com.au</a><br>
To: <a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a><br>
Subject: Extended Notifications <br>
Date: Wed, 24 Sep 2014 03:17:03 +0000</span></p>
<div>
<p class="ecxMsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;">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-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;</span></p>
<p class="ecxMsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;">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-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;</span></b><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;"></span></p>
<p class="ecxMsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;">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-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;</span></b><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;"></span></p>
<p class="ecxMsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;">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-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;</span></p>
<p class="ecxMsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;">Any suggestions would be appreciated.</span></p>
<p class="ecxMsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;</span></p>
<p class="ecxMsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;">Thanks,</span></p>
<p class="ecxMsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;</span></p>
<p class="ecxMsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;">Margaret Jaco.</span></p>
<p class="ecxMsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;</span></p>
</div>
<p class="ecxMsoNormal" style=""><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;">&nbsp;</span></p>
<p class="ecxMsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;"><a href="http://www.staplesadvantage.com.au/" target="_blank"><span style="text-decoration:none;"><img id="ecx_x0000_i1026" src="http&#58;//logo.staples.com.au/Staples-Logo.jpg" border="0"></span></a><br>
<br>
</span><span style="font-size:10.0pt;color:black;">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.</span><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;"></span></p>
<p class="ecxMsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;"><br>
_______________________________________________ SAP-WUG mailing list <a href="mailto:SAP-WUG@mit.edu">
SAP-WUG@mit.edu</a> <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a></span></p>
</div>
</div>
</div>


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