Tying Transactions to Starting Events in Workflow -SAP Version 4.7

DeLeon, Roberto C. Roberto.DeLeon at aaipharma.com
Tue Oct 24 15:35:47 EDT 2006


To whom it may concern:
 
I just recently signed up for this user group to see if one of you can
help me out.
 
I am currently designing a workflow that is to be triggered when:
 
a) An internal order is CREATED for a specific internal order type
(transaction KO04)
b) An existing internal order is CHANGED for a specific internal order
type (transaction KO04 as well)
 
1. I've created both events in my BOR object type ZBUS2075 which is a
subtype of the standard supertype or object type BUS2075 (internal
Order)
 
2. I've set up both my event linkage types as follows using transaction
SWETYPV:
    
    Object Category    Object Type        Event
Receiver Type
 
    BO                       ZBUS2075         CREATE_ZCIP
WS90000001 (my workflow)
 
    BO                       ZBUS2075         CHANGE_ZCIP
WS90000001 (my workflow)
 
 
       Linkage settings for both events (Event Receiver)
 
       Receiver Call:                        Function Module
 
       Receiver Function Module:      SWW_WI_CREATE_VIA_EVENT
 
       Linkage Activated                   X (activated)     
 
3. If I trigger the event with transaction SWUE or SWUS it will start
the workflow correctly.  However, if I go into KO04 and create
   an internal order type ZCIP (custom to business) or change an
existing order it will not trigger the CREATE_ZCIP or CHANGE_ZCIP event
   and hence the workflow.
 
4. I put a trace on the event it will give me a warning message "Task
CER Notification of creation cannot be started immediately" which
    is the first task on my workflow.
 
Help would be greatly appreciated regarding how to link a transaction to
a starting event.
 
Thank you,
 
Sincerely,
 
Roberto. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20061024/86f5b467/attachment.htm


More information about the SAP-WUG mailing list