C_InsurCust360Claims

DDL: C_INSURCUST360CLAIMS SQL: CINSURC360CLAIMS Type: view CONSUMPTION

Customer 360 - Neue Fälle

C_InsurCust360Claims is a Consumption CDS View that provides data about "Customer 360 - Neue Fälle" in SAP S/4HANA. It reads from 1 data source (I_InsurCust360Claims) and exposes 19 fields with key fields InsuranceClaim, InsuranceContract, CreationDateTime, datsasInsurClmDaysDiffDuration, InsurClmLifeCycSts. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_InsurCust360Claims I_InsurCust360Claims from

Associations (3)

CardinalityTargetAliasCondition
[1..1] C_InsurCust360CustDetails _InsurCustDets $projection.InsurancePolicyholder = _InsurCustDets.BusinessPartner
[1..*] I_InsurClmIncdntTypeText _InsurClmIncdntTypeText $projection.InsurClmIncdntType = _InsurClmIncdntTypeText.InsurClmIncdntType
[1..*] I_InsurClmStatusText _InsurClmStatusTxt $projection.InsurClmLifeCycSts = _InsurClmStatusTxt.InsurClmLifeCycSts

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CINSURC360CLAIMS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Customer 360 - Neue Fälle view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY InsuranceClaim InsuranceClaim Claim Number
KEY InsuranceContract InsuranceContract Contract
KEY CreationDateTime CreationDateTime Timestamp
KEY datsasInsurClmDaysDiffDuration
KEY InsurClmLifeCycSts InsurClmLifeCycSts Status
KEY InsurClmIncdntType InsurClmIncdntType Incident Type
KEY InsurClmDateOfLoss InsurClmDateOfLoss Date of Loss
KEY InsurClmType InsurClmType Claim Type
KEY InsurClmAuthznGrp InsurClmAuthznGrp AuthGroup (VIP)
KEY InsurClmPaytAmt InsurClmPaytAmt Payment Amount
KEY InsurClmReserveAmount InsurClmReserveAmount
KEY InsurClmPaymentCurrency InsurClmPaymentCurrency Currency
KEY InsurClmReserveCurrency InsurClmReserveCurrency
KEY InsurancePolicyholder InsurancePolicyholder BusPartner
KEY InsurClmIncdntTypeName
KEY InsurClmLifeCycStsName
_InsurCustDets _InsurCustDets
_InsurClmIncdntTypeText _InsurClmIncdntTypeText
_InsurClmStatusTxt _InsurClmStatusTxt

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_InsurCust360Claims.
-- 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: CINSURC360CLAIMS

CREATE VIEW C_InsurCust360Claims AS
SELECT
  InsuranceClaim,
  InsuranceContract,
  CreationDateTime,
  dats_days_between( ( tstmp_to_dats( CreationDateTime, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' )) , cast( $session.system_date as abap.dats ) ) as InsurClmDaysDiffDuration AS datsasInsurClmDaysDiffDuration,
  InsurClmLifeCycSts,
  InsurClmIncdntType,
  InsurClmDateOfLoss,
  InsurClmType,
  InsurClmAuthznGrp,
  InsurClmPaytAmt,
  InsurClmReserveAmount,
  InsurClmPaymentCurrency,
  InsurClmReserveCurrency,
  InsurancePolicyholder,
  _InsurClmIncdntTypeText[ Language = $session.system_language ].InsurClmIncdntTypeName AS InsurClmIncdntTypeName,
  _InsurClmStatusTxt[ Language = $session.system_language ].InsurClmLifeCycStsName AS InsurClmLifeCycStsName
FROM I_InsurCust360Claims
LEFT OUTER JOIN C_InsurCust360CustDetails AS _InsurCustDets ON InsurancePolicyholder = _InsurCustDets.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_InsurClmIncdntTypeText AS _InsurClmIncdntTypeText ON InsurClmIncdntType = _InsurClmIncdntTypeText.InsurClmIncdntType  -- association [1..*]
LEFT OUTER JOIN I_InsurClmStatusText AS _InsurClmStatusTxt ON InsurClmLifeCycSts = _InsurClmStatusTxt.InsurClmLifeCycSts  -- association [1..*]
;