<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1528" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=989531413-27032006><FONT face=Arial color=#0000ff size=2>Hi 
Mikko,</FONT></SPAN></DIV>
<DIV><SPAN class=989531413-27032006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=989531413-27032006><FONT face=Arial color=#0000ff size=2>the 
notification text is hardcoded (surprise!) in the abap code - function 
'CATS_APPROVAL' which is being called from the method SET_STATUS of the class 
CL_GRID_APPROVAL_ACTEXP. </FONT></SPAN></DIV>
<DIV><SPAN class=989531413-27032006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=989531413-27032006><FONT face=Arial color=#0000ff size=2>I had 
the similar problem and to get around it i have created subclass of the 
CL_GRID_APPROVAL_ACTEXP and redefined method SET_STATUS to send my own 
notification. </FONT></SPAN></DIV>
<DIV><SPAN class=989531413-27032006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=989531413-27032006><FONT face=Arial color=#0000ff size=2>You 
can also use ABAP event APPROVAL_REJECTED of the superclass to plug in your own 
handler for some follow-up processing.</FONT></SPAN></DIV>
<DIV><SPAN class=989531413-27032006></SPAN><SPAN class=989531413-27032006><FONT 
face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=989531413-27032006><FONT face=Arial color=#0000ff size=2>Best 
regards,<BR>Sergey</FONT></SPAN></DIV>
<DIV><SPAN class=989531413-27032006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=989531413-27032006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=989531413-27032006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
size=2>-----Original Message-----<BR><B>From:</B> sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu]<B>On Behalf Of </B>Mikko 
Mäki-Rahkola<BR><B>Sent:</B> Monday, March 27, 2006 2:18 AM<BR><B>To:</B> 
sap-wug@mit.edu<BR><B>Subject:</B> CATS rejection 
notification?<BR><BR></FONT></DIV>
<DIV>Hi all,</DIV>
<DIV>I would like to modify the rejection notification text which gets sent 
after an approver has rejected a timesheet in the standard CATS approval task 
(TS20000460). </DIV>
<DIV>&nbsp;</DIV>
<DIV>The task texts don't contain it and since this is a single-step workflow 
launched by the standard cats program, I'd be interested to know if some of you 
have found the right place. My best guess is that it's somewhere in the abap 
messages, but I haven't yet started debugging the (quite large) cats program. 
</DIV>
<DIV>&nbsp;</DIV>
<DIV>Please let me know if you have ideas,</DIV>
<DIV>Mikko</DIV></BODY></HTML>