Tying Transactions to Starting Events in Workflow -SAP Version 4.7

lianghuan.x.hu@accenture.com lianghuan.x.hu at accenture.com
Wed Oct 25 14:49:18 EDT 2006


S: Events can also be raised via change table method, which might be
preferred than user exit code.
 
Roberto: I just tried the things you did, and I can trigger my workflow
when I change an internal order via KO04 without problem. How did you do
the change table?
 
Larry Hu
 
 
 
 

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Stefaan Vermeulen
Sent: Wednesday, October 25, 2006 9:21 AM
To: SAP Workflow Users' Group
Subject: Re: Tying Transactions to Starting Events in Workflow -SAP
Version 4.7


Roberto,
 
Two things are bothering me ;
-You created new events, which off-course have to be triggered by you're
own coding.
You should use function SWE_EVENT_CREATE' somewhere in a user-exit.
-You created a type linkage on the ZBUS object, you should do this on
the BUS object instead to be able to use all functionality and history.

kind regards,
S.
 
2006/10/24, Dave Weston <Dave.Weston at clockwork.ca>: 

	
	just as a follow up, have you checked if KO04 generates any
change documents ?
	 
	Dave

________________________________

	From: sap-wug-bounces at mit.edu [mailto: sap-wug-bounces at mit.edu
<mailto:sap-wug-bounces at mit.edu> ] On Behalf Of DeLeon, Roberto C.
	Sent: Tuesday, October 24, 2006 4:01 PM
	To: SAP Workflow Users' Group
	Subject: RE: Tying Transactions to Starting Events in Workflow
-SAP Version 4.7
	
	 
	Dave,
	 
	Same problem.
	I can create the event manually with SWUE but if I go in and
change an internal order using KO04, it will not start it....
	Back to the drawing board...
	 
	Thanks,
	 
	Roberto.

________________________________

	From: sap-wug-bounces at mit.edu [mailto: sap-wug-bounces at mit.edu
<mailto:sap-wug-bounces at mit.edu> ] On Behalf Of Dave Weston
	Sent: Tuesday, October 24, 2006 3:49 PM
	To: SAP Workflow Users' Group
	Subject: RE: Tying Transactions to Starting Events in Workflow
-SAP Version 4.7
	
	 
	Seems like you need to check out if KO04 creates any change
docs, then you may be may be able to use transaction SWEC and SWU_EWCD
(wizard for change docs) to configure your object, change doc object and
your event so an event is triggered. 
	 
	Cheers
	Dave

________________________________

	From: sap-wug-bounces at mit.edu [mailto: sap-wug-bounces at mit.edu
<mailto:sap-wug-bounces at mit.edu> ] On Behalf Of DeLeon, Roberto C.
	Sent: Tuesday, October 24, 2006 3:36 PM
	To: sap-wug at mit.edu
	Subject: Tying Transactions to Starting Events in Workflow -SAP
Version 4.7
	Importance: High
	
	 
	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. 

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




This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information.  If you have received it in error, please notify the sender immediately and delete the original.  Any other use of the email by you is prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20061025/0e99d592/attachment.htm


More information about the SAP-WUG mailing list