SAP Knowledge Base Article - Public

2629951 - Refresh EC is not Working Even After Clicking on Refresh Button

Symptom

The refresh of the Embedded Component(EC) is not working even though you have clicked on the Refresh button available in the screen.

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Login to the frontend UI.
  2. Navigate to the Thing Inspector(TI ) screen.
  3. Perform the relevant actions and click on save.
  4. Come back to the TI screen and click on the Refresh button.
  5. The records does not get updated.

Cause

The issue is occurring because the components are running in two different sessions, and the EC is not aware of a change and save that has happened in a different session.

Till the TI is open, backend maintain a cache for the session and reads from that cache even on Refresh. Only closing the TI window, session is closed and cache is cleared.

We will be clearing the buffer only incase of OWL. Buffer are having the old data. That is the reason the refresh is not happening.

Resolution

This is the current behavior. If you want to get the refresh functioanlity working then can follow the below approaches:

Solution 1:  Instead of EC you can use OWL. Add the EC in the OWL and test it.

Solution 2 : You can go for SADL query in the same EC.

Keywords

Refresh not working TI is not refreshing Custom EC not refreshed , KBA , ec , sadl query , AP-RC-UIF-DT , UI Framework Designtime , Problem

Product

SAP Cloud for Customer 1802 ; SAP Cloud for Customer 1805 ; SAP Cloud for Customer 1808