I_INSURANCEPOLICYCONTRLIMIT

CDS View

Contract Limit in Insurance Policy

I_INSURANCEPOLICYCONTRLIMIT is a CDS View in S/4HANA. Contract Limit in Insurance Policy. It contains 10 fields. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
R_InsurancePolicyContrLimitTP view_entity from TRANSACTIONAL Contract Limit in Insurance Policy - TP

Fields (10)

KeyField CDS FieldsUsed in Views
KEY InsurPlcyInsurContr InsurPlcyInsurContr 1
KEY InsurPlcyLimitID InsurPlcyLimitID 1
KEY InsurPlcyUUID InsurPlcyUUID 1
InsurPlcyJrnlEndNmbr InsurPlcyJrnlEndNmbr 1
InsurPlcyJrnlNmbr InsurPlcyJrnlNmbr 1
InsurPlcyLimitAmount InsurPlcyLimitAmount 1
InsurPlcyLimitCurrency InsurPlcyLimitCurrency 1
InsurPlcyLimitTemplate InsurancePolicyLimitControl 1
InsurPlcyProductPackageID InsurPolicyContractPackageID 1
LastChangeDateTime LastChangeDateTime 1
@EndUserText.label: 'Contract Limit in Insurance Policy'
@VDM: {
  viewType:#COMPOSITE,
  lifecycle.contract.type:#PUBLIC_LOCAL_API
}
@AccessControl: {
  authorizationCheck: #PRIVILEGED_ONLY,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
   representativeKey: 'InsurPlcyLimitID',
   semanticKey: [ 'InsurPlcyLimitID' ],
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #C,
     sizeCategory:   #XL
   },
   supportedCapabilities: [ #CDS_MODELING_DATA_SOURCE ]
}
@Metadata: {
  allowExtensions:false,
  ignorePropagatedAnnotations:false
}
@Analytics: {
  technicalName: 'IPPlcyContrLmt'
}

define view entity I_InsurancePolicyContrLimit
  as select from I_InsurPlcyLimitBasic as Limit

  association        to parent I_InsuranceContract as _InsuranceContract  on  $projection.InsurPlcyUUID       = _InsuranceContract.InsurPlcyUUID
                                                                          and $projection.InsurPlcyInsurContr = _InsuranceContract.InsurPlcyInsurContr

  association [1..1] to I_Currency                 as _Currency           on  $projection.InsurPlcyLimitCurrency = _Currency.Currency
  association [1..*] to I_InsurPlcyTemplateT       as _InsurPlcyTemplateT on  $projection.InsurPlcyLimitTemplate = _InsurPlcyTemplateT.InsurPlcyTemplate

{

  key Limit.InsurPlcyUUID,
  key Limit.InsurPlcyInsurContr,
  key Limit.InsurPlcyCoveragePackageID,
  key Limit.InsurPlcyCoverageID,
  key Limit.InsurPlcySubCvrgID,
  key Limit.InsurPlcyLimitID,
      Limit.InsurPlcyJrnlNmbr,
      Limit.InsurPlcyJrnlEndNmbr,
      @Consumption.hidden: true
      Limit.InsurPlcyProductPackageID,
      @ObjectModel.text.association: '_InsurPlcyTemplateT'
      // @ObjectModel.sapObjectNodeTypeReference: 'InsurancePolicyTemplate'

      Limit.InsurPlcyLimitTemplate,
      @Semantics.amount.currencyCode: 'InsurPlcyLimitCurrency'
      Limit.InsurPlcyLimitAmount,
      @ObjectModel.foreignKey.association: '_Currency'
      @ObjectModel.sapObjectNodeTypeReference: 'Currency'
      Limit.InsurPlcyLimitCurrency,
      @Semantics.systemDateTime.lastChangedAt: true
      Limit.LastChangeDateTime,

      /* Associations */
      _InsuranceContract,
      @Consumption.hidden: true
      _Currency,
      @Consumption.hidden: true
      _InsurPlcyTemplateT

}
where
      Limit.InsurPlcyJrnlEndNmbr       = 2147483647
  and Limit.InsurPlcyBusinessObject    = 'P'
  and Limit.InsurPlcyCoveragePackageID = 0
  and Limit.InsurPlcyCoverageID        = 0
  and Limit.InsurPlcySubCvrgID         = 0