<html><div style='background-color:'><DIV>
<P><BR>A quick thought on the run : "Have you checked your general customising for Deadline Monitoring" in the Workflow customisng. (BackgroundJob SWWDHEX) ?<BR></P></DIV>
<DIV></DIV><BR><BR><BR>
<DIV></DIV>
<DIV align=left><EM>ABAP-Workflow-HR SAP Certified Senior Consultant</EM></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>&gt;From: Shane Burns <SHANE.BURNS@BOIMAIL.COM>
<DIV></DIV>&gt;Reply-To: SAP Workflow Users' Group <SAP-WUG@MITVMA.MIT.EDU>
<DIV></DIV>&gt;To: SAP-WUG@MITVMA.MIT.EDU
<DIV></DIV>&gt;Subject: Annual Leave question
<DIV></DIV>&gt;Date: Thu, 29 Aug 2002 10:55:54 +0100
<DIV></DIV>&gt;
<DIV></DIV>&gt;Hiya workflowers,
<DIV></DIV>&gt;
<DIV></DIV>&gt;I have a question regarding the SAP standard Annual Leave workflow
<DIV></DIV>&gt;(WS20000081).
<DIV></DIV>&gt;
<DIV></DIV>&gt;When a user applies for leave it is approved by the manager,
<DIV></DIV>&gt;after approval the workflow goes into the sub workflow Find Employee and
<DIV></DIV>&gt;Lock (WS01200003), where it locks the records, updates their absence
<DIV></DIV>&gt;quota's etc and unlocks them.
<DIV></DIV>&gt;
<DIV></DIV>&gt;We are getting an error here for certain users, the step to lock the user
<DIV></DIV>&gt;has a deadline set for ten minutes to send a message to the superior if the
<DIV></DIV>&gt;user cannot be locked within this time frame, the deadline uses the role
<DIV></DIV>&gt;resolution AC168. (I know we have a problem with this Role as it returns
<DIV></DIV>&gt;an error if the superior position is not occupied).
<DIV></DIV>&gt;
<DIV></DIV>&gt; Latest start: Cannot establish recipient upon missed deadline
<DIV></DIV>&gt; Workflow Find employee and lock no. 000000448964 activity 0000000032
<DIV></DIV>&gt;role 'AC00000168': No agent found
<DIV></DIV>&gt; Resolution of role AC00000168 for task : no agent found
<DIV></DIV>&gt;
<DIV></DIV>&gt;The deadline doesn't even seem to run, it goes into error shortly after it
<DIV></DIV>&gt;has been approved.
<DIV></DIV>&gt;It seems that the certain employee's records cannot be locked, although I
<DIV></DIV>&gt;can lock them by instantiating the business object EMPLOYEET method
<DIV></DIV>&gt;ENQUEUE, or by testing the function module BAPI_EMPLOYEET_ENQUEUE which the
<DIV></DIV>&gt;workflow uses.
<DIV></DIV>&gt;
<DIV></DIV>&gt;This makes me think that the whole step is evaluated at runtime, and
<DIV></DIV>&gt;because of these users with unnoccupied superior positions, the specific
<DIV></DIV>&gt;step would then be seen as error, and would not even try to lock the users,
<DIV></DIV>&gt;and force the workflow into error straight away.
<DIV></DIV>&gt;
<DIV></DIV>&gt;Would this be correct or does anyone else have any other ideas,
<DIV></DIV>&gt;Your help is greatly appreciated,
<DIV></DIV>&gt;
<DIV></DIV>&gt;Thanks,
<DIV></DIV>&gt;
<DIV></DIV>&gt;Shane Burns,
<DIV></DIV>&gt;Bank Of Ireland,
<DIV></DIV>&gt;Dublin,
<DIV></DIV>&gt;Ireland.
<DIV></DIV>&gt;
<DIV></DIV>&gt;
<DIV></DIV>&gt;
<DIV></DIV>&gt;********************************************************************
<DIV></DIV>&gt;This email and any files transmitted with it are confidential and
<DIV></DIV>&gt;intended solely for the use of the individual or entity to whom they
<DIV></DIV>&gt;are addressed. If you have received this email in error please
<DIV></DIV>&gt;notify us immediately at MailManager@psir.ie and delete this E-mail
<DIV></DIV>&gt;from your system. Thank you.
<DIV></DIV>&gt;It is possible for data transmitted by email to be deliberately or
<DIV></DIV>&gt;accidentally corrupted or intercepted. For this reason, where the
<DIV></DIV>&gt;communication is by email, the Bank of Ireland Group does not accept
<DIV></DIV>&gt;any responsibility for any breach of confidence which may arise
<DIV></DIV>&gt;through the use of this medium.
<DIV></DIV>&gt;This footnote also confirms that this email message has been swept
<DIV></DIV>&gt; for the presence of known computer viruses.
<DIV></DIV>&gt;********************************************************************
<DIV></DIV></div><br clear=all><hr>Chat with friends online, try MSN Messenger: <a href='http://g.msn.com/1HM1ENBE/c144??PS=47575'>Click Here</a><br></html>