<div dir="ltr">A &quot;logical delete&quot; is more like a cancellation than a delete. Nothing gets deleted.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 23, 2014 at 10:06 PM, Margaret Jaco <span dir="ltr">&lt;<a href="mailto:Margaret.Jaco@staples.com.au" target="_blank">Margaret.Jaco@staples.com.au</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-AU" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I do not actually want to do a mass DELETE. I just want to gently get them to a cancelled state.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I use SWIA and select all the items and then hit the ‘Complete Manually’ button.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">The system comes back with ‘Only select one entry for the function selected’ . If I select one entry and hit the ‘Complete Manually’ button then it works and
 sets the status of the workitem to cancelled.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I need to cancel loads of them and would be quite happy to do them in batches but one at a time is just too much!.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Margaret.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></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:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>]
<b>On Behalf Of </b>Satish Rangaswami<br>
<b>Sent:</b> Wednesday, 24 September 2014 1:55 PM</span></p><div><div class="h5"><br>
<b>To:</b> SAP Workflow Users&#39; Group<br>
<b>Subject:</b> RE: Extended Notifications<u></u><u></u></div></div><p></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">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>
<u></u><u></u></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">From:
<a href="mailto:Margaret.Jaco@staples.com.au" target="_blank">Margaret.Jaco@staples.com.au</a><br>
To: <a href="mailto:sap-wug@mit.edu" target="_blank">sap-wug@mit.edu</a><br>
Subject: RE: Extended Notifications<br>
Date: Wed, 24 Sep 2014 03:44:18 +0000<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><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><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><u></u><u></u></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:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">mailto:sap-wug-bounces@mit.edu</a>]
<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&#39; Group<br>
<b>Subject:</b> RE: Extended Notifications</span><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"> <u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><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>
<u></u><u></u></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">From: <a href="mailto:Margaret.Jaco@staples.com.au" target="_blank">
Margaret.Jaco@staples.com.au</a><br>
To: <a href="mailto:sap-wug@mit.edu" target="_blank">sap-wug@mit.edu</a><br>
Subject: Extended Notifications <br>
Date: Wed, 24 Sep 2014 03:17:03 +0000<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><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  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.  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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"> <u></u><u></u></span></p>
<p class="MsoNormal"><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.  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><u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"> </span></b><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><u></u><u></u></span></p>
<p class="MsoNormal"><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.<u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"> </span></b><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><u></u><u></u></span></p>
<p class="MsoNormal"><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?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">Any suggestions would be appreciated.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">Margaret Jaco.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"> <u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"> <u></u><u></u></span></p>
<p class="MsoNormal"><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 border="0" src="http://logo.staples.com.au/Staples-Logo.jpg"></span></a><br>
<br>
</span><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;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 <a href="tel:%2B61%202%209335%200555" value="+61293350555" target="_blank">+61 2 9335 0555</a> or Staples New Zealand Limited on <a href="tel:%2B64%209%20271%207600" value="+6492717600" target="_blank">+64 9 271 7600</a> 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;"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><br>
_______________________________________________ SAP-WUG mailing list <a href="mailto:SAP-WUG@mit.edu" target="_blank">
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><u></u><u></u></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><br>
_______________________________________________ SAP-WUG mailing list <a href="mailto:SAP-WUG@mit.edu" target="_blank">
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><u></u><u></u></span></p>
</div>
</div>
</div></div></div>
</div>

<br>_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br></blockquote></div><br></div>