I_InsurPlcyDistrPlnRelshpBasic

DDL: I_INSURPLCYDISTRPLNRELSHPBASIC Type: view_entity BASIC

Distr Plan Relshp in Insurance Policy

I_InsurPlcyDistrPlnRelshpBasic is a Basic CDS View that provides data about "Distr Plan Relshp in Insurance Policy" in SAP S/4HANA. It reads from 1 data source (/pm0/abdadistrel) and exposes 17 fields with key fields InsurPlcyUUID, InsurPlcyInsurContr, InsurPlcyJrnlEndNmbr, InsurPlcyJrnlNmbr, InsurPlcyCoveragePackageID.

Data Sources (1)

SourceAliasJoin Type
/pm0/abdadistrel DistrRPlan from

Annotations (6)

NameValueLevelField
EndUserText.label Distr Plan Relshp in Insurance Policy view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY InsurPlcyUUID
KEY InsurPlcyInsurContr /pm0/abdadistrel policyproduct_id Contract Key
KEY InsurPlcyJrnlEndNmbr /pm0/abdadistrel journalendno_id Term. Jour. No.
KEY InsurPlcyJrnlNmbr
KEY InsurPlcyCoveragePackageID /pm0/abdadistrel covpac_id Cov.Package ID
KEY InsurPlcyCoverageID /pm0/abdadistrel coverage_id UUID
KEY InsurPlcyDistrPlnRelshpID /pm0/abdadistrel distrel_id DPR Key
InsurPlcyProductPackageID /pm0/abdadistrel ppdpac_id Prod. Pckg. Key
InsurPlcyDistrPlanIsCancelled /pm0/abdadistrel cancel_fg Reversal
InsurPlcyDistributionPlanNmbr /pm0/abdadistrel distribplannr_tt DP Number
InsurPlcyDistrRelshpTemplate /pm0/abdadistrel templnr_tt DistPl.Templ.No
InsurPlcyDistrPlanTemplate /pm0/abdadistrel pm_id Withh.Tax PM ID
InsurPlcyDistrPlanCoinsurType /pm0/abdadistrel cointp_cd Coins. Type
InsurPlcyDistrPlanJournalNmbr /pm0/abdadistrel dpjournalno_id Journal Number
InsurPlcyDistrPlanContainerID /pm0/abdadistrel dc_gd Container ID
InsurPlcyBusinessObject /pm0/abdadistrel bo_cd Process.Status
LastChangeDateTime

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_InsurPlcyDistrPlnRelshpBasic.
-- 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 I_InsurPlcyDistrPlnRelshpBasic AS
SELECT
  cast( DistrRPlan.policy_id as /pm0/vdm_policy_uuid preserving type ) AS InsurPlcyUUID,
  DistrRPlan.policyproduct_id AS InsurPlcyInsurContr,
  DistrRPlan.journalendno_id AS InsurPlcyJrnlEndNmbr,
  cast( DistrRPlan.journalno_id as /pm0/vdm_journal_number_id preserving type ) AS InsurPlcyJrnlNmbr,
  DistrRPlan.covpac_id AS InsurPlcyCoveragePackageID,
  DistrRPlan.coverage_id AS InsurPlcyCoverageID,
  DistrRPlan.distrel_id AS InsurPlcyDistrPlnRelshpID,
  DistrRPlan.ppdpac_id AS InsurPlcyProductPackageID,
  DistrRPlan.cancel_fg AS InsurPlcyDistrPlanIsCancelled,
  DistrRPlan.distribplannr_tt AS InsurPlcyDistributionPlanNmbr,
  DistrRPlan.templnr_tt AS InsurPlcyDistrRelshpTemplate,
  DistrRPlan.pm_id AS InsurPlcyDistrPlanTemplate,
  DistrRPlan.cointp_cd AS InsurPlcyDistrPlanCoinsurType,
  DistrRPlan.dpjournalno_id AS InsurPlcyDistrPlanJournalNmbr,
  DistrRPlan.dc_gd AS InsurPlcyDistrPlanContainerID,
  DistrRPlan.bo_cd AS InsurPlcyBusinessObject,
  cast( DistrRPlan.change_ts as vdm_lastchangedon preserving type ) AS LastChangeDateTime
FROM /pm0/abdadistrel AS DistrRPlan
;