<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 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>
<BR>
Thanks to both of you<BR>
<BR>
Adam<BR><BR> <BR>> Date: Tue, 9 Jun 2009 16:21:23 -0400<BR>> From: rmaley@erpworkflow.com<BR>> To: sap-wug@mit.edu<BR>> Subject: Re: Last agen work item was forwarded to?<BR>> <BR>> Adam, The FM would work provided the Work Item for which the deadline <BR>> reached is still active.<BR>> <BR>> Cheers,<BR>> Ramki.<BR>> <BR>> <BR>> Ramki Maley wrote:<BR>> > Hello Adam,<BR>> > <BR>> > FM SAP_WAPI_GET_WI_AGENTS should do that for you.<BR>> > <BR>> > Cheers,<BR>> > Ramki.<BR>> > <BR>> > Adam Kheil wrote:<BR>> >> Hi,<BR>> >> We are using deadline monitoring and I need to know if there is any <BR>> >> function module that I can use to find last agent work item was <BR>> >> forwarded to? I have to code something to send an email to the manager <BR>> >> of that person who was forwrded that work item and that person did not <BR>> >> complete the work item.<BR>> >> <BR>> >> <BR>> >> Thanks in advance<BR>> >> <BR>> >><BR>> >> ------------------------------------------------------------------------<BR>> >> Insert movie times and more without leaving HotmailŪ. See how. <BR>> >> <http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009> <BR>> >><BR>> >><BR>> >><BR>> >> ------------------------------------------------------------------------<BR>> >><BR>> >> _______________________________________________<BR>> >> SAP-WUG mailing list<BR>> >> SAP-WUG@mit.edu<BR>> >> http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>> > <BR>> _______________________________________________<BR>> SAP-WUG mailing list<BR>> SAP-WUG@mit.edu<BR>> 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>