I_EngagementProjectSrvcOrgDets

DDL: I_ENGAGEMENTPROJECTSRVCORGDETS SQL: IEPSRVCORGDET Type: view BASIC

Engagement Project Service Organization Details

I_EngagementProjectSrvcOrgDets is a Basic CDS View that provides data about "Engagement Project Service Organization Details" in SAP S/4HANA. It reads from 1 data source (/cpd/pwsc_orgpid) and exposes 7 fields with key fields EngagementProjectServiceOrg, AssignedOrganisation, AssignedOrganisationType. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
/cpd/pwsc_orgpid /cpd/pwsc_orgpid from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_EngagementProjectSrvcOrg _EngagementProjectServiceOrg $projection.EngagementProjectServiceOrg = _EngagementProjectServiceOrg.EngagementProjectServiceOrg
[0..1] I_CustprojsrvcOrgDetails _CompanyCode $projection.EngagementProjectServiceOrg = _CompanyCode.CustomerProjectServiceOrg and _CompanyCode.AssignedOrganisationIsDefault = 'X' and _CompanyCode.AssignedOrganisationType = 'CC'

Annotations (14)

NameValueLevelField
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName IEPSRVCORGDET view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
AbapCatalog.buffering.numberOfKeyFields 000 view
ObjectModel.usageType.dataClass #CUSTOMIZING view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Engagement Project Service Organization Details view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY EngagementProjectServiceOrg org_unit_id Service Org.
KEY AssignedOrganisation org_unit_key Org. Unit Key
KEY AssignedOrganisationType org_unit_typ Org. Unit Type
AssignedOrganisationDesc org_unit_key_desc OrgUnit Desc.
AssignedOrganisationIsDefault default_val Default
_CompanyCode _CompanyCode
_EngagementProjectServiceOrg _EngagementProjectServiceOrg

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 I_EngagementProjectSrvcOrgDets.
-- 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: IEPSRVCORGDET

CREATE VIEW I_EngagementProjectSrvcOrgDets AS
SELECT
  org_unit_id AS EngagementProjectServiceOrg,
  org_unit_key AS AssignedOrganisation,
  org_unit_typ AS AssignedOrganisationType,
  org_unit_key_desc AS AssignedOrganisationDesc,
  default_val AS AssignedOrganisationIsDefault
FROM /cpd/pwsc_orgpid
LEFT OUTER JOIN I_EngagementProjectSrvcOrg AS _EngagementProjectServiceOrg ON EngagementProjectServiceOrg = _EngagementProjectServiceOrg.EngagementProjectServiceOrg  -- association [0..1]
LEFT OUTER JOIN I_CustprojsrvcOrgDetails AS _CompanyCode ON EngagementProjectServiceOrg = _CompanyCode.CustomerProjectServiceOrg AND _CompanyCode.AssignedOrganisationIsDefault = 'X' AND _CompanyCode.AssignedOrganisationType = 'CC'  -- association [0..1]
;