I_InsurClmPolicySnapshot

DDL: I_INSURCLMPOLICYSNAPSHOT Type: view BASIC

Vertragsspiegel

I_InsurClmPolicySnapshot is a Basic CDS View that provides data about "Vertragsspiegel" in SAP S/4HANA. It reads from 1 data source (iclpol) and exposes 45 fields with key fields InsuranceClaim, InsurClmContractVersion. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
iclpol iclpol from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_InsuranceClaim _InsuranceClaim $projection.InsuranceClaim = _InsuranceClaim.InsuranceClaim
[0..*] I_InsurClmBnftTypesPlcySnpsht _BnftTypesPlcySnpsht $projection.InsuranceClaim = _BnftTypesPlcySnpsht.InsuranceClaim and $projection.InsurClmContractVersion = _BnftTypesPlcySnpsht.InsurClmContractVersion

Annotations (10)

NameValueLevelField
EndUserText.label Vertragsspiegel view
AbapCatalog.sqlViewName IICLINTCLMPOLSNP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #B view

Fields (45)

KeyFieldSource TableSource FieldDescription
KEY InsuranceClaim claim Policy Snapshot
KEY InsurClmContractVersion polvnr Contrct Counter
InsurClmContractStartDateTime Inception
InsurClmContractEndDateTime End
InsurancePolicy policy_pm Policy
InsurClmPolicyProdMultiCrcyCat multi_currency_category Multi-Currency
InsurClmLimitAndDcblCurrency curr Valuation Crcy
InsurLineOfBus plineofbus Insurance Line
InsurClmChangeTime Created
InsurClmChangedBy changedby User Name
InsurClmDatabaseLineStatus deleted Truth Value
InsurClmPlcySnpshtImported importstatus Status
InsurClmPlcySnpshtOverview validdata Data Status
InsurClmPlcySnpshtHasChanged manchange Chngd Manually
InsurClmPlcySnpshtFromDateTime Vers.Valid From
InsurClmPlcySnpshtToDateTime Vers.Valid To
InsurClmPlcySnpshtVersDateTime Changed On
InsurClmIssuePrescriptDateTime Issued On
InsurClmJurisdictionCountry juriscountry C/R Juris.
InsurClmJurisdictionRegion jurisregion Jurisd. Region
InsurClmPlcySnpshtDiscountRate ncbonus ClaimFree Disc.
InsurClmPlcySnpshtDistChannel distchan Distr. Channel
InsurClmBndlParentContract policy Policy
InsurClmPolicyProduct polprod Stand. Product
InsurClmContractLastRenewal Last Renewal
InsurClmLoanHdrInsurObjId polobj_cd ID of PM Insurance Object in CD
InsurClmIsBenefitExclusion benexclper Ben.Exclsn Per.
InsurClmPlcySnpshtNoOfPolicy polex_pm External Policy
InsurClmPlcySnpshtPlcyShrtName policy_pm_txt Policy Name
InsurClmBndlNameOfContrTxt contr_pm_txt Contract Name
InsurClmBnftProcgPrfl profile_pr_level BenProcProfile
InsurClmPlcySnpshtHasClause clause Clauses
InsurClmPlcySnpshtPlcyProdName polprodn Policy Product
InsurClmGenInsurConditionsText inscond_gen GenInsurCondtns
InsurClmGenConditionsDescText inscond_genn Description
InsurClmSpecialConditionsText inscond_spec Specl InsurCond
InsurClmSpclConditionsDescText inscond_specn Description
InsurClmReinsurPlcyCompanyCode bukrs Value
InsurClmReinsurBPBroker gesnr BP Company Code
InsurClmPlcySnpshtMainDue mainmatur_dt Main Due Date
InsurClmPlcySnpshtDueDate Promised For
InsurClmPlcySnpshtReqStatus requeststatus Request Status
InsurClmPlcySnpshtLangKey text_langu Language Text
_InsuranceClaim _InsuranceClaim
_BnftTypesPlcySnpsht _BnftTypesPlcySnpsht

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_InsurClmPolicySnapshot.
-- 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_InsurClmPolicySnapshot AS
SELECT
  claim AS InsuranceClaim,
  polvnr AS InsurClmContractVersion,
  cast(inception as timestamp) AS InsurClmContractStartDateTime,
  cast(expiry as timestamp) AS InsurClmContractEndDateTime,
  policy_pm AS InsurancePolicy,
  multi_currency_category AS InsurClmPolicyProdMultiCrcyCat,
  curr AS InsurClmLimitAndDcblCurrency,
  plineofbus AS InsurLineOfBus,
  cast (changetime as tzntstmps preserving type) AS InsurClmChangeTime,
  changedby AS InsurClmChangedBy,
  deleted AS InsurClmDatabaseLineStatus,
  importstatus AS InsurClmPlcySnpshtImported,
  validdata AS InsurClmPlcySnpshtOverview,
  manchange AS InsurClmPlcySnpshtHasChanged,
  cast (validfrom as tzntstmps preserving type) AS InsurClmPlcySnpshtFromDateTime,
  cast (validto as tzntstmps preserving type) AS InsurClmPlcySnpshtToDateTime,
  cast (srcchange as tzntstmps preserving type) AS InsurClmPlcySnpshtVersDateTime,
  cast (issued as tzntstmps preserving type) AS InsurClmIssuePrescriptDateTime,
  juriscountry AS InsurClmJurisdictionCountry,
  jurisregion AS InsurClmJurisdictionRegion,
  ncbonus AS InsurClmPlcySnpshtDiscountRate,
  distchan AS InsurClmPlcySnpshtDistChannel,
  policy AS InsurClmBndlParentContract,
  polprod AS InsurClmPolicyProduct,
  cast (lrenewal as tzntstmps preserving type) AS InsurClmContractLastRenewal,
  polobj_cd AS InsurClmLoanHdrInsurObjId,
  benexclper AS InsurClmIsBenefitExclusion,
  polex_pm AS InsurClmPlcySnpshtNoOfPolicy,
  policy_pm_txt AS InsurClmPlcySnpshtPlcyShrtName,
  contr_pm_txt AS InsurClmBndlNameOfContrTxt,
  profile_pr_level AS InsurClmBnftProcgPrfl,
  clause AS InsurClmPlcySnpshtHasClause,
  polprodn AS InsurClmPlcySnpshtPlcyProdName,
  inscond_gen AS InsurClmGenInsurConditionsText,
  inscond_genn AS InsurClmGenConditionsDescText,
  inscond_spec AS InsurClmSpecialConditionsText,
  inscond_specn AS InsurClmSpclConditionsDescText,
  bukrs AS InsurClmReinsurPlcyCompanyCode,
  gesnr AS InsurClmReinsurBPBroker,
  mainmatur_dt AS InsurClmPlcySnpshtMainDue,
  cast (duedate as dats preserving type) AS InsurClmPlcySnpshtDueDate,
  requeststatus AS InsurClmPlcySnpshtReqStatus,
  text_langu AS InsurClmPlcySnpshtLangKey
FROM iclpol
LEFT OUTER JOIN I_InsuranceClaim AS _InsuranceClaim ON InsuranceClaim = _InsuranceClaim.InsuranceClaim  -- association [1..1]
LEFT OUTER JOIN I_InsurClmBnftTypesPlcySnpsht AS _BnftTypesPlcySnpsht ON InsuranceClaim = _BnftTypesPlcySnpsht.InsuranceClaim AND InsurClmContractVersion = _BnftTypesPlcySnpsht.InsurClmContractVersion  -- association [0..*]
;