P_Cfd_Registry_Odata
Available oData Services for usage of Custom Fields
P_Cfd_Registry_Odata is a CDS View that provides data about "Available oData Services for usage of Custom Fields" in SAP S/4HANA. It reads from 1 data source (cfd_w_odata_ctxt) and exposes 20 fields with key fields ModelName, BusinessContext, EntityName, UnionSuffix. It has 6 associations to related views. Part of development package S_CFD_GW_FACADE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cfd_w_odata_ctxt | RegistryContext | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | cfd_w_odata_t | _ModelText | _ModelText.model_name = $projection.ModelName |
| [0..*] | cfd_w_odata_ct_t | _EntityText | _EntityText.model_name = $projection.ModelName and _EntityText.entity_name = $projection.EntityName and _EntityText.business_context = $projection.BusinessContext |
| [1] | I_CFD_Release_Status | _ReleaseStatus | _ReleaseStatus.Code = $projection.ReleaseStatus |
| [0..1] | cfd_w_odata_suc | _Successor | _Successor.model_name = $projection.ModelName and _Successor.business_context = $projection.BusinessContext |
| [*] | P_Cfd_Reg_Cds_Text | _SuccessorCDSText | _SuccessorCDSText.CdsViewName = $projection.Successor |
| [*] | cfd_w_odata_t | _SuccessorModelText | _SuccessorModelText.model_name = $projection.Successor |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | P_CFD_RGSTRY_ODT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| VDM.private | true | view | |
| EndUserText.label | Available oData Services for usage of Custom Fields | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ModelName | cfd_w_odata_ctxt | model_name | Model Name |
| KEY | BusinessContext | cfd_w_odata_ctxt | business_context | Business Context |
| KEY | EntityName | cfd_w_odata_ctxt | entity_name | Table Name |
| KEY | UnionSuffix | cfd_w_odata_ctxt | union_suffix | Union Suffix |
| Availability | Registry | availability | Pkg. Release Status | |
| FormUsage | Registry | usage_form_template | Form Template | |
| ScreenUsage | Registry | usage_ui_report | UI and Report | |
| ReleaseStatus | cfd_w_odata_ctxt | release_status | Status | |
| SearchSupported | cfd_w_odata_ctxt | basic_search_support | Basic Search support | |
| CdsViewName | cfd_w_odata_ctxt | cds_view_name | STOB Name | |
| EntityImplementationType | cfd_w_odata_ctxt | implementation_type | Implementation Type | |
| ModelNameWOVersion | ||||
| ModelVersion | ||||
| Successor | _Successor | successor | Migration Object | |
| _ModelText | _ModelText | |||
| _EntityText | _EntityText | |||
| _ReleaseStatus | _ReleaseStatus | |||
| _Successor | _Successor | |||
| _SuccessorCDSText | _SuccessorCDSText | |||
| _SuccessorModelText | _SuccessorModelText |
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 P_Cfd_Registry_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: P_CFD_RGSTRY_ODT
CREATE VIEW P_Cfd_Registry_Odata AS
SELECT
RegistryContext.model_name AS ModelName,
RegistryContext.business_context AS BusinessContext,
RegistryContext.entity_name AS EntityName,
RegistryContext.union_suffix AS UnionSuffix,
Registry.availability AS Availability,
Registry.usage_form_template AS FormUsage,
Registry.usage_ui_report AS ScreenUsage,
RegistryContext.release_status AS ReleaseStatus,
RegistryContext.basic_search_support AS SearchSupported,
RegistryContext.cds_view_name AS CdsViewName,
RegistryContext.implementation_type AS EntityImplementationType,
rtrim(cast( RegistryContext.model_name as /iwbep/med_mdl_technical_name ), ' ') AS ModelNameWOVersion,
cast( cast( substring(RegistryContext.model_name, 33, 36) as abap.numc( 4 ) ) as /iwbep/med_mdl_version ) AS ModelVersion,
_Successor.successor AS Successor
FROM cfd_w_odata_ctxt AS RegistryContext
LEFT OUTER JOIN cfd_w_odata_t AS _ModelText ON _ModelText.model_name = ModelName -- association [0..*]
LEFT OUTER JOIN cfd_w_odata_ct_t AS _EntityText ON _EntityText.model_name = ModelName AND _EntityText.entity_name = EntityName AND _EntityText.business_context = BusinessContext -- association [0..*]
LEFT OUTER JOIN I_CFD_Release_Status AS _ReleaseStatus ON _ReleaseStatus.Code = ReleaseStatus -- association [1]
LEFT OUTER JOIN cfd_w_odata_suc AS _Successor ON _Successor.model_name = ModelName AND _Successor.business_context = BusinessContext -- association [0..1]
LEFT OUTER JOIN P_Cfd_Reg_Cds_Text AS _SuccessorCDSText ON _SuccessorCDSText.CdsViewName = Successor -- association [*]
LEFT OUTER JOIN cfd_w_odata_t AS _SuccessorModelText ON _SuccessorModelText.model_name = Successor -- association [*]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA