<!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.2800.1543" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=205172800-16062006><FONT face=Arial
color=#0000ff size=2>Mark, </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=205172800-16062006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=205172800-16062006><FONT face=Arial
color=#0000ff size=2>1. Deadline indicators have absolutely nothing to do with
the "marking obsolete" of the work item. Nor with the seriously annoying
bouncing message in the SBWP inbox. Suggest you check the deadline job
SWWDHEX has run and check the technical work item display to make sure the work
item deadline end has been reached and that the deadline has been
escalated. It may be that bouncing message only appears for simple
deadlines but I had thought it was appearing for modelled deadlines as well.
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=205172800-16062006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=205172800-16062006><FONT face=Arial
color=#0000ff size=2>2. Rather than playing around with a convoluted IF
statement why not just have a container element in the task that holds some sort
of "This work is now overdue" message that you can display in your task. When
you first create the work item the container element is empty, when the deadline
is triggered you use SAP_WAPI_WRITE_CONTAINER to update the task
container. So long as you display the message in the long text it should
automatically appear in the work item text. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=205172800-16062006><FONT face=Arial
color=#0000ff size=2>Watch out if you are using the UWL as you need to sort out
your cache administration to get it to read the new text. </FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-us><FONT face=Arial size=1>Regards,</FONT></SPAN> <BR><SPAN
lang=en-us><B><FONT face=Arial color=#000080 size=1>Jocelyn
Dart</FONT></B></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080
size=1>Senior Consultant</FONT></SPAN> <BR><SPAN lang=en-us><B><FONT face=Arial
color=#808080 size=1>SAP Australia Pty Ltd.</FONT></B></SPAN> <BR><SPAN
lang=en-us><FONT face=Arial color=#808080 size=1>Level 1/168 Walker
St.</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080
size=1>North Sydney </FONT></SPAN><BR><SPAN lang=en-us><FONT face=Arial
color=#808080 size=1>NSW, 2060</FONT></SPAN> <BR><SPAN lang=en-us><FONT
face=Arial color=#808080 size=1>Australia</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Arial color=#808080 size=1>T +61 412 390
267</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080
size=1>M + 61 412 390 267</FONT></SPAN> <BR><SPAN lang=en-us><FONT
face=Arial color=#808080 size=1>E jocelyn.dart@sap.com</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1><A
href="http://www.sap.com/">http://www.sap.com</A></FONT></SPAN> </P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>The
information contained in or attached to this electronic transmission is
confidential and may be legally privileged. It is intended only for the person
or entity to which it is addressed. If you are not the intended recipient, you
are hereby notified that any distribution, copying, review, retransmission,
dissemination or other use of this electronic transmission or the information
contained in it is strictly prohibited. If you have received this electronic
transmission in error, please immediately contact the sender to arrange for the
return of the original documents. </FONT></SPAN></P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>Electronic
transmission cannot be guaranteed to be secure and accordingly, the sender does
not accept liability for any such data corruption, interception, unauthorized
amendment, viruses, delays or the consequences thereof.</FONT></SPAN></P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>Any views
expressed in this electronic transmission are those of the individual sender,
except where the message states otherwise and the sender is authorized to state
them to be the views of SAP AG or any of its subsidiaries. SAP AG, its
subsidiaries, and their directors, officers and employees make no representation
nor accept any liability for the accuracy or completeness of the views or
information contained herein. Please be aware that the furnishing of any pricing
information/ business proposal herein is indicative only, is subject to change
and shall not be construed as an offer or as constituting a binding agreement on
the part of SAP AG or any of its subsidiaries to enter into any relationship,
unless otherwise expressly stated. </FONT></SPAN></P>
<DIV> </DIV><BR>
<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>Mark Pyc<BR><B>Sent:</B>
Friday, 16 June 2006 1:11 AM<BR><B>To:</B> WUG<BR><B>Subject:</B> Deadline texts
using the Reevaluate Agent Events<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>G'day all,</DIV>
<DIV> </DIV>
<DIV>ECC 5.0 NW04</DIV>
<DIV> </DIV>
<DIV>I've been playing around with the use of triggering an event in a modeled
deadline path to recalculate agents to include the deadline recipients. I can
get this to happen however there seem to be some side effects.</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>Since the Workitem is not marked as obsolete the Deadline indicators do not
get set. Therefore no little bouncing message in the item preview. No indicator
that the item is overdue. </DIV>
<DIV> </DIV>
<DIV>I want to be able to have dynamic text changes so that the original
recipient knows that it's passed deadline and the new agents know why they are
seeing it. I can not figure it out. I have tried in vain to do an IF statement
comparing current date and time to the deadline date/time. </DIV>
<DIV> </DIV>
<DIV>Part of the problem is that you can't have an IF condition that goes over a
line in length. This is a problem since the logic is:</DIV>
<DIV>IF &_WORKITEM.LATESTENDDATE& < &SY-DATUM& or
&_WORKITEM.LATESTENDDATE& = &SY-DATUM& and
&_WORKITEM.LATESTENDTIME& < &SY-UZEIT&. </DIV>
<DIV>This can be resolved using DEFINE statements and the creation of
abreviations.</DIV>
<DIV> </DIV>
<DIV>The next part is that you don't have the option of using bracketed
statements or even having logical precedence of operators. </DIV>
<DIV> </DIV>
<DIV>I tried a concatenation of variable so that 'datetime' can be compared, but
I can't get the deadline date in yyyymmdd format (I can for sy-datum) and
therefore comparisons are pointless.</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>I then got desperate and tried a PERFORM, but even that wouldn't work. Not
really sure why. </DIV>
<DIV> </DIV>
<DIV>This all seems too difficult.</DIV>
<DIV> </DIV>
<DIV>Is anyone using the Agent Reevaluation technique? If so how do
you handle it so that users recognise it as a workitem passed
deadline??</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>I was persuing this technique really primarily so that Workitem execution
times could be reported accurately and secondly to because the design gives a
relatively clean flow diagram. If I can't let the users know that deadline has
passed though it doesn't seem such a hot solution. </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>Any thoughts?</DIV>
<DIV> </DIV>
<DIV>Thanks Mark</DIV>
<DIV> </DIV>
<DIV>(PS my SRM DEV environment died from overheating and has been down for over
a week now - I will get back on the SRM case once I've got a system
again)</DIV>
<DIV> </DIV></BODY></HTML>