Annual Leave question

Shane Burns Shane.Burns at boimail.com
Thu Aug 29 05:55:54 EDT 2002


Hiya workflowers,
 
I have a question regarding the SAP standard Annual Leave workflow
(WS20000081).
 
When a user applies for leave it is approved by the manager,
after approval the workflow goes into the sub workflow Find Employee and
Lock (WS01200003), where it locks the records, updates their absence
quota's etc and unlocks them.
 
We are getting an error here for certain users, the step to lock the user
has a deadline set for ten minutes to send a message to the superior if the
user cannot be locked within this time frame, the deadline uses the role
resolution AC168.  (I know we have a problem with this Role as it returns
an error if the superior position is not occupied).
 
     Latest start: Cannot establish recipient upon missed deadline
     Workflow Find employee and lock no. 000000448964 activity 0000000032
role 'AC00000168': No agent found
     Resolution of role AC00000168 for task : no agent found
 
The deadline doesn't even seem to run, it goes into error shortly after it
has been approved.
It seems that the certain employee's records cannot be locked, although I
can lock them by instantiating the business object EMPLOYEET method
ENQUEUE, or by testing the function module BAPI_EMPLOYEET_ENQUEUE which the
workflow uses.
 
This makes me think that the whole step is evaluated at runtime, and
because of these users with unnoccupied superior positions, the specific
step would then be seen as error, and would not even try to lock the users,
and force the workflow into error straight away.
 
Would this be correct or does anyone else have any other ideas,
Your help is greatly appreciated,
 
Thanks,
 
Shane Burns,
Bank Of Ireland,
Dublin,
Ireland.
 
 
 
********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please
notify us immediately at MailManager at psir.ie and delete this E-mail
from your system. Thank you.
It is possible for data transmitted by email to be deliberately or
accidentally corrupted or intercepted. For this reason, where the
communication is by email, the Bank of Ireland Group does not accept
any responsibility for any breach of confidence which may arise
through the use of this medium.
This footnote also confirms that this email message has been swept
 for the presence of known computer viruses.
********************************************************************
 


More information about the SAP-WUG mailing list