Workflow does not start

Ramki Maley rmaley at erpworkflow.com
Thu Jun 30 13:40:41 EDT 2011


SAP_WAPI_CREATE_EVENT is what I use.

Cheers,
Ramki.

On 6/30/11 1:28 PM, Pinciak, David wrote:
> 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.
> ---------------------------------------------------------
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20110630/4c3a1a7a/attachment.htm


More information about the SAP-WUG mailing list