C_Cfd_Rep_Odata

DDL: C_CFD_REP_ODATA SQL: C_CFD_REP_OD Type: view

OData Models of Custom Fields

C_Cfd_Rep_Odata is a CDS View that provides data about "OData Models of Custom Fields" in SAP S/4HANA. It reads from 4 data sources (P_Cfd_Rep_Current_Version, cfd_w_odata, cfd_w_rep, cfd_w_rep_odata) and exposes 6 fields with key fields ExternalName, ModelName, EntityName, BusinessContext, UnionSuffix.

Data Sources (4)

SourceAliasJoin Type
P_Cfd_Rep_Current_Version currentVersion inner
cfd_w_odata RegistryData left_outer
cfd_w_rep Repository from
cfd_w_rep_odata RepositoryOData inner

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName C_CFD_REP_OD view
AccessControl.authorizationCheck #NOT_ALLOWED view
EndUserText.label OData Models of Custom Fields view
VDM.private true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ExternalName cfd_w_rep external_name External Name
KEY ModelName cfd_w_rep_odata model_name Model Name
KEY EntityName cfd_w_rep_odata entity_name Table Name
KEY BusinessContext cfd_w_rep_odata business_context Business Context
KEY UnionSuffix cfd_w_rep_odata union_suffix Union Suffix
SearchEnabled cfd_w_rep_odata include_in_basic_search In Basic Search

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view C_Cfd_Rep_Odata.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: C_CFD_REP_OD

CREATE VIEW C_Cfd_Rep_Odata AS
SELECT
  Repository.external_name AS ExternalName,
  RepositoryOData.model_name AS ModelName,
  RepositoryOData.entity_name AS EntityName,
  RepositoryOData.business_context AS BusinessContext,
  RepositoryOData.union_suffix AS UnionSuffix,
  RepositoryOData.include_in_basic_search AS SearchEnabled
FROM cfd_w_rep AS Repository
INNER JOIN P_Cfd_Rep_Current_Version AS currentVersion ON /* join condition not captured in parsed metadata */
INNER JOIN cfd_w_rep_odata AS RepositoryOData ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN cfd_w_odata AS RegistryData ON /* join condition not captured in parsed metadata */
;