Using the Workflow Event Queue

Michael Pokraka workflow at quirky.me.uk
Wed Feb 4 04:36:49 EST 2004


Hi Jason,
Have you tried raising the event directly (SWUE)?
Cheers
Mike
 
--- "Scott, Jason J." <Jason.Scott at adesisolutions.com> wrote:
> Thanks again Jocelyn.
>
> When I have the 'Use Event Queue' flag set to ' ' on the linkage it
> works perfectly and the event appears in the event log. The
> SAP_WAPI_CREATE_EVENT function issues a message stating that 1 event
> receiver has been found with no errors.
>
> When I have the 'Use Event Queue' flag set to 'X' on the linkage the
> event does not appear in the Event log, nor does it appear in the event
> queue overview! The SAP_WAPI_CREATE_EVENT function still issues the
> message that 1 event receiver was found and that there were no errors.
>
> I can't see any tRFC issues, lock issues, nor shortdumps.
>
> Can't find anything on OSS about this either?!?
>
> Jason Scott.
>
>
> -----Original Message-----
>> From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
> Dart, Jocelyn
> Sent: Wednesday, 4 February 2004 12:17 PM
> To: SAP-WUG at MITVMA.MIT.EDU
> Subject: Re: Using the Workflow Event Queue
>
>
> No that should be alright - but if you aren't seeing anything in the
> event log then it sounds like your event isn't being fired at all - in
> which case perhaps it isn't getting to the commit work. The event log
> will tell you if an event has been sent to the event queue. Jocelyn.
>
> -----Original Message-----
>> From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
> Scott, Jason J.
> Sent: Wednesday,4 February 2004 3:02 PM
> To: SAP-WUG at MITVMA.MIT.EDU
> Subject: Re: Using the Workflow Event Queue
>
>
> Hi Jocelyn,
>
> The event is being fired from within a BADI that does a subsequent
> commit work (transaction PA30) so the event will only work (without the
> event queue) with the commit_work parameter set to ' '.
>
> Are you saying that the event queue will not pick up the event unless I
> have the commit_work flag set on the function module?
>
> Jason Scott
>
>
>
> -----Original Message-----
>> From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
> Dart, Jocelyn
> Sent: Wednesday, 4 February 2004 11:56 AM
> To: SAP-WUG at MITVMA.MIT.EDU
> Subject: Re: Using the Workflow Event Queue
>
>
> Jason - Did you remember to COMMIT WORK?
> Jocelyn
>
> -----Original Message-----
>> From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
> Scott, Jason J.
> Sent: Wednesday,4 February 2004 2:49 PM
> To: SAP-WUG at MITVMA.MIT.EDU
> Subject: Using the Workflow Event Queue
>
>
> Hello,
>
> I know this sounds simple, but what am I missing here:
>
> I'm trying to turn the event queue on for a certain event.
>
> 1) I have turned the event queue on in transaction SWEQADM (Queue
> Administration) - the background job is successfully scheduled and
> running every minute.
>
> 2) I have clicked "on" the 'Use Event Queue' Option on the event linkage
> and SWEQADM correctly shows this by increasing the number of queue
> enabled linkages by 1.
>
> 3) I am firing the event via the SAP_WAPI_CREATE_EVENT function in an
> abap program which works perfectly when NOT using the event queue.
>
> I notice that when the event queue is active on the linkage that the
> event does not appear in the Event Log (SWEL). I cannot ever see the
> event appear in the Event Queue Browser???
>
> Any help would be greatly appreciated?
>
>
> Thankyou.
>
> Jason Scott
>
>
 


More information about the SAP-WUG mailing list