regarding triggering events

Dart, Jocelyn jocelyn.dart at sap.com
Thu Sep 8 02:29:33 EDT 2005


Vijay, 

Unless you are in a system *below* 4.6C - *PLEASE* use the WAPIs!  These
are the workflow equivalent of BAPIs.  Using SWE_EVENT_CREATE directly
is like using an internal SAP function module.  Its safer (for
upgradeability, support, etc.) to use the officially endorsed WAPI
routines. 

SAP_WAPI_CREATE_EVENT is the equivalent of SWE_EVENT_CREATE.  Note that
the container is passed as a simple table so you don't need workflow
macros to build it. 


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 vijay srikanth
Sent: Thursday, 08 September 2005 4:05 PM
To: sap-wug at mit.edu
Subject: Re: regarding triggering events


Thanks Paul,

Thats about linking the event and the workflow.
How do I link the Submit button in the portal and the event.
Should it be like when I press the submit button,
an RFC is called, which call SWE_EVENT_CREATE to start the event,
which in turn starts the workflow. Thanks in advance,


Regards,
Vijay

>From: Paul.Bakker at osr.treasury.qld.gov.au
>Reply-To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
>To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
>Subject: Re: regarding triggering events
>Date: Thu, 8 Sep 2005 15:31:53 +1000
>
>
>Hi Vijay,
>
>That's quite simple to do.
>
>Edit the workflow (via PFTC). In the tab 'Triggering Events', enter
your
>event name.
>Then use transaction SWE2 to set up a link between the event and the
>workflow template. Make sure the
>'type linkage' box is ticked.
>
>You can manually test the event linkage using SWUE.
>
>Please note that workflows are not only started by events - you can
(e.g.)
>start them directly with a function call
>(as well as other exotic ways).
>
>cheers,
>Paul
>(Brisbane)
>
>
>
>
>                       "vijay srikanth"
>                       <vijay_d15 at hotmai        To:
sap-wug at mit.edu
>                       l.com>                   cc:
>                       Sent by:                 Subject:  regarding 
>triggering events
>                       sap-wug-bounces at m
>                       it.edu
>
>
>                       08/09/2005 14:54
>                       Please respond to
>                       "SAP Workflow
>                       Users' Group"
>
>
>
>
>
>
>Hi all,
>
>This is the situation.
>There's is a screen in the portal with a submit button.
>a customer when he clicks the submit button, a R/3 workflow should be
>triggered.
>I believe R/3 workflow can be triggered only by triggering an event.
>How do I make sure that when the user clicks a submit button, an event
is
>triggered which in turn starts the workflow. Now I know that
>SWE_EVENT_CREATE is the func. module to trigger events.
>Using this how do i start a custom workflow in R/3. Thanks in advance
for
>you help.
>
>
>Regards,
>Vijay
>
>
>_______________________________________________
>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


_______________________________________________
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