<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi Stephan,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks for this....learn something new =
all the=20
time, isn't life great !!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>OK here's another question....can this =
time be=20
configured ? It looks like its</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>hard coded to me in the function =
modules. 10=20
minutes seems a trifle excessive.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Alan....looks like a development =
request to me ?=20
Could we make this configurable ?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Can't hurt to ask =
right....:)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Happy holidays.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Cheers</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Dave</FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3DStephan.Becker.ext@mchw.siemens.de=20
  href=3D"mailto:Stephan.Becker.ext@mchw.siemens.de">Becker Stephan =
(extern)</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3DSAP-WUG@MITVMA.MIT.EDU=20
  href=3D"mailto:SAP-WUG@MITVMA.MIT.EDU">SAP-WUG@MITVMA.MIT.EDU</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, December 11, =
2001 3:24=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: Multiple Events =
triggered -=20
  'No receiver entered' message for one of them in SWEL</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
  class=3D755492108-11122001>dave,</SPAN></FONT></DIV>
  <DIV><SPAN class=3D755492108-11122001><FONT face=3DArial =
color=3D#0000ff size=3D2>use=20
  the parameter "start_with_delay" in the swe_event_create_in_upd_task =
function=20
  module for one of your event creations, that will delay the creation =
of that=20
  event for 10 minutes without slowing down the dialog task. when you =
are=20
  starting event creation in the dialog task, always use the =
_in_update_task=20
  function module, as otherwise you have an event and no corresponding =
document=20
  on the database in case of an update failure.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D755492108-11122001><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>stephan</FONT></SPAN></DIV>
  <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
    <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
    size=3D2>-----Original Message-----<BR><B>From:</B> David Weston=20
    [mailto:weston@clockwork.ca]<BR><B>Sent:</B> Tuesday, December 11, =
2001 2:32=20
    AM<BR><B>To:</B> SAP-WUG@MITVMA.MIT.EDU<BR><B>Subject:</B> Multiple =
Events=20
    triggered - 'No receiver entered' message for one of them in=20
    SWEL<BR><BR></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>Hi group,</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>I have a tricky question for the =
group. Using=20
    table T779X to trigger a function module when an org =
unit</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>is created to trigger a workflow, =
the function=20
    module&nbsp;does the following :-</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>1. Uses SWE_EVENT_CREATE to trigger =
the event=20
    'Created' and a WS workflow is started. In this workflow there is a =
wait=20
    step based on an event called 'Responsibility'.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>2. The function module could also =
trigger the=20
    event 'Responsibility' using SWE_EVENT_CREATE immediately after the=20
    'Created' event.</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Here's the issue: the wait step for =
the event=20
    'Responsibility' does not find a receiver because the 2 events are =
almost=20
    triggered simultaneously and the wait step in the workflow has not=20
    been&nbsp;created yet&nbsp;!</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>I have put&nbsp;in the ABAP code =
the command=20
    'WAIT UP TO n SECONDS' after the event 'Created' is triggered but =
hate this=20
    as it slows the dialog transaction !! I have tried using=20
    SWE_EVENT_CREATE_IN_UPD_TASK but that doesn't help =
either.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Has anyone else had this sort of =
problem, if so=20
    how did you go about solving it ?.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Cheers</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>Dave Weston</FONT></DIV>
    <DIV><FONT face=3DArial =
size=3D2>Clockwork.ca&nbsp;&nbsp;</FONT></DIV>
    <DIV>&nbsp;&nbsp;&nbsp;</DIV>
    <DIV>&nbsp;</DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>