SAP Knowledge Base Article - Public

3793920 - How to Determine the Correct Data Source for a Data Source Extension in Standard Fiori Apps — SAP S/4HANA Cloud Public Edition

Symptom

When creating a Data Source Extension in the Custom Fields app (F1481), it is unclear which Data Source to select for a specific standard Fiori app. One or more of the following may occur:

  • The desired standard field is not found in the field selection tree.
  • The extension is created and published, but the field does not appear in the target Fiori app.
  • A Data Source that appears related to the business object is selected, but the extension has no effect on the app.

Environment

SAP S/4HANA Cloud Public Edition

Cause

Standard Fiori apps are built on different technical architectures depending on the app type. The underlying object consumed by the app — whether a Consumption View (C_*), Interface View (I_*), API View (A_*), or a CDS view wrapped inside an OData service — varies from app to app.

Without first identifying the exact CDS View or OData service that the target app uses, selecting a Data Source in the Custom Fields app is essentially a guess. Extending the wrong data source has no effect on the Fiori UI.

Resolution

  1. Before creating a Data Source Extension, the exact CDS View or OData service used by the target Fiori app must be identified, and the business context the data source extension is allocated to must be known. An overview of business contexts and their scope items is available in the Extensibility Cockpit app. For methods to identify the underlying CDS View or OData service, refer to: How to Map Fiori Apps to Their Underlying Data Sources (Tables/CDS Views/Queries) in Public Edition
  2. Once the underlying CDS View is identified, use it as the Data Source when creating the extension in the Custom Fields app. The detailed process is described in: Adding Field in Standard Fiori Apps of S/4HANA with Data Source Extensions

See Also

SAP Help Portal: Creating Data Source Extensions

Keywords

 fields not visible, data source extension, consumption view, interface view, custom field, yy1, odata, reporting, dimensions missing, fiori app, s/4hana cloud, CDS View, View Browser , KBA , BC-SRV-APS-EXT-FLD , Custom Fields , How To

Product

SAP S/4HANA Cloud Public Edition all versions