I_InsurClmClaimOverview

DDL: I_INSURCLMCLAIMOVERVIEW SQL: IICLCLAIMOVW Type: view COMPOSITE

Schaden-/Leistungsfall cübersicht

I_InsurClmClaimOverview is a Composite CDS View that provides data about "Schaden-/Leistungsfall cübersicht" in SAP S/4HANA. It reads from 1 data source (I_InsuranceClaim) and exposes 48 fields with key field InsuranceClaim. It has 15 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_InsuranceClaim I_InsuranceClaim from

Associations (15)

CardinalityTargetAliasCondition
[1..1] I_InsurClmInsuredVehInquiry _InsuredVehicle $projection.InsuranceClaim = _InsuredVehicle.InsuranceContract
[1..1] I_InsurClmLossCause _LossCause $projection.InsurClmType = _LossCause.InsurClmType and $projection.InsurClmTypeGeneration = _LossCause.InsurClmTypeGeneration and $projection.InsurClmTypeVers = _LossCause.InsurClmTypeVers and $projection.InsurClmCauseOfLoss = _LossCause.InsurClmCauseOfLoss
[1..1] I_Address _address $projection.InsurClmLossLocAddressID = _address.AddressID and $projection.InsurClmLossLocAddressID is not initial
[0..1] I_InsurClmLossDesc _LossDescription $projection.InsuranceClaim = _LossDescription.InsuranceClaim
[0..1] I_InsurClmHandler _ClaimHandler $projection.InsuranceClaim = _ClaimHandler.InsuranceClaim
[0..*] I_InsurClmIncdntTypeText _IncidentTypeText $projection.InsurClmIncdntType = _IncidentTypeText.InsurClmIncdntType
[0..1] I_InsurClmPolicyHolderInquiry _PolicyHolder $projection.InsuranceClaim = _PolicyHolder.InsuranceClaim
[0..1] I_InsurClmStatus _ClaimStatus $projection.InsurClmLifeCycSts = _ClaimStatus.InsurClmLifeCycSts
[0..*] I_InsurClmComplexityText _ComplexityText $projection.InsurClmComplexity = _ComplexityText.InsurClmComplexity
[1..1] I_InsurClmLossExpnRcvryInqry _LossExpRecovery $projection.InsuranceClaim = _LossExpRecovery.InsuranceClaim
[1..1] I_InsurClmObjectAssignment _ObjectAssign $projection.InsuranceClaim = _ObjectAssign.InsuranceClaim and _ObjectAssign.InsurClmSubobjectCategory = 'C' and _ObjectAssign.InsurClmObjectCategory = 'E' and _ObjectAssign.IsDeleted = 'O'
[1..1] I_InsurClmLossLocDesc _LossLocDesc $projection.InsuranceClaim = _LossLocDesc.InsuranceClaim
[1..1] I_InsurClmIncidentDetails _LossDesc $projection.InsuranceClaim = _LossDesc.InsuranceClaim
[0..1] E_InsuranceClaim _Extension $projection.InsuranceClaim = _Extension.InsuranceClaim
[1..1] I_InsurClmStatsReasonText _StatusReasonText $projection.InsurClmStatReason = _StatusReasonText.InsurClmStatReason and _StatusReasonText.Language = $session.system_language

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IICLCLAIMOVW view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Schaden-/Leistungsfall cübersicht view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (48)

KeyFieldSource TableSource FieldDescription
KEY InsuranceClaim InsuranceClaim
InsuranceContract InsuranceContract
InsurClmPolicyProduct InsurClmPolicyProduct
InsurClmLifeCycSts InsurClmLifeCycSts
InsurClmLifeCycStsName
InsurClmType InsurClmType
InsurClmTypeGeneration InsurClmTypeGeneration
InsurClmTypeVers InsurClmTypeVers
InsurClmAuthznGrp InsurClmAuthznGrp
InsurClmPolicyProdGeneration InsurClmPolicyProdGeneration
InsurClmPolicyProductVersion InsurClmPolicyProductVersion
InsurClmIncdntType InsurClmIncdntType
InsurClmIncdntTypeName
InsurLineOfBus _PolicySnapshot InsurLineOfBus
InsurClmDateOfLoss InsurClmDateOfLoss
InsurClmCauseOfLoss InsurClmCauseOfLoss
InsurClmLossLocAddressID InsurClmLossLocAddressID
InsurClmDescriptionOfLossLoc _LossLocDesc InsurClmDescriptionOfLossLoc
InsurClmIncidentDetailsText _LossDesc InsurClmIncidentDetailsText
InsurClaimBundle _ObjectAssign InsuranceClaimObject
InsurClmTimeOfLoss InsurClmTimeOfLoss
InsurClmComplexity InsurClmComplexity
InsurClmComplexityName
InsurClmCovered InsurClmCovered
InsurancePolicy _PolicySnapshot InsurancePolicy
InsurClmContractStartDateTime
InsurClmContractEndDateTime
Country11111asInsurClmLocationText
InsurClmDescriptionOfLoss _LossDescription InsurClmDescriptionOfLoss
InsurClmCauseOfLossName
FullName _ClaimHandler FullName
InsurClmPolicyHolderName _PolicyHolder InsurClmPolicyHolderName
InsurancePolicyholder _PolicyHolder BusinessPartner
InsurClmExpnExpenditureAmount _LossExpRecovery InsurClmExpnExpenditureAmount
InsurClmLossExpenditureAmount _LossExpRecovery InsurClmLossExpenditureAmount
InsurClmTotalRecoveryPaytAmt _LossExpRecovery InsurClmTotalRecoveryPaytAmt
InsurClmLossPaytAmt _LossExpRecovery InsurClmLossPaytAmt
InsurClmExpensePaytAmt _LossExpRecovery InsurClmExpensePaytAmt
InsurClmLossReserveAmt _LossExpRecovery InsurClmLossReserveAmt
InsurClmExpenseReserveAmount
InsurClmSalvagePaytAmt _LossExpRecovery InsurClmSalvagePaytAmt
InsurClmSubrogtnRcvryPaytAmt _LossExpRecovery InsurClmSubrogtnRcvryPaytAmt
InsurClmRecoveryPaytAmt _LossExpRecovery InsurClmRecoveryPaytAmt
InsurClmPaymentCurrency
InsurClmStatReason InsurClmStatReason
InsurClmAgentReportedDate InsurClmAgentReportedDate
_LossExpRecovery _LossExpRecovery
_StatusReasonText _StatusReasonText
@AbapCatalog.sqlViewName: 'IICLCLAIMOVW'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Schaden-/Leistungsfall cübersicht'
@AccessControl.personalData.blocking: #REQUIRED
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType.serviceQuality: #X
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ClientHandling.algorithm: #SESSION_VARIABLE
define view I_InsurClmClaimOverview
  as select from I_InsuranceClaim
  association [1..1] to I_InsurClmInsuredVehInquiry   as _InsuredVehicle   on  $projection.InsuranceClaim = _InsuredVehicle.InsuranceContract
  // and $projection.InsurClmVehicle   = _InsuredVehicle.InsurClmVehicle

  association [1..1] to I_InsurClmLossCause           as _LossCause        on  $projection.InsurClmType           = _LossCause.InsurClmType
                                                                           and $projection.InsurClmTypeGeneration = _LossCause.InsurClmTypeGeneration
                                                                           and $projection.InsurClmTypeVers       = _LossCause.InsurClmTypeVers
                                                                           and $projection.InsurClmCauseOfLoss    = _LossCause.InsurClmCauseOfLoss
  association [1..1] to I_Address                     as _address          on  $projection.InsurClmLossLocAddressID = _address.AddressID
                                                                           and $projection.InsurClmLossLocAddressID is not initial
  association [0..1] to I_InsurClmLossDesc            as _LossDescription  on  $projection.InsuranceClaim = _LossDescription.InsuranceClaim

  association [0..1] to I_InsurClmHandler             as _ClaimHandler     on  $projection.InsuranceClaim = _ClaimHandler.InsuranceClaim

  association [0..*] to I_InsurClmIncdntTypeText      as _IncidentTypeText on  $projection.InsurClmIncdntType = _IncidentTypeText.InsurClmIncdntType

  association [0..1] to I_InsurClmPolicyHolderInquiry as _PolicyHolder     on  $projection.InsuranceClaim = _PolicyHolder.InsuranceClaim

  association [0..1] to I_InsurClmStatus              as _ClaimStatus      on  $projection.InsurClmLifeCycSts = _ClaimStatus.InsurClmLifeCycSts

  association [0..*] to I_InsurClmComplexityText      as _ComplexityText   on  $projection.InsurClmComplexity = _ComplexityText.InsurClmComplexity

  association [1..1] to I_InsurClmLossExpnRcvryInqry  as _LossExpRecovery  on  $projection.InsuranceClaim = _LossExpRecovery.InsuranceClaim

  association [1..1] to I_InsurClmObjectAssignment    as _ObjectAssign     on  $projection.InsuranceClaim              = _ObjectAssign.InsuranceClaim
                                                                           and _ObjectAssign.InsurClmSubobjectCategory = 'C'
                                                                           and _ObjectAssign.InsurClmObjectCategory    = 'E'
                                                                           and _ObjectAssign.IsDeleted                 = 'O'

  association [1..1] to I_InsurClmLossLocDesc         as _LossLocDesc      on  $projection.InsuranceClaim = _LossLocDesc.InsuranceClaim

  association [1..1] to I_InsurClmIncidentDetails     as _LossDesc         on  $projection.InsuranceClaim = _LossDesc.InsuranceClaim

  // association [1..1] to I_InsurClmStatusText          as _StatusDrop       on  $projection.InsurClmLifeCycSts = _StatusDrop.InsurClmLifeCycSts // _StatusDrop.Language = $session.system_language

  association [0..1] to E_InsuranceClaim              as _Extension        on  $projection.InsuranceClaim = _Extension.InsuranceClaim
  association [1..1] to I_InsurClmStatsReasonText     as _StatusReasonText on  $projection.InsurClmStatReason = _StatusReasonText.InsurClmStatReason
                                                                           and _StatusReasonText.Language     = $session.system_language
{
  key InsuranceClaim,
      InsuranceContract,
      InsurClmPolicyProduct,
      //   @Consumption.valueHelp: '_StatusDrop'

      InsurClmLifeCycSts,


      _ClaimStatus._ClaimStatusText[ Language = $session.system_language ].InsurClmLifeCycStsName    as InsurClmLifeCycStsName,

      InsurClmType,
      InsurClmTypeGeneration,
      InsurClmTypeVers,
      InsurClmAuthznGrp,
      InsurClmPolicyProdGeneration,
      InsurClmPolicyProductVersion,

      InsurClmIncdntType,
      _IncidentTypeText[ Language = $session.system_language ].InsurClmIncdntTypeName                as InsurClmIncdntTypeName,

      _PolicySnapshot.InsurLineOfBus,
      InsurClmDateOfLoss,
      InsurClmCauseOfLoss,
      InsurClmLossLocAddressID,
      _LossLocDesc.InsurClmDescriptionOfLossLoc                                                      as InsurClmDescriptionOfLossLoc,
      _LossDesc.InsurClmIncidentDetailsText,

      _ObjectAssign.InsuranceClaimObject                                                             as InsurClaimBundle,

      InsurClmTimeOfLoss,
      InsurClmComplexity,
      _ComplexityText[ Language = $session.system_language ].InsurClmComplexityName                  as InsurClmComplexityName,

      InsurClmCovered,

      _PolicySnapshot.InsurancePolicy                                                                as InsurancePolicy,

      cast( _PolicySnapshot.InsurClmContractStartDateTime as icl_achangetime_fiori preserving type ) as InsurClmContractStartDateTime,

      cast( _PolicySnapshot.InsurClmContractEndDateTime as icl_achangetime_fiori preserving type )   as InsurClmContractEndDateTime,


      //      _InsuredVehicle.InsurClmVehiclePlateNumber                                                     as InsurClmVehiclePlateNumber,


      //      concat_with_space(_InsuredVehicle.InsurClmVehicleMfrTxt,_InsuredVehicle.InsurClmVehicleModelTxt,1) as InsurClmInsrdVehMakeModelText,

      //      _InsuredVehicle.InsurClmInsrdVehMakeModelText,


      ////      _address.StreetName                        as InsurClmLossLocStreet,

      ////      _address.HouseNumber                       as InsurClmLossLocHouseNumber,

      ////      _address.CityName                          as InsurClmLossLocCity,

      ////      _address.Region                            as InsurClmLossLocRegion,

      ////      _address.PostalCode                        as InsurClmLossLocPostalCode,

      ////      _address.Country                           as InsurClmLossLocCountry,

      concat_with_space( _address.HouseNumber,
       concat_with_space(_address.StreetName,
        concat_with_space(_address.CityName,
         concat_with_space(_address.Region,
          concat_with_space(_address.PostalCode,_address.Country, 1), 1), 1), 1), 1 )                as InsurClmLocationText,

      _LossDescription.InsurClmDescriptionOfLoss                                                     as InsurClmDescriptionOfLoss,

      _LossCause._LossCauseText[ Language = $session.system_language ].InsurClmCauseOfLossName       as InsurClmCauseOfLossName,

      _ClaimHandler.FullName                                                                         as FullName,

      _PolicyHolder.InsurClmPolicyHolderName                                                         as InsurClmPolicyHolderName,
      _PolicyHolder.BusinessPartner                                                                  as InsurancePolicyholder,

      _LossExpRecovery.InsurClmExpnExpenditureAmount                                                 as InsurClmExpnExpenditureAmount,
      _LossExpRecovery.InsurClmLossExpenditureAmount                                                 as InsurClmLossExpenditureAmount,
      _LossExpRecovery.InsurClmTotalRecoveryPaytAmt                                                  as InsurClmTotalRecoveryPaytAmt,

      _LossExpRecovery.InsurClmLossPaytAmt                                                           as InsurClmLossPaytAmt,
      _LossExpRecovery.InsurClmExpensePaytAmt                                                        as InsurClmExpensePaytAmt,
      _LossExpRecovery.InsurClmLossReserveAmt                                                        as InsurClmLossReserveAmt,
      //Commented for incident:2180197645

      //      _LossExpRecovery.InsurClmExpenseReserveAmount                                                  as InsurClmExpenseReserveAmount,

      //End of commented for incident:2180197645


      //Added for incident:2180197645

      _LossExpRecovery.InsurClmExpnExpenditureAmount - _LossExpRecovery.InsurClmExpensePaytAmt       as InsurClmExpenseReserveAmount,
      //End of addition for incident:2180197645

      _LossExpRecovery.InsurClmSalvagePaytAmt                                                        as InsurClmSalvagePaytAmt,
      _LossExpRecovery.InsurClmSubrogtnRcvryPaytAmt                                                  as InsurClmSubrogtnRcvryPaytAmt,
      _LossExpRecovery.InsurClmRecoveryPaytAmt                                                       as InsurClmRecoveryPaytAmt,
      cast(_LossExpRecovery.InsurClmPaymentCurrency as char0008)                                     as InsurClmPaymentCurrency,
      InsurClmStatReason,
      InsurClmAgentReportedDate,
      _LossExpRecovery,
      _StatusReasonText
      // _StatusDrop







      ////      _LossCause

      ////      _PolicyProduct,

      ////      _PolicySnapshot,

      ////      _AllwdSubclmType

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ADDRESS",
"I_INSURANCECLAIM",
"I_INSURCLMCOMPLEXITYTEXT",
"I_INSURCLMHANDLER",
"I_INSURCLMINCDNTTYPETEXT",
"I_INSURCLMINCIDENTDETAILS",
"I_INSURCLMLOSSCAUSE",
"I_INSURCLMLOSSCAUSETEXT",
"I_INSURCLMLOSSDESC",
"I_INSURCLMLOSSEXPNRCVRYINQRY",
"I_INSURCLMLOSSLOCDESC",
"I_INSURCLMOBJECTASSIGNMENT",
"I_INSURCLMPOLICYHOLDERINQUIRY",
"I_INSURCLMPOLICYSNAPSHOT",
"I_INSURCLMSTATUS",
"I_INSURCLMSTATUSTEXT"
],
"ASSOCIATED":
[
"E_INSURANCECLAIM",
"I_ADDRESS",
"I_INSURCLMCOMPLEXITYTEXT",
"I_INSURCLMHANDLER",
"I_INSURCLMINCDNTTYPETEXT",
"I_INSURCLMINCIDENTDETAILS",
"I_INSURCLMINSUREDVEHINQUIRY",
"I_INSURCLMLOSSCAUSE",
"I_INSURCLMLOSSDESC",
"I_INSURCLMLOSSEXPNRCVRYINQRY",
"I_INSURCLMLOSSLOCDESC",
"I_INSURCLMOBJECTASSIGNMENT",
"I_INSURCLMPOLICYHOLDERINQUIRY",
"I_INSURCLMSTATSREASONTEXT",
"I_INSURCLMSTATUS"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/