[LIKELY JUNK]Program exit Exception raised deactivates the event linkage

Dart, Jocelyn jocelyn.dart at sap.com
Thu Apr 30 02:50:50 EDT 2009


Hi Wayne, 
Check the default behaviour on error feedback setting in transaction SWEQADM. It' s probably set to deactivate the linkage.
Regards,
Jocelyn

________________________________

From: sap-wug-bounces at mit.edu on behalf of Hanrahan, Wayne
Sent: Wed 29/04/2009 5:36 PM
To: sap-wug at mit.edu
Subject: [LIKELY JUNK]Program exit Exception raised deactivates the event linkage



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.
**********************************************************************




More information about the SAP-WUG mailing list