SAP Knowledge Base Article - Public

2717765 - Field Value is Getting Cleared in Modal Dialog of Custom OVS

Symptom

The values which you have selected in a custom Object Value Selector(OVS) is getting cleared upon entering a value in another field, where all these fields are in a model dialog.

Environment

SAP Cloud Application Studio

SAP Business ByDesign

SAP Cloud for Customer

Reproducing the Issue

  1. Login to frontend UI.
  2. Navigate to the respective work center view.
  3. Open the modal dialog.
  4. Click on the OVS and select a value.
  5. Click on the OVS of another field and select a value.
  6. You observe that the value which you have selected in the previous field has been removed.

Cause

The fields are marked as dedicated fields to true in the data model tab of the OWL.

In this case the next data change and read, the value will be cleared for the previous one .
The dedicated fields are used only by application developers to write some logic in the Implementation Points(CIP) to persist the data. Since the partner's cannot use CIP it is not recommended to use dedicated fields also.

Resolution

You have to re-visit the requirement and adjust the field properties accordingly by using other than dedicated fields.

Keywords

Modal Dialog inconsistencies custom ovs values getting erased field values are not getting saved , KBA , modal dialog property , custom ovs , values are disappearing , AP-RC-UIF-DT , UI Framework Designtime , AP-RC-BDS-UI , ByDesign Studio UI Generation , Problem

Product

SAP Business ByDesign all versions ; SAP Cloud for Customer all versions