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
-
Login to frontend UI.
- Navigate to the respective work center view.
- Open the modal dialog.
- Click on the OVS and select a value.
- Click on the OVS of another field and select a value.
- 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