on 07-17-2014 11:01 AM
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.
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:
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.