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.
- 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.
In the below example, you will see for a field OCM binding missing and hence not available in offline mode.
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.
- Then select table / list and get data binding under the value.
- Check OCM settings for /Root/DocumentList in Data Model.
See Also
Keywords
UI designer; OCM binding, Offline, Field, Extension Field , KBA , AP-RC-BDS-1O , ByDesign Studio OneOffs , How To
SAP Knowledge Base Article - Public