cancel
Showing results for 
Search instead for 
Did you mean: 

PCO Trigger notification is Tag is incremented by 1 (++)

atair_camargo
Discoverer
0 Kudos
266

Hello.

I would like to know if it is possible to control the notification data flow. Sometimes PCO send data multiple times cause there are no Key values, only data changes. In case of case sending lots of data in a frame, How can I control the data flow?

For example, if previous value increments, send notification.

Accepted Solutions (0)

Answers (1)

Answers (1)

Kevin_Hunter
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Atair,

Im not sure I fully understand your use case, can you explain it further with some examples? I will try and answer what I think you are asking.

One method is to split your notification into multiple notifications. For example is you are subscribed to 5 Tags and only have 1 notification then it will trigger whenever any 1 of the 5 tags changes and send all 5 values meaning that 4 values were unnecessary. This can be changed to have 5 notifications, one for each tag, this resulting in only sending the changed value. However it should be noted that this approach isnt always practical in real life if you have a large number of subscriptions.

Another more complex method could be using the key value pair buffer ( https://help.sap.com/viewer/c90214be0d934ebdb6f3bce29c63c0ff/15.2.0/en-US/f8c50b236a554f2fbf43e29a30... ) to store the previous value then when a new value is received you can compare it. Or write your own EMP method (see SAP Note 2354578) .

Thanks

Kevin