Skip to Content
author's profile photo Former Member
Former Member

Alerts: subscription to 'BPConfirmed' unsuccessful?

Hello,

we have upgraded from CRM 4.0 to 5.0. After this, our custom alerts don't work anymore. There are dozens of good threads about alerts, but as far as I can see, we have done all the steps required. Still, the alerts don't work, and I fail to see why.

According to my debugging and troubleshooting, the basic problem is that our Z-class event listener does not react to the event 'BPConfirmed'.

I put a breakpoint into the constructor of the Z-class. The key statement is

  event_service->subscribe( event_name =
                                if_crm_ic_events_con=>gc_bpconfirmed
                            listener   = me          ).

By debugging, I see that the class subscribes successfully to the event 'BPConfirmed'.

Nevertheless, I also saw that when the event 'BPConfirmed' is actually triggered in

CL_CRM_IC_EVENT_SRV	METHOD	IF_CRM_IC_EVENT_SRV~RAISE

the key statement

            call method lv_listener->handle_event( event ).

is not executed for our Z-class. I went through the loop and saw that lv_listener never has the value of our Z-class. It looks as if the system would forget the subscription.

I also have a breakpoint in the method

IF_CRM_IC_EVENT_LISTENER~HANDLE_EVENT

of our Z-class. The program never stops there, so indeed it seems that the subscription is unsuccessful.

Why is the event handler method of our Z-class not called?

Regards,

Arto

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 24, 2007 at 01:28 PM

    Hello,

    I found the cure.

    Note 1050377 solves the problem.

    Hope it helps someone else, too.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2011 at 06:09 AM

    HI ,

    Do you have any COnfiguration guide for the Alerts in CRm 4.0?

    Tony

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.