SAP Knowledge Base Article - Public

2458811 - How To Check OCM Binding for Field / Section in UI Designer

Symptom

For Offline Usage, a dedicated offline data model is created, which is called OCM binding (Offline Component Model Binding). Depending upon this setting, metadata will be synchronized to Mobile client to be available when in Offline mode.

*Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.*

Environment

SAP Cloud For Customer
SAP Business ByDesign

Reproducing the Issue

Cause

Resolution

To check for OCM binding setting, follow the below steps in UI designer.

  • Find the UI component where you want to check the field details.
  • Example Account QC: /BYD_COD/SalesOnDemand/Account/UI/COD_Account_QC.QC.uicomponent.
  • Open this path in UI designer.
  • Select the field for which you want to find details.
  • In this case, we are checking for City field.

OCM1.PNG

  • Note binding expression in value which is /Root/CityName under Properties.
  • Navigate to data model section and search for /Root/CityName
  • As shown below, check if OCM binding is maintained by application.

OCM2.PNG

  In the below example, you will see for a field OCM binding missing and hence not available in offline mode.

OCM3.PNG

OCM4.PNG

 

To check if a section is available in offline, follow the below steps in UI designer.

  • Find the UI component where you want to check the field details.
  • Example Attachments EC: /BYD_COD/SalesOnDemand/Reuse/COD_ATTACHMENTS_EC.EC.uicomponent.
  • Under Properties, select Advanced Pane.
  • Check if is supported in Offline Operating Mode.

Att1.PNG

  • Then select table / list and get data binding under the value.

Att2.PNG

  • Check OCM settings for /Root/DocumentList in Data Model.

Att3.PNG

 

See Also

Keywords

UI designer; OCM binding, Offline, Field, Extension Field , KBA , AP-RC-BDS-1O , ByDesign Studio OneOffs , How To

Product

SAP Cloud for Customer add-ins all versions