Workflow does not start
Pinciak, David
DPinciak at massmutual.com
Thu Jun 30 13:28:24 EDT 2011
I use a different FM.
call function 'SWE_EVENT_CREATE'
exporting
objtype = c_objtype
objkey = w_objkey
event = c_event
importing
event_id = w_event_id
tables
event_container = wf_container
exceptions
objtype_not_found = 1
others = 2.
commit work.
A commit work statement following raising the event my help too.
________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of david.s.dittmer at accenture.com
Sent: Thursday, June 30, 2011 1:01 PM
To: sap-wug at mit.edu
Subject: Workflow does not start
Hello experts,
I am trying to trigger a workflow from a totally customized procedure
which saves into a custom table. The workflow must trigger when the
object is saved. I have set up a business object with events/attributes
and methods and when manually triggering the event using transaction
SWUE the event is triggered. However when the object is saved the event
is not triggered automatically. When I debugged the code the transaction
to create the event SWW_WI_CREATE_VIA_EVENT_IBF is not found. At the
risk of stating the obvious should FM SWW_WI_CREATE_VIA_EVENT_IBF not
be inserted in to the save procedure of the customized transaction or is
there another way of triggering this event perhaps by expanding the
attributes of the business object?
Any thoughts on this issue.
Thanks
David Dittmer
________________________________
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.
---------------------------------------------------------
This e-mail transmission may contain information that is
proprietary, privileged and/or confidential and is
intended exclusively for the person(s) to whom it is
addressed. Any use, copying, retention or disclosure by
any person other than the intended recipient or the
intended recipient's designees is strictly prohibited. If
you are not the intended recipient or their designee,
please notify the sender immediately by return e-mail and
delete all copies.
---------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20110630/b6eac908/attachment.htm
More information about the SAP-WUG
mailing list