Symptom
The attributes of a characteristic are missing in the query builder when an OData query is built on a standard data source.
Environment
SAP Business ByDesign
SAP Cloud for Customer
Reproducing the Issue
- Go to Business Analytics work center.
- Navigate to Design Data Sources work center view.
- Choose any data source. For example, Material Valuation Data.
- Click on Build OData query.
- Check the fields listed in the query builder
You will see that there is a difference in the list of fields displayed in the test environment and the production environment.
Cause
If the referenced data source of a specific characteristic is not exposed, then its corresponding attributes will not be listed in the OData Query builder.
Resolution
Exposing the referenced DataSource will allow the user to view the master data characteristics and key figures in the OData query.
You can check the data source documentation of a specific data source to figure out the referenced data source of a specific characteristics or a key figure.
For example, MATERIAL is the referenced data source of the characteristic Material. If this data source is not exposed, the attributes of the Material characteristic will not be listed in the query builder when an OData query is built on the data source FININVU07 (Material Valuation Data).
To expose a specific data source, Follow the steps given below.
- Navigate to the Business Analytics work center.
- Navigate to the Design Data Sources work center view.
- Select the standard data source you would like to use the OData Service.
- Click on the Expose button.
- Check if the option Expose for OData is enabled.
See Also
Keywords
OData, Query Builder, Attributes, Missing fields, Data source, Test, Production, Master data, Characteristics, Key figures , KBA , AP-RC-ANA , C4C, ByD, Travel: Analytics Tools & Frameworks , How To