I_InsuranceClaimPaymentItem_2

DDL: I_INSURANCECLAIMPAYMENTITEM_2 Type: view_entity BASIC

Claim Payment Item

I_InsuranceClaimPaymentItem_2 is a Basic CDS View that provides data about "Claim Payment Item" in SAP S/4HANA. It reads from 1 data source (iclpayi) and exposes 42 fields with key fields InsurClmActive, InsuranceClaim, InsurClmSubclm, InsurClmPayt, InsurClmPaytItem. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
iclpayi iclpayi from

Associations (2)

CardinalityTargetAliasCondition
[1] I_InsuranceClaimPayment_2 _Payment $projection.InsurClmActive = _Payment.InsurClmActive and $projection.InsuranceClaim = _Payment.InsuranceClaim and $projection.InsurClmSubclm = _Payment.InsurClmSubclm and $projection.InsurClmPayt = _Payment.InsurClmPayt
[1] I_InsuranceClaim_2 _InsuranceClaim $projection.InsurClmActive = _InsuranceClaim.InsurClmActive and $projection.InsuranceClaim = _InsuranceClaim.InsuranceClaim

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Claim Payment Item view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (42)

KeyFieldSource TableSource FieldDescription
KEY InsurClmActive active Usage Active
KEY InsuranceClaim Policy Snapshot
KEY InsurClmSubclm Subclaim
KEY InsurClmPayt Payment Number
KEY InsurClmPaytItem Payment Item
InsurClmItemSubclm itemsubcl Belongs To
InsurBnftType Benefit Type
InsurClmPaymentCurrency _Payment InsurClmPaymentCurrency Currency
InsurClmPaytAmt pampaid Payment Amount
InsurClmCoverageType Coverage Type
InsurClmChangedBy User Name
InsurClmChangeTime Created
InsurClmPaytItemCategory payitemcat Item category
InsurClmPaytTaxCategory Tax Category
InsurClmPaytItemPaymentType paytypei Payment Type
InsurClmPaytReasonGrp Group
InsurClmPaytReason Payment Reason
InsurClmPaytAmtTaxCategory gross_net Gross/Net
InsurClmPaytTaxCode txcod Tax Code
InsurClmPaytRequestedAmount requested Amount Requestd
InsurClmItem Task ID
InsurClmPaytValidFromDate validfrom Vers.Valid From
InsurClmPaytValidToDate validto Vers.Valid To
InsurClmLineStatus deleted Truth Value
InsurClmTaxCodeValue taxcode_id Tax Code Other Taxes
InsuranceClaimPostingDate postdatei Posting Date
InsurClmItemRefNumber refno Reference No.
InsuranceClaimPaymentItemType Payt Item Type
InsurClmDistrPlnCoinsuranceKey repid Program Name
InsurClmAssignUUID assign_guid Link UUID
InsurClmItemNumberPaytPlanDoc cddocitem Item No. Document
InsurClmPaytOriglReqdAmount requested_orig Orig.Amt Reqstd
InsurClmPaytTotalAmount dup_pampaid Payment Amount
InsuranceClaimKeyOfTaxCountry country Venue: Ctry/Reg
InsuranceClaimTaxRegionKey region Venue Region
InsurClmReferencePaymentItem refpayitem Payment Item
InsurClmPaytItemTaxRate msatz Tax rate
InsurClmPaytItemTransactionKey ktosl Transaction
InsurClmPaytItemConditionType kschl Tax Item Type
InsurClmPaytTaxJurisdiction Tax Jurisdict.
InsurClmPaytTaxBaseAmt txbsamt Base Amount
_InsuranceClaim _InsuranceClaim

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 I_InsuranceClaimPaymentItem_2.
-- 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.

CREATE VIEW I_InsuranceClaimPaymentItem_2 AS
SELECT
  active AS InsurClmActive,
  cast(claim as icl_claim preserving type ) AS InsuranceClaim,
  cast(subclaim as icl_subclp preserving type ) AS InsurClmSubclm,
  cast(payment as icl_payment preserving type ) AS InsurClmPayt,
  cast(paymentitem as icl_paymentitem preserving type ) AS InsurClmPaytItem,
  itemsubcl AS InsurClmItemSubclm,
  cast(bentype as icl_bentype preserving type ) AS InsurBnftType,
  _Payment.InsurClmPaymentCurrency AS InsurClmPaymentCurrency,
  pampaid AS InsurClmPaytAmt,
  cast(covtype as icl_covtype preserving type ) AS InsurClmCoverageType,
  cast(changedby as icl_changedby preserving type ) AS InsurClmChangedBy,
  cast(changetime as timestamp preserving type) AS InsurClmChangeTime,
  payitemcat AS InsurClmPaytItemCategory,
  cast(pymtype as icl_pymtype preserving type ) AS InsurClmPaytTaxCategory,
  paytypei AS InsurClmPaytItemPaymentType,
  cast(treasonset as icl_payreasonset preserving type ) AS InsurClmPaytReasonGrp,
  cast(treason as icl_payreason preserving type ) AS InsurClmPaytReason,
  gross_net AS InsurClmPaytAmtTaxCategory,
  txcod AS InsurClmPaytTaxCode,
  requested AS InsurClmPaytRequestedAmount,
  cast(item as icl_sclitem preserving type ) AS InsurClmItem,
  validfrom AS InsurClmPaytValidFromDate,
  validto AS InsurClmPaytValidToDate,
  deleted AS InsurClmLineStatus,
  taxcode_id AS InsurClmTaxCodeValue,
  postdatei AS InsuranceClaimPostingDate,
  refno AS InsurClmItemRefNumber,
  cast(payity as icl_payity preserving type ) AS InsuranceClaimPaymentItemType,
  repid AS InsurClmDistrPlnCoinsuranceKey,
  assign_guid AS InsurClmAssignUUID,
  cddocitem AS InsurClmItemNumberPaytPlanDoc,
  requested_orig AS InsurClmPaytOriglReqdAmount,
  dup_pampaid AS InsurClmPaytTotalAmount,
  country AS InsuranceClaimKeyOfTaxCountry,
  region AS InsuranceClaimTaxRegionKey,
  refpayitem AS InsurClmReferencePaymentItem,
  msatz AS InsurClmPaytItemTaxRate,
  ktosl AS InsurClmPaytItemTransactionKey,
  kschl AS InsurClmPaytItemConditionType,
  cast(txjcd as /gsins/txjcd preserving type ) AS InsurClmPaytTaxJurisdiction,
  txbsamt AS InsurClmPaytTaxBaseAmt
FROM iclpayi
LEFT OUTER JOIN I_InsuranceClaimPayment_2 AS _Payment ON InsurClmActive = _Payment.InsurClmActive AND InsuranceClaim = _Payment.InsuranceClaim AND InsurClmSubclm = _Payment.InsurClmSubclm AND InsurClmPayt = _Payment.InsurClmPayt  -- association [1]
LEFT OUTER JOIN I_InsuranceClaim_2 AS _InsuranceClaim ON InsurClmActive = _InsuranceClaim.InsurClmActive AND InsuranceClaim = _InsuranceClaim.InsuranceClaim  -- association [1]
;