C_InsurClmDamagedPrptyInqry

DDL: C_INSURCLMDAMAGEDPRPTYINQRY SQL: CICLDAMREINQ Type: view CONSUMPTION Package: ICL_VDM_CLAIMINQUIRY

Schadenobjekte für Fallauskunft

C_InsurClmDamagedPrptyInqry is a Consumption CDS View that provides data about "Schadenobjekte für Fallauskunft" in SAP S/4HANA. It reads from 1 data source (I_InsurClmDamagedPrptyDetails) and exposes 19 fields with key fields InsuranceClaim, InsurClmDamagedObject, InsurClmDmgdSubObject. It has 5 associations to related views. It is exposed through 1 OData service (ICL_CLAIMINQUIRY_R). Part of development package ICL_VDM_CLAIMINQUIRY.

Data Sources (1)

SourceAliasJoin Type
I_InsurClmDamagedPrptyDetails I_InsurClmDamagedPrptyDetails from

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_Address _Location $projection.InsurClmBuildingAddress = _Location.AddressID
[1..1] I_InsurClmSubclaimInquiry _SubClaim $projection.InsuranceClaim = _SubClaim.InsuranceClaim and $projection.InsurClmDmgdSubObject = _SubClaim.InsurClmSubclm
[1..*] I_InsurClmPrtcpntOccrnc _Claimant $projection.InsuranceClaim = _Claimant.InsuranceClaim and _Claimant.InsurClmSubobjectCategory = 'S' and $projection.InsurClmDmgdSubObject = _Claimant.InsurClmSubobject and _Claimant.InsurClmParticipantRole = 'CLAI'
[1..*] C_InsurClmFactCapture _FactsCapture $projection.InsuranceClaim = _FactsCapture.InsuranceClaim and _FactsCapture.InsurClmFactCaptureCategory = 'DO' and $projection.InsurClmDamagedObject = _FactsCapture.InsurClmSubobject
[1..*] I_InsurClmDmgdPrptyType _Iobtype $projection.InsurClmInsuredObjectType = _Iobtype.InsurClmInsuredObjectType

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName CICLDAMREINQ view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Schadenobjekte für Fallauskunft view
Metadata.allowExtensions true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
UI.headerInfo.typeName Schadenobjekt view
UI.headerInfo.typeNamePlural Liste der Schadenobjekte view
UI.headerInfo.title.value InsurClmInsuredObjectTypeName view
UI.headerInfo.description.value InsurClmConstructionYear view
UI.headerInfo.description.type #STANDARD view

OData Services (1)

ServiceBindingVersionContractRelease
ICL_CLAIMINQUIRY_R ICL_UI_CLAIMINQUIRY_R_O2 V2 C1 NOT_RELEASED

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY InsuranceClaim I_InsurClmDamagedPrptyDetails InsuranceClaim Claim Number
KEY InsurClmDamagedObject InsurClmDamagedObject Damaged Object
KEY InsurClmDmgdSubObject I_InsurClmDamagedPrptyDetails InsurClmDmgdSubObject Subobject
InsurClmInsuredObjectType InsurClmInsuredObjectType
InsurClmInsuredObjectTypeName Gebäudeart
InsurClmConstructionYear InsurClmConstructionYear Jahr
InsurClmBuildingAddress InsurClmBuildingAddress
Country111asInsurClmLocationText Ort
InsurClmSubclmDescriptionText Fall/Teilfall
InsurClmBuildingTypeDesc InsurClmBuildingTypeDesc Beschreibung
InsurClmTotalLoss InsurClmTotalLoss Totalschaden
InsurClmPrimaryMaterialTxt InsurClmPrimaryMaterialTxt Hauptbaumaterial
InsurClmScopeOfLossTxt InsurClmScopeOfLossTxt Schadenumfang
InsurClmPreferredSupplier InsurClmPreferredSupplier Bevorzugter Lieferant
BusinessPartnerName _Claimant BusinessPartnerName Anspruchsteller
_Location _Location
_SubClaim _SubClaim
_Claimant _Claimant
_FactsCapture _FactsCapture

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 C_InsurClmDamagedPrptyInqry.
-- 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.
-- SQL view name: CICLDAMREINQ

CREATE VIEW C_InsurClmDamagedPrptyInqry AS
SELECT
  I_InsurClmDamagedPrptyDetails.InsuranceClaim AS InsuranceClaim,
  InsurClmDamagedObject,
  I_InsurClmDamagedPrptyDetails.InsurClmDmgdSubObject AS InsurClmDmgdSubObject,
  InsurClmInsuredObjectType,
  _Iobtype._PropTypeText[ Language = $session.system_language].Name AS InsurClmInsuredObjectTypeName,
  InsurClmConstructionYear,
  InsurClmBuildingAddress,
  concat_with_space(_Location.HouseNumber, concat_with_space(_Location.StreetName, concat_with_space(_Location.CityName,_Location.Country,1),1),1) as InsurClmLocationText AS Country111asInsurClmLocationText,
  concat_with_space(_SubClaim.InsurClmSubclm,_SubClaim.InsurClmSubclaimDescription,1) AS InsurClmSubclmDescriptionText,
  InsurClmBuildingTypeDesc,
  InsurClmTotalLoss,
  InsurClmPrimaryMaterialTxt,
  InsurClmScopeOfLossTxt,
  InsurClmPreferredSupplier,
  _Claimant.BusinessPartnerName AS BusinessPartnerName
FROM I_InsurClmDamagedPrptyDetails
LEFT OUTER JOIN I_Address AS _Location ON InsurClmBuildingAddress = _Location.AddressID  -- association [1..1]
LEFT OUTER JOIN I_InsurClmSubclaimInquiry AS _SubClaim ON InsuranceClaim = _SubClaim.InsuranceClaim AND InsurClmDmgdSubObject = _SubClaim.InsurClmSubclm  -- association [1..1]
LEFT OUTER JOIN I_InsurClmPrtcpntOccrnc AS _Claimant ON InsuranceClaim = _Claimant.InsuranceClaim AND _Claimant.InsurClmSubobjectCategory = 'S' AND InsurClmDmgdSubObject = _Claimant.InsurClmSubobject AND _Claimant.InsurClmParticipantRole = 'CLAI'  -- association [1..*]
LEFT OUTER JOIN C_InsurClmFactCapture AS _FactsCapture ON InsuranceClaim = _FactsCapture.InsuranceClaim AND _FactsCapture.InsurClmFactCaptureCategory = 'DO' AND InsurClmDamagedObject = _FactsCapture.InsurClmSubobject  -- association [1..*]
LEFT OUTER JOIN I_InsurClmDmgdPrptyType AS _Iobtype ON InsurClmInsuredObjectType = _Iobtype.InsurClmInsuredObjectType  -- association [1..*]
;