SAP Knowledge Base Article - Public

2798211 - Custom screen not saving data during save action

Symptom

You have a custom screen scenario. You have entered some values in your custom Thing Inspector elements and click save.

You then receive a message: No changes detected; Save not executed.

Note: You may also experience behaviour such as a successful Save execution, but data is not persisted.

 

Environment

  • SAP Cloud for Customer.

Reproducing the Issue

Prerequisites:

  • You have created you custom screen scenario.

To Reproduce:

  1. Open your custom work center.
  2. Open the custom view.
  3. Open any instance in the OWL on the custom view.
  4. Click Edit.
  5. Make a change in any field and click save.
  6. Observe the message / behaviour.

Message: No changes detected; Save not executed.

Behaviour: Data is not saved in fields.

Cause

The cause to this particular issue is that your configuration for the custom screen is setup wrong.

You have not flagged any of your custom fields to be "Work Protect Relevant". If this is set to false, then any change in these fields will not be considered during the final Window-Close check during the Save action.

Resolution

You need to re-model your data model elements to have "Work Protect Relevant" property set to True.

Open the data model of the UI Component and select a data model element. In the Properties window, you will see the Work Protect Relevant option.

Keywords

Work protect, save, not executed, UI, PDI , KBA , AP-RC-UIF-RT , UI Framework Runtime , Problem

Product

SAP Cloud for Customer add-ins all versions