on 2020 Sep 14 9:39 AM
Hey guys,
we are using a cl_gui_timer to refresh dynpros every 2 minutes.
This works perfectly fine in the SapGui as well as in the WebGui.
But for some reason, the timer doesnt update when we start it with the Slipstream Engine.
Does anybody had similiar issues and can help out?
Request clarification before answering.
Hi Julian,
Slipstream Engine does not feature any WebSockets API based push channel communication implementations currently. To receive a new state from the backend, the Slipstream Engine client must pull the server for updates. The feature request has been already registered.
You may be able to work around the limitation by leveraging the SAP Screen Personas Scripting engine and the RFC feature to create a function that utilises a timer to query the backend for updates. Additionally, it may be possible to implement a SAP Screen Personas script that leverages the WebSockets API directly to listen for server messages.
Another possible workaround may be to leverage a GuiHtmlViewer instance that features a content from the same domain that is dynamically updated using WebSockets API. It should be possible to implement a SAP Screen Personas script that listens for a GuiHtmlViewer iframe content update as long as domains are the same to comply with the CORS.
However, such approaches to work around the limitation are generally not recommended and cannot be supported by the SAP Screen Personas team.
Thank you very much!
Best regards,
Krists Magons
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Jullion,
In SAP GUI -> CL_GUI_TIMER is working fine to update data in container displayed using class cl_dd_document but not in SAP WEB GUI , In SAP Web GUI it is not refreshing the data once time ends as defined for the timer but in SAP GUI its working fine.Kindly advise do we need to make some add on code in ABAP to fix this issue in Web GUI.
Kindly advise.
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 14 | |
| 8 | |
| 6 | |
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.