<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Ramki,<BR>
Thanks, but the problem is work item gets&nbsp;COMPLETED when deadline is reached. However, I have coded as per Joe Toledo's suggestion <BR>
to retrieve an agent from the table swwloghist and it works.<BR>
&nbsp;<BR>
Thanks to both of you<BR>
&nbsp;<BR>
Adam<BR><BR>&nbsp;<BR>&gt; Date: Tue, 9 Jun 2009 16:21:23 -0400<BR>&gt; From: rmaley@erpworkflow.com<BR>&gt; To: sap-wug@mit.edu<BR>&gt; Subject: Re: Last agen work item was forwarded to?<BR>&gt; <BR>&gt; Adam, The FM would work provided the Work Item for which the deadline <BR>&gt; reached is still active.<BR>&gt; <BR>&gt; Cheers,<BR>&gt; Ramki.<BR>&gt; <BR>&gt; <BR>&gt; Ramki Maley wrote:<BR>&gt; &gt; Hello Adam,<BR>&gt; &gt; <BR>&gt; &gt; FM SAP_WAPI_GET_WI_AGENTS should do that for you.<BR>&gt; &gt; <BR>&gt; &gt; Cheers,<BR>&gt; &gt; Ramki.<BR>&gt; &gt; <BR>&gt; &gt; Adam Kheil wrote:<BR>&gt; &gt;&gt; Hi,<BR>&gt; &gt;&gt; We are using deadline monitoring and I need to know if there is any <BR>&gt; &gt;&gt; function module that I can use to find last agent work item was <BR>&gt; &gt;&gt; forwarded to? I have to code something to send an email to the manager <BR>&gt; &gt;&gt; of that person who was forwrded that work item and that person did not <BR>&gt; &gt;&gt; complete the work item.<BR>&gt; &gt;&gt; <BR>&gt; &gt;&gt; <BR>&gt; &gt;&gt; Thanks in advance<BR>&gt; &gt;&gt; <BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; ------------------------------------------------------------------------<BR>&gt; &gt;&gt; Insert movie times and more without leaving HotmailŪ. See how. <BR>&gt; &gt;&gt; &lt;http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009&gt; <BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; ------------------------------------------------------------------------<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; _______________________________________________<BR>&gt; &gt;&gt; SAP-WUG mailing list<BR>&gt; &gt;&gt; SAP-WUG@mit.edu<BR>&gt; &gt;&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; &gt; <BR>&gt; _______________________________________________<BR>&gt; SAP-WUG mailing list<BR>&gt; SAP-WUG@mit.edu<BR>&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<BR><br /><hr />Insert movie times and more without leaving HotmailŪ.  <a href='http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009' target='_new'>See how.</a></body>
</html>