<div>Hi,</div>
<div>Is it possible to use the CATS.REJECTED event? In my case this event is not getting triggered in any case. When is this CATS.REJECTED event triggered?</div>
<div>&nbsp;</div>
<div>Thanks,</div>
<div>Prasath N<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 9/25/06, <b class="gmail_sendername">Claude Bourque</b> &lt;<a href="mailto:cbourque@bank-banque-canada.ca">cbourque@bank-banque-canada.ca</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div><span><font face="Arial" color="#0000ff" size="2">Prasath,</font></span></div>
<div><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div><span><font face="Arial" color="#0000ff" size="2">We build a custom utility <span class="st" id="st" name="st">for</span> 2 reasons. Reason 1: <span class="st" id="st" name="st">CATS</span>.COMPLETED wouldn't work because, 
<span class="st" id="st" name="st">CATS</span> behaves differently than other workflows. Everytime an employee enters a timesheet record, the entry gets attached to the existing outstanding work item <span class="st" id="st" name="st">
for</span> that employee. So until a manager has approved all records, an employee can keep adding to the work item. Since in some cases completion took several weeks, we decided to create a utility that is run nightly that creates an event to trigger a 
<span class="st" id="st" name="st">send</span> email workflow. Reason 2: Although <span class="st" id="st" name="st">CATS</span>.REJECTED would work, we needed an email <span class="st" id="st" name="st">for</span> <span class="st" id="st" name="st">
approval</span> as well as rejection. So, again the utility does the trick.</font></span></div>
<div><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div><span><font face="Arial" color="#0000ff" size="2">We've been using it <span class="st" id="st" name="st">for</span> 2 weeks <span class="st" id="st" name="st">and</span> so far so good.</font></span></div>
<div><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div><span><font face="Arial" color="#0000ff" size="2">Regards,</font></span></div><span class="sg">
<div><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div><span><font face="Arial" color="#0000ff" size="2">Claude Bourque</font></span></div>
<div></div></span>
<div lang="en-us" dir="ltr" align="left"><font face="Tahoma" size="2"><span class="q">-----Original Message-----<br><b>From:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">
sap-wug-bounces@mit.edu</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>] <b>On Behalf Of </b>Kjetil Kilhavn<br><b>Sent:
</b> September 25, 2006 2:01 AM<br><b>To:</b> SAP Workflow Users' Group<br></span>
<div><span class="e" id="q_10de508b27253d88_4"><b>Subject:</b> RE: Send mail for CATS Approval and pending workitems<br><br></span></div></font></div>
<div><span class="e" id="q_10de508b27253d88_6">
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">You don't write what version you are on, but assuming you're not on a version with extended notifications (that would have to be 6.x as far as I know) 
</font></span><span><font face="Arial" color="#0000ff" size="2">I think the notification via RSWUWFML2 is your best choice for the manager.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Why don't you use CATS.REJECTED as triggering event for your other solution? I'm not familiar with the standard approval solution for time sheets, so perhaps your answer is &quot;because that event is not triggered&quot; - but looking at BOR object type CATS it seems an obvious choice :-)
</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Looking at program RCATSB01 in our system I see there is a selection screen option to send notification of rejection. Unfortunately the parameter MAIL in function module CATS_DISPLAY_LIST which is called by the program is not referenced in the function module's ABAP code. An&nbsp;OSS&nbsp;message to SAP to see if you receive the standard answer &quot;this is not an error&quot; is perhaps in place.
</font></span></div>
<div align="left"><font face="Arial" size="2">-- </font></div>
<div align="left"><font face="Arial" size="2">Kjetil Kilhavn, Statoil OFT GBS BAS&nbsp;DEV SAP</font></div>
<div><font face="Arial" color="#0000ff" size="2"></font>&nbsp;</div><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><br>
<blockquote style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">
sap-wug-bounces@mit.edu</a>] <b>On Behalf Of </b>prasath natesan<br><b>Sent:</b> 25. september 2006 06:43<br><b>To:</b> SAP Workflow Users' Group<br><b>Subject:</b> Send mail for CATS Approval and pending workitems<br></font>
<br>&nbsp;</div>
<div></div><span><a name="10de508b27253d88_2432285"></a><font face="Arial" color="#0000ff" size="2"></font><font face="Arial" color="#0000ff" size="2"></font><font face="Arial" color="#0000ff" size="2"></font><font face="Arial" color="#0000ff" size="2">
</font></span><br>Hi,<br>We use approval task TS20000460(approval by superior) for approval of CATS submitted by an employee. This task sends a mail back to the employee if the Approval is rejected by the superior. We have 2 more requirements for this case as follows, 
<br><br><b>1. The initiator should receive an e-mail notification when the CATS submitted by him is approved by the manager.</b><br><br>For this i have tried to create a custom workflow with a sendmail step. I have assigned CATS-COMPLETED event as the triggering event for this workflow. The problem is this event is triggered in both the cases 
i.e when the workitem is either Approved or Rejected. I need this workflow to be triggered only in cases of Approval. I also could not find any container elements which shows the status as Aprpoved/Rejected.<br><br><b>2. The Approver should receive a notification in his inbox whenever the employee submits the time sheets asking him to approve the pending time sheets weekly. 
</b><br><br>For this i think i might be able to use the report RSWUWFML2 and schedule it on a certain time period to check for pending workitems of task TS20000460 and send notifications. But havent yet tried on this. Is there a better way to do this? Any tables that get updated based on this? 
<br><br>we are at ECC5.0 with EP6.0<br><br>Any help on the above queries will be of great use.<br>Thanks in advance for any help provided.<br><br>Prasath N<br></blockquote>
<p></p>
<p><font size="1">-------------------------------------------------------------------<br>The information contained in this message may be CONFIDENTIAL and is<br>intended for the addressee only. Any unauthorised use, dissemination of the
<br>information or copying of this message is prohibited. If you are not the<br>addressee, please notify the sender immediately by return e-mail and delete<br>this message.<br>Thank you.</font> </p></span></div></div><br>
====================================================================================<br><br>La version française suit le texte anglais.<br><br>------------------------------------------------------------------------------------
<br><br>This email may contain privileged <span class="st" id="st" name="st">and</span>/or confidential information, <span class="st" id="st" name="st">and</span> the Bank of<br>Canada does not waive any related rights. Any distribution, use, or copying of this
<br>email or the information it contains by other than the intended recipient is<br>unauthorized. If you received this email in error please delete it immediately from<br>your system <span class="st" id="st" name="st">and
</span> notify the sender promptly by email that you have done so.<br><br>------------------------------------------------------------------------------------<br><br>Le présent courriel peut contenir de l'information privilégiée ou confidentielle.
<br>La Banque du Canada ne renonce pas aux droits qui s'y rapportent. Toute diffusion,<br>utilisation ou copie de ce courriel ou des renseignements qu'il contient par une<br>personne autre que le ou les destinataires désignés est interdite Si vous recevez
<br>ce courriel par erreur, veuillez le supprimer immédiatement et envoyer sans délai à<br>l'expéditeur un message électronique pour l'aviser que vous avez éliminé de votre<br>ordinateur toute copie du courriel reçu.<br><br>
<br>_______________________________________________<br>SAP-WUG mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">
http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br><br><br></blockquote></div><br>