cancel
Showing results for 
Search instead for 
Did you mean: 

Notification is being pushed to only 1 subscriber(listener)

EkanshCapgemini
Active Contributor
0 Kudos

Hi All,

I have implemented the subscription and notification scenario as explained in  blog http://scn.sap.com/community/gateway/blog/2012/12/03/pushing-notifications-made-easy-push-a-notifica... . Here the subscriber is a SICF service (basically a HTTP handler class with), say 'service A'. I created RFC destination of type 'G' for this. This whole scenario works fine till here and the notification is pushed to my SICF service as any user is changed.

But the problem starts when I created another service, say 'service B' with corresponding RFC destination of type 'G'. Now I again subscribed the same entityset but with the destination as of service B. So at this time my entity has 2 subscribers.

Now the problem is when I change the user, it pushes notification to service A only but twice. I am not able to receive any notification in service B. Please Help me.

Accepted Solutions (1)

Accepted Solutions (1)

EkanshCapgemini
Active Contributor
0 Kudos

I found the solution. The solution lies in created RFC destination. The destination should consist only <hostname> and <port>.

Earlier I created 2 destinations(Type G) as:

  1. TESTFORPUSH: <hostname> <port> and '/sap/ztesthandler' in path prefix. This is my 'Service A'.
  2. TESTFORPUSH2: <hostname> <port> and '/sap/ztesthandler2' in path prefix. This is my 'Service B'.

The subscriber's delivery address are also as: 'http://<hostname>:<port>/sap/ztesthandler' & 'http://<hostname>:<port>/sap/ztesthandler2'.

Now I deleted the second destination and removed the path prefix in TESTFORPUSH.

Now this worked fine in my case.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Saxena,

Did you check the subscription table entries , It should consists of two entries with same RFC Destination and different service and pls check the subscription entries debug the report which create and send notification .