Triggering Workflow

Dart, Jocelyn jocelyn.dart at sap.com
Wed Nov 8 21:59:23 EST 2000


Hi Simon,
 
Yes the workflow may work fine, but you still have to activate the trigger
in the application itself.
Most applications do not send out events until they are turned on.
 
For turning on events linked to change documents, message control (i.e.
output determination) and status management
there are menu entries under Tools > Business Workflow > Business
Development.
 
For other events there may be:
1. Specific customizing options in the IMG - e.g. parked FI document events
2. Specific customizing options in the relevant admin/master
data/development area - e.g. IDOC events.
 
For HR events there are some specific tables you need to fill - the tables
used changed between 3.1 and 4.0.
 
In 4.0 and above the tables are T779W (SAP standard event linkage) and T779X
(Customer event linkages).  In 3.1 the tables were T588W and T588X. This is
documented in Alan Rickayzen's OSS note 152871 (release upgrade
considerations).  Anyway this is where you link the HR infotypes and
operations to your business object/event.
 
Once you've set up the data, I recommend turning on the event log,
performing your HR transaction, then checking the event log to make sure
that the event has been raised.  Sometimes it's not quite straightforward
with HR, for instance creating a new LOCKED infotype may raise a different
event to creating a new unlocked infotype, so you need to check which events
are being raised for whatever it is you are doing in HR, and adjust the
table T779X entries accordingly.
 
On a general note it's a good idea to check that you have an event being
triggered by whatever transaction/report/etc. you are using as part of your
initial workflow design.  Remember that worst case, you might have to code a
call into a user-exit or similar, or you might find that the transaction
works with a different business object than the one you were expecting which
could have a major impact on your workflow design.
 
P.S. Simon, if you know which instructors gave you the info, would you
please send me a mail direct to my email address jocelyn.dart at sap.com and
I'll pass this info on to them also to make sure people get the right
message in future.
Regards,
        Jocelyn Dart
Consultant (BBP, Ecommerce, Internet Transaction Server, Workflow)
SAP Australia
Email jocelyn.dart at sap.com <mailto:jocelyn.dart at sap.com>
Tel: +61 412 390 267
Fax: +61 2 9935 4880
 
 
-----Original Message-----
From: SIMON ORCHARD [mailto:ORCHARDS at gkn-whl.co.uk]
Sent: Thursday, 9 November 2000 2:31 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Triggering Workflow
 
 
Hi All,
 
I have created a workflow that is triggered by an employee being created in
HR. I have used the event "created" in object "persdata".
 
If I use the start workflow function the workflow works well. I have
activated the event linkage. But, if I create a new employee using
transaction PA40 and enter details on the relevant infotypes the event is
not triggered.
 
I have looked in the event log and nothing relevant is reported.
 
Any ideas?
 
Thanks,
 
Simon Orchard
Business Analyst, Information Systems
Ext: 4749
 


More information about the SAP-WUG mailing list