Wait for event conundrum

Daniel Fernández wfdfl1975 at yahoo.es
Wed Dec 19 14:22:05 EST 2001


I don4t know if you have tried with another function
module but I think that There is any function more
that it trgger a event. You could to search in
function library by *EVENT*CREATE* or *CREATE*EVENT*
 
Regards,
 
Daniel.
 
 --- David Weston <weston at clockwork.ca> escribis: >
Yep its active, just tried putting a breakpoint at
> the function module SWE_EVENT_CREATE_IN_UPD_TASK,
> hit Continue and it found the waited event 10
> minutes later and all is well in SWEL.
>
> Removed the breakpoint so no "COMMIT WORK"
> interruption and it doesn't work. Strange.
>
> Set the breakpoint again, stops at the breakpoint,
> does a forced "COMMIT WORK" and it works again !!
> I tried coding an explicit COMMIT WORK before the
> function module call and after it and that doesn't
> work either.
>
> Set the breakpoint again, wait 10 minutes and lo and
> behold it works.
>
> Now I am intrigued !! Any ideas ?
>
> Dave
>
>   ----- Original Message -----
>   From: Becker Stephan (extern)
>   To: SAP-WUG at MITVMA.MIT.EDU
>   Sent: Wednesday, December 19, 2001 10:30 AM
>   Subject: Re: Wait for event conundrum
>
>
>
>   Dave,
>   is the event linkage active for the instance
> linkage in SWEINST?
>   Stephan
>     -----Original Message-----
>     From: David Weston [mailto:weston at clockwork.ca]
>     Sent: Wednesday, December 19, 2001 3:54 PM
>     To: SAP-WUG at MITVMA.MIT.EDU
>     Subject: Wait for event conundrum
>
>
>     Hi folks,
>
>     I have a workflow with a wait for event step in
> it. The "waited" event gets triggered after 10
> minutes using the "start with delay option" but in
> the SWEL log I get 'No receiver entered" found. This
> used to work last week. The wait step has a latest
> end deadline that gets triggered after 12 minutes as
> I am using the "start with delay" feature of the
> SWE_EVENT_CREATE_IN_UPD_TASK function module.
>
>     The event gets triggered by :-
>
>     call function 'SWE_EVENT_CREATE_IN_UPD_TASK'
>
>         EXPORTING
>
>             objtype = 'PDOTYPE_O'
>
>             objkey = my_objkey
>
>             event = 'RESPONSIBILITY'
>
>             creator = l_event_creator
>
>             start_with_delay = 'X'
>
>         TABLES
>
>             EVENT_CONTAINER = event_container.
>
>
>
>     When I look at the instance type linkages in
> SWEINST I see my object, the correct key and the
> correct receiver id (work item id).
>
>     No errors in SM21, SM58 either.
>
>     Any ideas out there as to what might be the
> cause ?.
>
>     Cheers
>
>     Dave
>
>
>
>
>
>
 
_______________________________________________________________
Do You Yahoo!?
Yahoo! Messenger
Comunicacisn instantanea gratis con tu gente.
http://messenger.yahoo.es
 


More information about the SAP-WUG mailing list