<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=572004705-25092006><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 class=572004705-25092006><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 class=572004705-25092006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=572004705-25092006><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 "because that event is not triggered" - 
but looking at BOR object type CATS it seems an obvious choice 
:-)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=572004705-25092006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=572004705-25092006><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 "this 
is not an error" 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 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>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></DIV>
  <DIV></DIV><SPAN class=jive-subject><A name=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 size></BODY></HTML>