R_InsurClmSubclmLossReserveTP

DDL: R_INSURCLMSUBCLMLOSSRESERVETP SQL: IICLSUBLOSRSRV Type: view TRANSACTIONAL

Teilfall - Entschädigungsreserve

R_InsurClmSubclmLossReserveTP is a Transactional CDS View that provides data about "Teilfall - Entschädigungsreserve" in SAP S/4HANA. It reads from 1 data source (I_InsurClmReserve) and exposes 13 fields with key fields InsuranceClaim, InsurClmSubclm, InsurClmRsrvType, InsurClmReserveCurrency. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_InsurClmReserve I_InsurClmReserve from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_InsurClmFinOvwRsrvPaytItmSum _PayAmount $projection.InsuranceClaim = _PayAmount.InsuranceClaim and $projection.InsurClmSubclm = _PayAmount.InsurClmSubclm and $projection.InsurClmRsrvType = _PayAmount.InsurClmRsrvType and $projection.InsurClmReserveCurrency = _PayAmount.InsurClmReserveCurrency

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IICLSUBLOSRSRV view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Teilfall - Entschädigungsreserve view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY InsuranceClaim InsuranceClaim Claim Number
KEY InsurClmSubclm InsurClmSubclm Subclaim
KEY InsurClmRsrvType InsurClmRsrvType Resource Type
KEY InsurClmReserveCurrency InsurClmReserveCurrency Valuation Crcy
InsurClmInitialReserveAmount
GrossReserveAmount GrossReserveAmount Exptr f.ResType
InsurClmRsrvMethodText InsurClmRsrvMethodText
InsurClmRsrvPendingAmount InsurClmRsrvPendingAmount Pending Reserve
InsurClmReservePaytAmt _PayAmount InsurClmReservePaytAmt
curr152endasInsurClmReserveAmount Exptr f.ResType
_Claim _Claim
_ReserveType _ReserveType
_Subclaim _Subclaim

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 R_InsurClmSubclmLossReserveTP.
-- 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: IICLSUBLOSRSRV

CREATE VIEW R_InsurClmSubclmLossReserveTP AS
SELECT
  InsuranceClaim,
  InsurClmSubclm,
  InsurClmRsrvType,
  InsurClmReserveCurrency,
  cast( 0 as abap.curr( 15,2 ) ) AS InsurClmInitialReserveAmount,
  GrossReserveAmount,
  InsurClmRsrvMethodText,
  InsurClmRsrvPendingAmount,
  _PayAmount.InsurClmReservePaytAmt AS InsurClmReservePaytAmt,
  case when _PayAmount.InsurClmReservePaytAmt is not initial then cast ( (GrossReserveAmount - cast ( (_PayAmount.InsurClmReservePaytAmt) as abap.curr( 15, 2 ) ) ) as abap.curr( 15, 2 ) ) else cast (GrossReserveAmount as abap.curr( 15, 2 )) end as InsurClmReserveAmount AS curr152endasInsurClmReserveAmount
FROM I_InsurClmReserve
LEFT OUTER JOIN I_InsurClmFinOvwRsrvPaytItmSum AS _PayAmount ON InsuranceClaim = _PayAmount.InsuranceClaim AND InsurClmSubclm = _PayAmount.InsurClmSubclm AND InsurClmRsrvType = _PayAmount.InsurClmRsrvType AND InsurClmReserveCurrency = _PayAmount.InsurClmReserveCurrency  -- association [1..1]
;