cancel
Showing results for 
Search instead for 
Did you mean: 

Alerts: subscription to 'BPConfirmed' unsuccessful?

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

HI ,

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

Tony

Former Member
0 Kudos

Hello,

I found the cure.

Note 1050377 solves the problem.

Hope it helps someone else, too.

Former Member
0 Kudos

Hi Arto!

Thank you for the note. It helped me also 6 years later too.