Program exit Exception raised deactivates the event linkage

Hanrahan, Wayne WHanrahan at powercor.com.au
Wed Apr 29 03:36:57 EDT 2009


Hi all,
 I need your help to find out if I am missing something here....

 There is a program exit on a workflow start event (a class that
implements the interface IF_SWF_IFS_WORKITEM_EXIT ).
 It reacts only to SWRCO_EVENT_BEFORE_CREATION (BEF_CREATE).
 I do some checking and raise the following exception if I do not want
the workflow to start.... 
 
 raise exception type cx_swf_ifs_workitem_exit_error exporting t100_msg
= lw_message.
  (lw_message is populated with my message of course)
 All goes well, the workflow does not start. BUT the event linkage is
deactivated.
 Can I prevent the deactivation from happening?

 Thanks for your help,
 Wayne Hanrahan
 

**********************************************************************
CitiPower Pty and Powercor Australia Ltd. This email and any file
attachments are confidential and intended solely for the use of the
individual or entity to whom they are addressed. If you have received
this email in error please tell us immediately by return email and
delete the document.
**********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20090429/ab3dedf9/attachment.htm


More information about the SAP-WUG mailing list