on 2020 Jan 20 7:41 PM
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.
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.