Triggering custom events from receiver function module

Brenda Raubenheimer braubenheimer at telkomsa.net
Mon Oct 5 09:42:26 EDT 2009


Hi,

 

I am trying to trigger custom events from a receiver function module which
is called when a change document is written for a change to a service entry
sheet.  The function module currently checks whether a deletion occurred
(LOEKZ = 'X') as well as when an entry sheet is released (field FRGZU
VALUE_NEW > VALUE_OLD) or reset (field FRGZU VALUE_OLD > VALUE_NEW).  In any
of these cases, the function module SWE_EVENT_CREATE is called to trigger a
custom event on business object BUS2091 (SignificantlyChanged, Released or
Reset respectively), and a commit work is then done.  In the case of a
deletion, the event is triggered correctly.  However, in the case of either
the release or reset, no custom event is being triggered.  When I test the
function module in debug mode from SE37, the events are triggered correctly.


 

Anyone have any ideas why this might be happening?

 

Regards,

Brenda.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20091005/dbbd39b0/attachment.htm


More information about the SAP-WUG mailing list