SAP Knowledge Base Article - Public

2414455 - How to Enable Custom Business Objects and Extension Fields in OData and Data Workbench

Symptom

You are not able to find a custom business object (BO) and its extension fields created via PDI in Data Workbench.

Environment

  • SAP Cloud for Customer.
  • SAP Business ByDesign.

Resolution

To add extension fields (PDI) to standard oData services you can follow the steps outlined in the below blog post:

https://blogs.sap.com/2017/05/07/new-feature-odata-service-extension-with-extension-fields-in-sdk/

To add a custom BO and its respective extension fields to Data Workbench, you can create a custom ODATA service following the steps below:

  1. Go to the Administrator work center.
  2. Select the ODATA Service Explorer view.
  3. Change the Show filter to Custom Odata Services.
  4. Click on New, to create a new custom OData service. 
  5. Check the option: Data Workbench enabled (if you want to use this service with Data Workbench).
  6. Edit the Custom OData service.
  7. Select the required Custom BO under the Select Business Object button.
  8. Expand and select the required Entities (fields).
  9. Now all the Extension fields related to the selected entities will be available in the right hand side window of the OData Service.
  10. Save your custom OData service.
  11. Click on Activate.

Now the selected custom BO along with its Extension fields will be available in the Data Workbench work center, under the Custom Objects tab.

Keywords

custom odata service, custom business object, data workbench, extension field, PDI, SDK , KBA , extension fields , standard odata service , customer bo , enable custom business object , SRD-CC , Cross Components , How To

Product

SAP Cloud for Customer add-ins all versions