P_InsurOpenApplPremPayer

DDL: P_INSUROPENAPPLPREMPAYER Type: view_entity COMPOSITE

P_InsurOpenApplPremPayer is a Composite CDS View in SAP S/4HANA. It reads from 4 data sources (P_InsuranceOpenApplicationJrnl, P_InsuranceOpenApplicationJrnl, I_InsurPlcyPremPayerBasic, I_InsurPlcyPremPayerBasic) and exposes 15 fields with key fields InsurPlcyApplUUID, InsuranceApplication, InsurPlcyJrnlNmbr, InsurPlcyInsurContr, InsurPlcyContrPremPayerID.

Data Sources (4)

SourceAliasJoin Type
P_InsuranceOpenApplicationJrnl OpenApplJrnl inner
P_InsuranceOpenApplicationJrnl OpenApplJrnl inner
I_InsurPlcyPremPayerBasic PremPayer from
I_InsurPlcyPremPayerBasic PremPayer union

Annotations (4)

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

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY InsurPlcyApplUUID P_InsuranceOpenApplicationJrnl InsurPlcyApplUUID Policy UUID
KEY InsuranceApplication P_InsuranceOpenApplicationJrnl InsuranceApplication
KEY InsurPlcyJrnlNmbr I_InsurPlcyPremPayerBasic InsurPlcyJrnlNmbr Journal Number
KEY InsurPlcyInsurContr I_InsurPlcyPremPayerBasic InsurPlcyInsurContr Contract Key
KEY InsurPlcyContrPremPayerID I_InsurPlcyPremPayerBasic InsurPlcyContrPremPayerID PremiumPayer ID
KEY InsurPlcyContrDataDetnJrnlNmbr P_InsuranceOpenApplicationJrnl InsurPlcyContrDataDetnJrnlNmbr
InsurPlcyUUID P_InsuranceOpenApplicationJrnl InsurPlcyUUID Policy UUID
InsurPlcyApplUUID Policy UUID
KEY InsuranceApplication P_InsuranceOpenApplicationJrnl InsuranceApplication
KEY InsurPlcyJrnlNmbr I_InsurPlcyPremPayerBasic InsurPlcyJrnlNmbr Journal Number
KEY InsurPlcyInsurContr I_InsurPlcyPremPayerBasic InsurPlcyInsurContr Contract Key
KEY InsurPlcyContrPremPayerID I_InsurPlcyPremPayerBasic InsurPlcyContrPremPayerID PremiumPayer ID
KEY InsurPlcyContrDataDetnJrnlNmbr P_InsuranceOpenApplicationJrnl InsurPlcyContrDataDetnJrnlNmbr
InsurPlcyUUID P_InsuranceOpenApplicationJrnl InsurPlcyUUID Policy UUID
InsuranceApplicationStatus P_InsuranceOpenApplicationJrnl InsuranceApplicationStatus

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_InsurOpenApplPremPayer.
-- 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_InsurOpenApplPremPayer AS
SELECT
  OpenApplJrnl.InsurPlcyApplUUID AS InsurPlcyApplUUID,
  OpenApplJrnl.InsuranceApplication AS InsuranceApplication,
  PremPayer.InsurPlcyJrnlNmbr AS InsurPlcyJrnlNmbr,
  PremPayer.InsurPlcyInsurContr AS InsurPlcyInsurContr,
  PremPayer.InsurPlcyContrPremPayerID AS InsurPlcyContrPremPayerID,
  OpenApplJrnl.InsurPlcyContrDataDetnJrnlNmbr AS InsurPlcyContrDataDetnJrnlNmbr,
  OpenApplJrnl.InsurPlcyUUID AS InsurPlcyUUID,
  OpenApplJrnl.InsuranceApplicationStatus AS InsuranceApplicationStatus
FROM I_InsurPlcyPremPayerBasic AS PremPayer
INNER JOIN P_InsuranceOpenApplicationJrnl AS OpenApplJrnl ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): I_InsurPlcyPremPayerBasic
;