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 behavior such as a successful Save execution, but data is not persisted.

 

Environment

  • SAP Cloud for Customer
  • SAP Business ByDesign
  • SAP Cloud Applications Studio

Reproducing the Issue

Prerequisites:

  • You have created a 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 / behavior.

Message: No changes detected; Save not executed.

Behavior: Data is not saved in fields.

Cause

You have configured your screen so that changes to these fields are not considered as an edit to the instance. The responsible property is Work Protect Relevant. If this property 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 and set Work Protect Relevant property set to "True":

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

See Also

Refer to KBA: 3027679 - Data Change made by Custom UI Action not Saved

Keywords

Work protect, save, not executed, UI, PDI, SDK, UI Designer, behaviour , KBA , AP-RC-UIF-DT , UI Framework Designtime , Problem

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions