<br><font size=2 face="sans-serif">Hello Shai,</font>
<br><font size=2 face="sans-serif">there was a presentation of such a solution
in the ASUG a few years ago by <b>Ulrich Mende</b>.</font>
<br><font size=2 face="sans-serif">I attach his presentation.</font>
<br><font size=2 face="sans-serif">Perhaps this can be useful for you as
well.</font>
<br>
<br><font size=2 face="sans-serif">Kind regards</font>
<br><font size=2 face="sans-serif">Viveka</font>
<br>
<br><font size=2 face="sans-serif">________________________________________________<br>
<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"Shai Eyal" <shaie@team.co.il></b>
</font>
<br><font size=1 face="sans-serif">Sent by: sap-wug-bounces@mit.edu</font>
<p><font size=1 face="sans-serif">2006-01-23 19:39</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
"SAP Workflow Users' Group" <sap-wug@mit.edu></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif"><sap-wug@mit.edu></font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">RE: Deadline and calendar</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Hi all,<br>
I'm using deadline for latest start: work item created + 3 days. I've<br>
found that the system counts 3 days, without checking any calendar.<br>
Therefore, if task was created on Friday evening, a deadline will appear<br>
in Monday, even though Saturday + Sunday weren't working days.<br>
Is there a way to relate it to SAP calendar ?<br>
<br>
Thanks,<br>
<br>
Shai E.<br>
<br>
-----Original Message-----<br>
From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On Behalf<br>
Of sap-wug-request@mit.edu<br>
Sent: Saturday, January 21, 2006 7:03 PM<br>
To: sap-wug@mit.edu<br>
Subject: SAP-WUG Digest, Vol 14, Issue 62<br>
<br>
Send SAP-WUG mailing list submissions to<br>
sap-wug@mit.edu<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
or, via email, send a message with subject or body 'help' to<br>
sap-wug-request@mit.edu<br>
<br>
You can reach the person managing the list at<br>
sap-wug-owner@mit.edu<br>
<br>
When replying, please edit your Subject line so it is more specific than<br>
"Re: Contents of SAP-WUG digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Keep Single step task from completing until Dead Line<br>
date (Rick Sample)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 20 Jan 2006 15:47:26 -0600<br>
From: "Rick Sample" <Rick.Sample@gbe.com><br>
Subject: Re: Keep Single step task from completing until Dead Line<br>
date<br>
To: sap-wug@mit.edu<br>
Message-ID: <200601202148.k0KLlI8F028634@ns1.graybar.com><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Mike,<br>
I am not in the ofc right now, but it was the first exception from the<br>
call to SWW_WI_START. <br>
<br>
Bottom line, if I have a terminating event in the task the task should<br>
not be set to completed until this event triggers event if I execute the<br>
task. Yes? <br>
<br>
When I call the SWW_WI_START, do I need to add or change any parms for<br>
this to wait for term event?<br>
<br>
Before Async changes:<br>
I start the task via SWW_WI_START. I use the Deadline date and action.
<br>
This works fine. <br>
I have a method on zbus2032-doSomething. From this method, I call a<br>
program and return. Task gets set to Comppleted status. <br>
Also, if dead line is reached it gets set to completed. <br>
This is expected results.<br>
<br>
After Async changes:<br>
Start Task with SWW_WI_START with same Deadline date and action. <br>
Added a zDummy event to zbus2032. <br>
Added the event to the terminating events in the Task. <br>
Changed the method I call in zbus2032 to Async. <br>
Save / complie changes on bus2032 and my task.<br>
<br>
The thinking here is that the task shouldn't be set to complete until<br>
the event triggers. <br>
<br>
The ESS Time Approval is a singel step task and waits for a term event<br>
to complete. I will look at it Monday and compare. <br>
<br>
Thanks!<br>
Rick<br>
<br>
<br>
>>> wug.replies@workflowconnections.com 01/19/06 17:01 PM >>><br>
Hi Rick,<br>
That should definitively work. The method has to be asynchronous though,<br>
<br>
it seems you had some other problem preventing it starting. Can you<br>
clarify "Failed to start"?<br>
<br>
Cheers<br>
Mike<br>
<br>
Rick Sample wrote:<br>
> I tried to start the Task with the object method set as asynchronous.<br>
> Failed to start. <br>
> <br>
> I tried a zdummy terminating event in the Terminating Events. Didn't
<br>
> matter.<br>
> When I execute the task, it completes! <br>
> <br>
> I checked out the code in the Confirm to Complete FM. Way too much<br>
work<br>
> for a simple task. <br>
> Looks like the simplest way is to create a WF with the task and loop
<br>
> until terminating event or deadline reached.<br>
> <br>
> Any other ideas, fire away...<br>
> <br>
> <br>
> <br>
> <br>
>>>>David.Trant@andrew.com 1/19/2006 14:25:03 >>><br>
> <br>
> What about making it an asynchronous task and finding/creating a <br>
> terminating event to shut it down when the deadline is reached?<br>
> <br>
> <br>
> <br>
> ________________________________<br>
> <br>
> From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On
<br>
> Behalf Of Edwin Mukusha<br>
> Sent: Thursday, January 19, 2006 12:27 PM<br>
> To: SAP Workflow Users' Group<br>
> Subject: Re: Keep Single step task from completing until Dead Line
<br>
> date<br>
> <br>
> <br>
> <br>
> <br>
> Hi Rick,<br>
> <br>
> I don't think you can do this without a workflow template of a writing<br>
<br>
> this logic in a custom method (which would amount to the some effort
<br>
> anyway). You are better off putting this standard task in a
wf <br>
> template where you will more options at your disposal.<br>
> <br>
> sorry if this is not answer you wanted. <br>
> <br>
> Edwin. <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> "Rick Sample" <Rick.Sample@gbe.com><br>
> Sent by: sap-wug-bounces@mit.edu<br>
> <br>
> 01/19/2006 10:14 AM<br>
> Please respond to "SAP Workflow Users' Group" <br>
> <br>
> <br>
> To: sap-wug@mit.edu
<br>
> cc: <br>
> Subject: Keep
Single step task from completing until<br>
> Dead<br>
> Line date<br>
> <br>
> <br>
> <br>
> <br>
> I have an standard task that has a Confirm on end. Started via <br>
> SWW_WI_START. (I know, I need to change to API but not today) This
<br>
> keeps the task in the inbox until the user completes or until the
Dead<br>
<br>
> Line is reached and then terminates.<br>
> <br>
> Now, business does not like the Confirm on End pop-up. (Don't ask!)
<br>
> They want it to just stay in the inbox until the deadline date. The
<br>
> user could execute the task several times and just not go away until
<br>
> dead line.<br>
> <br>
> I would rather not create a whole WF template just to loop. <br>
> Anyone know of a way to achieve this in 4.6c?<br>
> <br>
> Rick<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>
------------------------------------------------------------------------<br>
------------------------<br>
> This message is for the designated recipient only and may<br>
> contain privileged, proprietary, or otherwise private information.
<br>
> If you have received it in error, please notify the sender<br>
> immediately and delete the original. Any unauthorized use of<br>
> this email is prohibited.<br>
><br>
------------------------------------------------------------------------<br>
------------------------<br>
> [mf2]<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>
<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>
End of SAP-WUG Digest, Vol 14, Issue 62<br>
***************************************<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
</tt></font>
<br>