I_InsurPlcyDeductibleBasic_2

DDL: I_INSURPLCYDEDUCTIBLEBASIC_2 Type: view_entity BASIC

Deductible in Insurance Policy

I_InsurPlcyDeductibleBasic_2 is a Basic CDS View that provides data about "Deductible in Insurance Policy" in SAP S/4HANA. It reads from 1 data source (/pm0/abdadedctbl) and exposes 23 fields with key fields InsurPlcyUUID, InsurPlcyInsurContr, InsurPlcyJrnlEndNmbr, InsurPlcyJrnlNmbr, InsurPlcyCoveragePackageID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
/pm0/abdadedctbl Deductible from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_Currency _Currency $projection.InsurPlcyDeductibleCurrency = _Currency.Currency

Annotations (6)

NameValueLevelField
EndUserText.label Deductible in Insurance Policy view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY InsurPlcyUUID
KEY InsurPlcyInsurContr /pm0/abdadedctbl policyproduct_id Contract Key
KEY InsurPlcyJrnlEndNmbr /pm0/abdadedctbl journalendno_id Term. Jour. No.
KEY InsurPlcyJrnlNmbr
KEY InsurPlcyCoveragePackageID /pm0/abdadedctbl covpac_id Cov.Package ID
KEY InsurPlcyCoverageID /pm0/abdadedctbl coverage_id UUID
KEY InsurPlcyCoverageOptionID /pm0/abdadedctbl covcp_id Cov. Option Key
KEY InsurPlcyInsuredObjectID /pm0/abdadedctbl subject_id Subject
KEY InsurPlcyUndrwrtgDcsnRiskID /pm0/abdadedctbl uwdcn_id UndWritDecision
KEY InsurPlcySubCvrgID /pm0/abdadedctbl covcpco_id Subcoverage Key
KEY InsurPlcyDeductibleID /pm0/abdadedctbl dedctbl_id Deduct. ID
InsurPlcyProductPackageID /pm0/abdadedctbl ppdpac_id Prod. Pckg. Key
InsurPlcyDeductibleCategory /pm0/abdadedctbl deductible_cd Deductible Type
InsurPlcyDeductibleAmount /pm0/abdadedctbl dedctbl_am Deductible Amt
InsurPlcyDeductibleStartDate
InsurPlcyDeductibleEndDate
InsurPlcyDeductibleTemplate
InsurPlcyDeductibleCurrency /pm0/abdadedctbl currency_id Indx-Based Curr
InsurPlcyDeductibleAmountUnit /pm0/abdadedctbl deductibletyp_cd Deductible Cat.
InsurPlcyDeductibleValue /pm0/abdadedctbl dedctbl_vl Ded. Percentage
InsurPlcyBusinessObject /pm0/abdadedctbl bo_cd Process.Status
LastChangeDateTime /pm0/abdadedctbl change_ts Time Stamp
_Currency _Currency

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_InsurPlcyDeductibleBasic_2.
-- 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_InsurPlcyDeductibleBasic_2 AS
SELECT
  cast( Deductible.policy_id as /pm0/vdm_policy_uuid preserving type ) AS InsurPlcyUUID,
  Deductible.policyproduct_id AS InsurPlcyInsurContr,
  Deductible.journalendno_id AS InsurPlcyJrnlEndNmbr,
  cast( Deductible.journalno_id as /pm0/vdm_journal_number_id preserving type ) AS InsurPlcyJrnlNmbr,
  Deductible.covpac_id AS InsurPlcyCoveragePackageID,
  Deductible.coverage_id AS InsurPlcyCoverageID,
  Deductible.covcp_id AS InsurPlcyCoverageOptionID,
  Deductible.subject_id AS InsurPlcyInsuredObjectID,
  Deductible.uwdcn_id AS InsurPlcyUndrwrtgDcsnRiskID,
  Deductible.covcpco_id AS InsurPlcySubCvrgID,
  Deductible.dedctbl_id AS InsurPlcyDeductibleID,
  Deductible.ppdpac_id AS InsurPlcyProductPackageID,
  Deductible.deductible_cd AS InsurPlcyDeductibleCategory,
  Deductible.dedctbl_am AS InsurPlcyDeductibleAmount,
  cast( Deductible.ddtbegin_dt as /pm0/vdm_dcbl_start_date preserving type ) AS InsurPlcyDeductibleStartDate,
  cast( Deductible.ddtend_dt as /pm0/vdm_dcbl_end_date preserving type ) AS InsurPlcyDeductibleEndDate,
  cast( Deductible.pm_id as /pm0/vdm_dcbl_template_code preserving type ) AS InsurPlcyDeductibleTemplate,
  Deductible.currency_id AS InsurPlcyDeductibleCurrency,
  Deductible.deductibletyp_cd AS InsurPlcyDeductibleAmountUnit,
  Deductible.dedctbl_vl AS InsurPlcyDeductibleValue,
  Deductible.bo_cd AS InsurPlcyBusinessObject,
  Deductible.change_ts AS LastChangeDateTime
FROM /pm0/abdadedctbl AS Deductible
LEFT OUTER JOIN I_Currency AS _Currency ON InsurPlcyDeductibleCurrency = _Currency.Currency  -- association [1..1]
;