<div>G'day Jocelyn,</div>
<div>&nbsp;</div>
<div>Thanks for the response. I can see that a manual update to the container will work, but it does seem like it shouldn't be necessary.</div>
<div>&nbsp;</div>
<div>I've checked that the deadline job has run but for a step with a modeled deadline it fails to set the appropriate indicators. There is no little bell against the deadline time in WI tech display (it turns blue, but isn't getting marked as passed deadline). Looking at the _Workitem container element and the attribute DeadlineStatus remains at 0000. 
</div>
<div>&nbsp;</div>
<div>I've checked in a 4.6C system and modeled deadlines _do_ get the DeadlineStatus set correctly (8998 for Latest End). I'm not sure if this purely a ECC5 issue, or whether the reevaluate agent is throwing a spanner in the works. Time for some digging through OSS I guess. If this attribute was getting set my text issues&nbsp;would be&nbsp;sorted as I&nbsp;could have a simple IF&nbsp;based on it. (Thanks for the UWL tip - I need to look into this).&nbsp;
</div>
<div>&nbsp;</div>
<div>Can anyone comment on whether modeled deadlines in an ECC5 system are setting the deadline status correctly or otherwise? </div>
<div>&nbsp;</div>
<div>Thanks,</div>
<div>Mark<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 6/16/06, <b class="gmail_sendername">Dart, Jocelyn</b> &lt;<a href="mailto:jocelyn.dart@sap.com">jocelyn.dart@sap.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Mark, </font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">1. Deadline indicators have absolutely nothing to do with the &quot;marking obsolete&quot; of the work item. Nor with the seriously annoying bouncing message in the SBWP inbox.&nbsp; 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&nbsp;has been escalated.&nbsp; It may be that&nbsp;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><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">2. Rather than playing around with a convoluted&nbsp;IF statement why not just have a container element in the task that holds some sort of &quot;This work is now overdue&quot; 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.&nbsp; So long as you display the message in the long text it should automatically appear in the work item text.&nbsp;&nbsp; 
</font></span></div>
<div dir="ltr" align="left"><span><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>&nbsp;</div>
<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&nbsp;&nbsp; +61 412 390 267</font></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1">
M&nbsp;&nbsp; + 61 412 390 267</font></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1">E&nbsp;&nbsp; <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jocelyn.dart@sap.com" target="_blank">jocelyn.dart@sap.com
</a></font></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.sap.com/" target="_blank">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>&nbsp;</div><br>
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">
sap-wug-bounces@mit.edu</a>] <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>&nbsp;</div></div>
<div><span class="e" id="q_10bda48dd8f063be_1">
<div></div>
<div>G'day all,</div>
<div>&nbsp;</div>
<div>ECC 5.0 NW04</div>
<div>&nbsp;</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>&nbsp;</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>&nbsp;</div>
<div>I&nbsp;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&nbsp;date and time to the deadline date/time. 
</div>
<div>&nbsp;</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&nbsp;&amp;_WORKITEM.LATESTENDDATE&amp; &lt; &amp;SY-DATUM&amp; or &amp;_WORKITEM.LATESTENDDATE&amp;&nbsp; = &amp;SY-DATUM&amp; and &amp;_WORKITEM.LATESTENDTIME&amp;&nbsp; &lt; &amp;SY-UZEIT&amp;. </div>
<div>This can be resolved using DEFINE statements and the creation of abreviations.</div>
<div>&nbsp;</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>&nbsp;</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>&nbsp;</div>
<div>I then got desperate and tried a PERFORM, but even that wouldn't work. Not really sure why. </div>
<div>&nbsp;</div>
<div>This all seems too difficult.</div>
<div>&nbsp;</div>
<div>Is anyone using the Agent Reevaluation technique? If so how do you&nbsp;handle it so that users recognise it as a workitem passed deadline??</div>
<div><font face="Arial" color="#0000ff" size="2"></font>&nbsp;</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>&nbsp;</div>
<div>Any thoughts?</div>
<div>&nbsp;</div>
<div>Thanks Mark</div>
<div>&nbsp;</div>
<div>(PS my SRM DEV environment died from overheating and has been down for over a week now&nbsp;- I will get back on the SRM case once I've got a system again)</div>
<div>&nbsp;</div></span></div>
<div></div></div><br>_______________________________________________<br>SAP-WUG mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">
http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br><br><br></blockquote></div><br>