SAP Knowledge Base Article - Public

3448535 - Creating a custom CDS view on top of a Business Object Interface with Custom CDS views app - Developer Extensibility - SAP S/4HANA Cloud

Symptom

Trying to create a custom CDS view with Custom CDS Views app on top of a Business Object Interface from Business Object Interface | SAP S/4HANA Cloud Public Edition | SAP Business Accelerator Hub.

Environment

SAP S/4HANA Cloud 

Developer Extensibility (ABAP Environment).

Reproducing the Issue

  1. Open Custom CDS Views app
  2. Click on Create
  3. Enter a Label, Name and Scenario
  4. In the popup "Select: Primary Data Source", search by any Business Object Interface from Business Object Interface | SAP S/4HANA Cloud Public Edition | SAP Business Accelerator Hub, for example I_PURCHASEORDERTP_2.
  5. It cannot be found.

  1. Open Custom CDS Views app
  2. Click on Create
  3. Enter a Label, Name and Scenario
  4. In the popup "Select: Primary Data Source", select an available data source.
  5. Try to add an association by clicking on Add > Associated Data Source
  6. In the popup "Select: Associated Data Source", search by any Business Object Interface from Business Object Interface | SAP S/4HANA Cloud Public Edition | SAP Business Accelerator Hub, for example I_PURCHASEORDERTP_2.
  7. It cannot be found

Cause

Business Object Interfaces from Business Object Interface | SAP S/4HANA Cloud Public Edition | SAP Business Accelerator Hub cannot be used as data sources for custom CDS views.

Resolution

In the context of Developer Extensibility, if you want to use Business Object Interfaces please refer to the following documentation:

Business Object Interface | SAP S/4HANA Cloud Public Edition | SAP Business Accelerator Hub

Business Object Interfaces | SAP Help Portal

ABAP RESTful Application Programming Model | SAP Help Portal

Create Purchase Order and Purchase Contract | SAP Tutorials

See Also

Developer Extensibility | SAP Help Portal

Developer Extensibility for SAP S/4HANA Cloud on t... - SAP Community

3383480 - "Name of a base table or a base view is missing" or "Projection Views are not allowed as base object for this entity type" - SAP S/4HANA Cloud ABAP Environment - SAP for Me

Keywords

KBA , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions