SAP Knowledge Base Article - Public

2793534 - Activation failed for because of back-end consistency check violation. Public OVS must be tagged for device Tablet.

Symptom

You are unable to activate your custom screen due to following error message:

OVS consistency Check.png

Error message points to public OVS which you have bound to your custom field, as ObjectValueSelector. All your screens are tagged to be used on such devices as Mobile and Tablet.

Environment

  • SAP Cloud Application Studio
  • SAP Cloud for Customer
  • SAP Business Bydesign

Reproducing the Issue

As a prerequisite you have performed the following:

  1. You have created solution in Cloud Application Studio.
  2. You have created Custom BO and corresponding custom screens. 
  3. You have tagged all your screens to be used for devices such as Mobile and Tablet. 
  4. You have configured a field on your custom screen to be displayed as ObjectValueSelector.
  5. You have bound this field to specific standard OVS supplied by Application. 
  6. You have attempted to activate the screen, which resulted in error message displayed above. 

Cause

You are seeing this error message because OVS which you have chosen is not tagged for any other devices than Desktop. Since your screens are to be used on Mobile and Tablet, System will run consistency check during activation, making sure that chosen OVS is applicable to your screens. If OVS is not tagged for mobile devices activation fails.

To check whether this is the case please follow the below steps:

  1. Let's consider that you wish to use the following public OVS in your solution: BYD_COD/SalesOnDemand/Quote/COD_Quote_SOVS.OVS.uicomponent.
  2. Navigate to this OVS in the UI designer, via Configuration Explorer.
  3. Within Properties Tab search for Tags under Configuration as seen in the below screenshot.

PublicOVS.png

If Tablet and Mobile tags are not displayed in Tag Editor this means that OVS cannot be used on screens designed for Tablets and Mobile devices.

Keywords

Public OVS, Activation fails due to public OVS, TAG , KBA , AP-RC-UIF-RT , UI Framework Runtime , Problem

Product

SAP Business ByDesign all versions ; SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions