P_Cfd_Field_Origin

DDL: P_CFD_FIELD_ORIGIN SQL: P_CFD_FLD_ORIG Type: view

Custom Field: Origin

P_Cfd_Field_Origin is a CDS View that provides data about "Custom Field: Origin" in SAP S/4HANA. It reads from 1 data source (P_Cfd_Domain_Value) and exposes 2 fields with key field Code. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_Cfd_Domain_Value FieldOrigin from

Associations (1)

CardinalityTargetAliasCondition
[1..*] P_Cfd_Domain_Value_Text _Text _Text.Code = $projection.Code and _Text.Name = 'CFD_FIELD_ORIGIN'

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName P_CFD_FLD_ORIG view
EndUserText.label Custom Field: Origin view
VDM.private true view
AccessControl.authorizationCheck #NOT_ALLOWED view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY Code P_Cfd_Domain_Value Code Water Hazard Cl.
_Text _Text

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_Field_Origin.
-- 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_FLD_ORIG

CREATE VIEW P_Cfd_Field_Origin AS
SELECT
  FieldOrigin.Code AS Code
FROM P_Cfd_Domain_Value AS FieldOrigin
LEFT OUTER JOIN P_Cfd_Domain_Value_Text AS _Text ON _Text.Code = Code AND _Text.Name = 'CFD_FIELD_ORIGIN'  -- association [1..*]
;