P_EngmtProjDeliveryOrg

DDL: P_ENGMTPROJDELIVERYORG SQL: PEPDELIVERYORG Type: view COMPOSITE

P_EngmtProjDeliveryOrg is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_EngagementProjectSrvcOrg) and exposes 4 fields with key field EngagementProjectServiceOrg. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_EngagementProjectSrvcOrg EngmtProjDeliveryOrg from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_EngagementProjectSrvcOrgDets _EngagementProjectSrvcOrgDets EngmtProjDeliveryOrg.EngagementProjectServiceOrg = _EngagementProjectSrvcOrgDets.EngagementProjectServiceOrg

Annotations (7)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName PEPDELIVERYORG view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY EngagementProjectServiceOrg I_EngagementProjectSrvcOrg EngagementProjectServiceOrg Service Org.
ControllingArea
CompanyCode
CostCenter

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_EngmtProjDeliveryOrg.
-- 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: PEPDELIVERYORG

CREATE VIEW P_EngmtProjDeliveryOrg AS
SELECT
  EngmtProjDeliveryOrg.EngagementProjectServiceOrg AS EngagementProjectServiceOrg,
  _EngagementProjectSrvcOrgDets[1: AssignedOrganisationType = 'CA' ].AssignedOrganisation AS ControllingArea,
  _EngagementProjectSrvcOrgDets[1: AssignedOrganisationType = 'CC' ].AssignedOrganisation AS CompanyCode,
  _EngagementProjectSrvcOrgDets[1: AssignedOrganisationType = 'CS' ].AssignedOrganisation AS CostCenter
FROM I_EngagementProjectSrvcOrg AS EngmtProjDeliveryOrg
LEFT OUTER JOIN I_EngagementProjectSrvcOrgDets AS _EngagementProjectSrvcOrgDets ON EngmtProjDeliveryOrg.EngagementProjectServiceOrg = _EngagementProjectSrvcOrgDets.EngagementProjectServiceOrg  -- association [0..1]
;