terminating event on a synchronous task?

Paul.Bakker@osr.treasury.qld.gov.au Paul.Bakker at osr.treasury.qld.gov.au
Wed Aug 29 18:02:36 EDT 2007


Eh? I'm taken aback!

What does one use for simple notification workitems (just text, no business
objects to view), if not the trusty ol' SELFITEM.DISPLAY?

Are you perhaps suggesting that a task based on method ZMYOBJECT.DISPLAY
should be used?
What is the best practice.

We're on Basis 620.

thanks,
Paul B




                                                                           
             "Dart, Jocelyn"                                               
             <jocelyn.dart at sap                                             
             .com>                                                      To 
             Sent by:                  "SAP Workflow Users' Group"         
             sap-wug-bounces at m         <sap-wug at mit.edu>                   
             it.edu                                                     cc 
                                                                           
                                                                   Subject 
             29/08/2007 18:27          RE: terminating event on a          
                                       synchronous task?                   
                                                                           
             Please respond to                                             
               "SAP Workflow                                               
               Users' Group"                                               
             <sap-wug at mit.edu>                                             
                                                                           
                                                                           




Ok, Paul we'll pass over the nasty approach of using SELFITEM.DISPLAY in
the first place...

Check your ZMYOBJECT instance exists in the work item container.
You would need to bind the ZMYOBJECT instance from the workflow to the
task and then create your terminating event based on the ZMYOBJECT
instance in the container.  You shouldn't need to play with the event
binding at all.


Regards,
Jocelyn Dart
Senior Consultant
SAP Australia Pty Ltd.
Level 1/168 Walker St.
North Sydney
NSW, 2060
Australia
T   +61 412 390 267
M   + 61 412 390 267
E   jocelyn.dart at sap.com
http://www.sap.com

The information contained in or attached to this electronic transmission
is confidential and may be legally privileged. It is intended only for
the person or entity to which it is addressed. If you are not the
intended recipient, you are hereby notified that any distribution,
copying, review, retransmission, dissemination or other use of this
electronic transmission or the information contained in it is strictly
prohibited. If you have received this electronic transmission in error,
please immediately contact the sender to arrange for the return of the
original documents.
Electronic transmission cannot be guaranteed to be secure and
accordingly, the sender does not accept liability for any such data
corruption, interception, unauthorized amendment, viruses, delays or the
consequences thereof.
Any views expressed in this electronic transmission are those of the
individual sender, except where the message states otherwise and the
sender is authorized to state them to be the views of SAP AG or any of
its subsidiaries. SAP AG, its subsidiaries, and their directors,
officers and employees make no representation nor accept any liability
for the accuracy or completeness of the views or information contained
herein. Please be aware that the furnishing of any pricing information/
business proposal herein is indicative only, is subject to change and
shall not be construed as an offer or as constituting a binding
agreement on the part of SAP AG or any of its subsidiaries to enter into
any relationship, unless otherwise expressly stated.


-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Paul.Bakker at osr.treasury.qld.gov.au
Sent: Wednesday, 29 August 2007 5:26 PM
To: sap-wug at mit.edu
Subject: terminating event on a synchronous task?

Hello!

I have set up a terminating event on a _synchronous_ task, but it is not
working.
I assume that this is allowed?
I suspect the problem may be that the tasks's object is not the same as
the
terminating event's object.

The task is based on the method SELFITEM.DISPLAY (it's just a
notification
step)

The terminating event is based on the event ZMYOBJECT.COMPLETED.

When I created the terminating event for the task, I made the following
(automatic) binding:

&EVT_OBJECT&  -> &EVT_OBJECT&   (which are both based on ZMYOBJECT).

When I check SWEINST (Instance Linkages), I can see that an entry has
been
made for
ZMYOBJECT.COMPLETED-> WORKITEM, and it is active, but no instance values
are stored underneath it (in Object Data) when I create a workflow
instance.

The raising of the event ZMYOBJECT.COMPLETED has no effect.
SWEL says: 'No receiver entered'

What am I missing here? Or am I attempting the impossible? There must be
some elegant way
to terminate a SELFITEM.DISPLAY step when it has become redundant...

thanks in advance for any tips
Paul Bakker (Brisbane)


************************************************************************
************************************************************************
******

Only an individual or entity who is intended to be a recipient of this
e-mail may access or use the information contained in this e-mail or any
of its attachments.  Opinions contained in this e-mail or any of its
attachments do not necessarily reflect the opinions of Queensland
Treasury.

The contents of this e-mail and any attachments are confidential and may
be legally privileged and the subject of copyright.  If you have
received this e-mail in error, please notify Queensland Treasury
immediately and erase all copies of the e-mail and the attachments.
Queensland Treasury uses virus scanning software.  However, it is not
liable for viruses present in this e-mail or in any attachment.

************************************************************************
************************************************************************
******

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug





More information about the SAP-WUG mailing list