Event Container and Event Instance Data

Nobles, Diane nobles_dh at naptheon.com
Thu Aug 29 09:50:08 EDT 2002


Thanks Joyce.  I was already aware of the reciever trick, I was just looking
for a transaction or a more standard access.  And yes I have taken all the
WF classes, unfortunately they were spaced out and for different versions,
(I think I've gone through about 3-4 versions of SAP during this training)
and now with 4.6c things are quite different.  Anyway, we are thinking alike
as I am currently meeting with a consultant, who I've worked with previously
with workflow.
 
I do have another question.  Yesterday, while triggering a workflow,which
seemed to be working fine as long as we received only one event, we sent
WI's to every user in the box.  We noticed this occurred only when we
received several events triggering the workflow multiple times.  This
included folks that had no association to the process.  The workflow uses a
standard role to send emails to users taken from the notification header,
person responsible or task user responsible.  Folks in the notification
received their notice plus some and others simply received one.  Is there
something in the WF manager that if data cannot be deciphered that it sends
a notification to all sap users.  The task is assigned general user.
 
Has anyone experienced this???  The task has to be general user because we
do not know who could be triggering the WF and in some cases it is an
external source creating the event.  Anyway we do not want all notifications
to go to all people at any one time anyway.  Any thoughts gang???
 
 
 
----Original Message-----
From: Dart, Jocelyn [mailto:jocelyn.dart at sap.com]
Sent: Wednesday, August 28, 2002 9:43 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Event Container and Event Instance Data
 
 
Hi Diane,
Always say what release you are working with, as these things are different
depending on what release you are in.
 
In 4.6C:
 
1. The parameters of the event are defined in the object type, so you can
see and change the paramters of an event in the business object builder,
SWO1. However changing the parameters is only part of the problem - you need
to also get the application to fill those parameters.  Usually this is NOT
what you want to do.  You usually want to use the Event Object and the Event
Creator to derive extra information within your workflow.  If you are just
after texts in your task description then they are also usually taken from
attributes of the object.
 
Event instance data means something specific in workflow terminology and
from your description I'm not sure that's really what you after.
 
2. In transaction SWETYPV, you can create a new entry to send you a mail
showing you your event parameters, by entering: Business Object Type Event
Receiver type = your userid Receiver FM = SWE_EVENT_MAIL Whenever the event
is created a mail will then be sent to you showing you the parameters
passed. This assumes your function module is starting the workflow by
raising an event in the first place of course.
 
Frankly, I think you need some consulting assistance from a more experienced
workflow person at this point. If you don't have someone you can go to you
might want to talk to your SAP account manager about organising some help. A
few hours with someone who has done this before can significantly cut your
development time. If you haven't attended the BC601 class yet I would also
strongly suggest you do so. Regards,
        Jocelyn Dart
Consultant (SRM, EBP, Workflow)
and co-author of the book
"Practical Workflow for SAP"
SAP Australia
email: jocelyn.dart at sap.com
phone: +61 412 390 267
fax:   +61 2 9935 4880
 
 
 
 
 
-----Original Message-----
From: Nobles, Diane [mailto:nobles_dh at naptheon.com]
Sent: Thursday, 29 August 2002 4:07 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Event Container and Event Instance Data
 
 
Good afternoon all.  Need to locate Event Instance Data and also how to
access the event container to make changes.  I have two un-related problems.
 
 
1.  I am using a standard task from SAP and the event container does not
have the right elements in it.  I want to add some elements, but can't seem
to locate the change functionality.
 
2.  The other problem we are kicking off a workflow with a functionmodule
and we want to see what event parameters we are capturing.
 
 
Diane Nobles
 


More information about the SAP-WUG mailing list