P_Cfd_Reg_IDoc

DDL: P_CFD_REG_IDOC SQL: P_CFD_REG_ID Type: view

Custom Fields: Available IDoc Usages

P_Cfd_Reg_IDoc is a CDS View that provides data about "Custom Fields: Available IDoc Usages" in SAP S/4HANA. It reads from 3 data sources (cfd_w_bus_ctxt, cfd_w_idoc, cfd_w_idoc_ctxt) and exposes 5 fields with key fields IDocTypeName, BusinessContext. It has 1 association to related views.

Data Sources (3)

SourceAliasJoin Type
cfd_w_bus_ctxt _BusinessContext inner
cfd_w_idoc _Registry inner
cfd_w_idoc_ctxt RegistryContext from

Associations (1)

CardinalityTargetAliasCondition
[0..*] cfd_w_idoc_t _Description _Description.idoc_type_name = $projection.IDocTypeName

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName P_CFD_REG_ID view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_ALLOWED view
EndUserText.label Custom Fields: Available IDoc Usages view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY IDocTypeName cfd_w_idoc_ctxt idoc_type_name IDoc Type Name
KEY BusinessContext cfd_w_idoc_ctxt business_context Business Context
Availability cfd_w_idoc availability Pkg. Release Status
ReleaseStatus cfd_w_bus_ctxt release_status Status
_Description _Description

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_Reg_IDoc.
-- 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_REG_ID

CREATE VIEW P_Cfd_Reg_IDoc AS
SELECT
  RegistryContext.idoc_type_name AS IDocTypeName,
  RegistryContext.business_context AS BusinessContext,
  _Registry.availability AS Availability,
  _BusinessContext.release_status AS ReleaseStatus
FROM cfd_w_idoc_ctxt AS RegistryContext
INNER JOIN cfd_w_idoc AS _Registry ON /* join condition not captured in parsed metadata */
INNER JOIN cfd_w_bus_ctxt AS _BusinessContext ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN cfd_w_idoc_t AS _Description ON _Description.idoc_type_name = IDocTypeName  -- association [0..*]
;