P_InsurOpenApplInsuredBuilding

DDL: P_INSUROPENAPPLINSUREDBUILDING Type: view_entity COMPOSITE

P_InsurOpenApplInsuredBuilding is a Composite CDS View in SAP S/4HANA. It reads from 4 data sources (P_InsuranceOpenApplicationJrnl, P_InsuranceOpenApplicationJrnl, I_InsurPlcyInsuredBldngBasic, I_InsurPlcyInsuredBldngBasic) and exposes 17 fields with key fields InsurPlcyApplUUID, InsuranceApplication, InsurPlcyJrnlNmbr, InsurPlcyInsurContr, InsurPlcyCoveragePackageID.

Data Sources (4)

SourceAliasJoin Type
P_InsuranceOpenApplicationJrnl OpenApplJrnl inner
P_InsuranceOpenApplicationJrnl OpenApplJrnl inner
I_InsurPlcyInsuredBldngBasic Subject from
I_InsurPlcyInsuredBldngBasic Subject union

Annotations (4)

NameValueLevelField
VDM.viewType #COMPOSITE view
VDM.private true view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY InsurPlcyApplUUID P_InsuranceOpenApplicationJrnl InsurPlcyApplUUID Policy UUID
KEY InsuranceApplication P_InsuranceOpenApplicationJrnl InsuranceApplication
KEY InsurPlcyJrnlNmbr I_InsurPlcyInsuredBldngBasic InsurPlcyJrnlNmbr Journal Number
KEY InsurPlcyInsurContr I_InsurPlcyInsuredBldngBasic InsurPlcyInsurContr Contract Key
KEY InsurPlcyCoveragePackageID I_InsurPlcyInsuredBldngBasic InsurPlcyCoveragePackageID Cov.Package ID
KEY InsurPlcyCoverageID I_InsurPlcyInsuredBldngBasic InsurPlcyCoverageID Coverage Key
KEY InsurPlcyInsuredObjectID I_InsurPlcyInsuredBldngBasic InsurPlcyInsuredObjectID Ins. Obj. No.
KEY InsurPlcyContrDataDetnJrnlNmbr P_InsuranceOpenApplicationJrnl InsurPlcyContrDataDetnJrnlNmbr
InsurPlcyApplUUID Policy UUID
KEY InsuranceApplication P_InsuranceOpenApplicationJrnl InsuranceApplication
KEY InsurPlcyJrnlNmbr I_InsurPlcyInsuredBldngBasic InsurPlcyJrnlNmbr Journal Number
KEY InsurPlcyInsurContr I_InsurPlcyInsuredBldngBasic InsurPlcyInsurContr Contract Key
KEY InsurPlcyCoveragePackageID I_InsurPlcyInsuredBldngBasic InsurPlcyCoveragePackageID Cov.Package ID
KEY InsurPlcyCoverageID I_InsurPlcyInsuredBldngBasic InsurPlcyCoverageID Coverage Key
KEY InsurPlcyInsuredObjectID I_InsurPlcyInsuredBldngBasic InsurPlcyInsuredObjectID Ins. Obj. No.
KEY InsurPlcyContrDataDetnJrnlNmbr P_InsuranceOpenApplicationJrnl InsurPlcyContrDataDetnJrnlNmbr
InsurPlcyUUID P_InsuranceOpenApplicationJrnl InsurPlcyUUID Policy UUID

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_InsurOpenApplInsuredBuilding.
-- 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.

CREATE VIEW P_InsurOpenApplInsuredBuilding AS
SELECT
  OpenApplJrnl.InsurPlcyApplUUID AS InsurPlcyApplUUID,
  OpenApplJrnl.InsuranceApplication AS InsuranceApplication,
  Subject.InsurPlcyJrnlNmbr AS InsurPlcyJrnlNmbr,
  Subject.InsurPlcyInsurContr AS InsurPlcyInsurContr,
  Subject.InsurPlcyCoveragePackageID AS InsurPlcyCoveragePackageID,
  Subject.InsurPlcyCoverageID AS InsurPlcyCoverageID,
  Subject.InsurPlcyInsuredObjectID AS InsurPlcyInsuredObjectID,
  OpenApplJrnl.InsurPlcyContrDataDetnJrnlNmbr AS InsurPlcyContrDataDetnJrnlNmbr,
  OpenApplJrnl.InsurPlcyUUID AS InsurPlcyUUID
FROM I_InsurPlcyInsuredBldngBasic AS Subject
INNER JOIN P_InsuranceOpenApplicationJrnl AS OpenApplJrnl ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): I_InsurPlcyInsuredBldngBasic
;