How to Start workflow on customer table?

Wiz David yidysap at yahoo.com
Fri Sep 3 16:35:24 EDT 2004


Hi all,
 
Many thanks for your responce.
Wiz
 
 
 
 
 
 
 
Kjetil Kilhavn <kjetilk at statoil.com> wrote:You will have to code something no matter which god you worship. Either you
have to program event creation, or you have to program change documents or
you have to program a direct start of your workflow.
 
Safest solution I can think of at the moment: create an API for access to
the table and always use it
- raise a CREATED event whenever your API inserts a new entry
- raise a CHANGED event whenever your API updates an entry
and so on.
 
I prefer events to direct starts of workflows. The overhead is not even
microscopic compared to our monthly data volume growth and system load.
--
Kjetil Kilhavn
 
 
 
 
 
"toledo, joe"
om> cc: (bcc: Kjetil Kilhavn)
Sent by: SAP Subject: Re: How to Start workflow on customer table?
Workflow
A.MIT.EDU>
 
 
02.09.2004 15:54
Please respond to
"SAP Workflow Users'
Group"
 
 
 
 
 
 
If you are going to use the event (i.e. SAVED or CREATED) then you need
to use SWE_EVENT_CREATE to raise the event and then enable the type
linkage to your WF definition (SWETYPV) or use Start Conditions
(SWB_COND)
 
If you don't want to start your WF from an event, you might want to try
using FM SWW_WI_START_SIMPLE.
 
 
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
Wiz David
Sent: Thursday, September 02, 2004 6:23 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: How to Start workflow on customer table?
 
 
Hi all,
 
 
 
I run on 4.7
 
 
 
I created a Z table (customer table) and now I want to start workflow
for every new line in my table.
 
I created a new business object base my table and also created a event
in business object.
 
How I will start my workflow via the Event without coding program with
function
 
SWE_EVENT_CREATE ? (Can I?)
 
 
 
T.I.A
 
 
 
Wiz
 
 
 
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
 
 
 
 
-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.
 
 
 
---------------------------------
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
 


More information about the SAP-WUG mailing list