SWE_EVENT_GET_RECEIVERS

Hi All,
I am using abap oops class instead of business object. In the same case I cannot use the FM "SWE_EVENT_GET_RECEIVERS". Please tell me what is the function module/class I can use for the same functionality.
Regards,
Guru

Hi Guru Dutt,
that's possibly the coding spot you were looking for. The function module was replaced by a new class for the event manager:
CL_SWF_EVT_EVENT_MANAGER.get_event_handlers( )
   *- select the linkages
     CALL METHOD me->select_linkages
       EXPORTING
       RECEIVING
         re_linkages   = lt_linkages.
So either you go for the get_event_handler method or the select_linkages.
If you would like to restrict your injection pretty much to a single coding spot, you could use the class method
CL_SWF_EVT_EVENT_MANAGER.singleton( )
in order to return an instance of a subtype of that class, instead an instance of the class itself. This way you can replace any methods w/o modifying further.
Best wishes,
Florin
Edited by: Florin Wach on Feb 2, 2010 10:47 AM
Removed additional comment

Similar Messages

Maybe you are looking for

  • How to delete a jar file after loading image files from it

    Hi, How can I delete a jar file after some image files have been loaded? For example, say, I have "a.jar" which contains an image "a.gif" in the root directory of the c drive. I would like to get the image size and then delete the jar file. Here is t

  • IPhone stuck in recovery mode after failed update.

    Hi, I have a bad situation here... My iPhone 5 got stuck in recovery mode after I tried to update to iOS 7.1.1 from 7.0.4 and it failed (error code 6). If this was my iPod touch I would just restore it because all I have is music, but this iPhone has

  • LaserJet 1022 Upgrade

    Hi, I have a HP LaserJet 1022 which I love, it's an awesome printer and it does its job very well. I'd have liked the 1022n but at the time (Quite a few years ago, warranty run out in 2008 !) it wasn't available in the local stores so I just got the

  • Refresh workbook when opening...

    Hi Experts, I am on NW2004S, BI 7.0. I have created a workbook for one query. I want the workbook to be refreshed everytime, a user tries to run it. Any advice ?  PS: I am aware of the solution in older versions..

  • I could not see anything in txn BPSO

    Hi, I am in Development. I don't know what happened. When I went to BPSO, I could not see anything. Can someone help me out in knowing why it has happened. yesterday everything was fine. But today I could not see anything. Regards, Tony