C_InsurClmPolicyInquiry

DDL: C_INSURCLMPOLICYINQUIRY SQL: CICLPOLICYIN Type: view CONSUMPTION

Vertragsspiegel für Fallauskunft

C_InsurClmPolicyInquiry is a Consumption CDS View that provides data about "Vertragsspiegel für Fallauskunft" in SAP S/4HANA. It reads from 1 data source (I_InsurClmPolicyInquiry) and exposes 18 fields with key fields InsuranceClaim, InsuranceContract. It has 5 associations to related views. It is exposed through 3 OData services (ICL_CLAIMCHANGEHEADER, ICL_CLAIMINQUIRY_R, ICL_SUBLCLAIMMAINTAIN).

Data Sources (1)

SourceAliasJoin Type
I_InsurClmPolicyInquiry I_InsurClmPolicyInquiry from

Associations (5)

CardinalityTargetAliasCondition
[1..*] C_InsurClmPolicySnpshtDriver _DriverInfo $projection.InsuranceClaim = _DriverInfo.InsuranceClaim
[1..*] C_InsurClmCvrgPlcySnpshtInqry _ClmCvrgPlcySnpshtInqry $projection.InsuranceClaim = _ClmCvrgPlcySnpshtInqry.InsuranceClaim
[1..1] C_InsurClmClaimsInquiry _InsurClm $projection.InsuranceClaim = _InsurClm.InsuranceClaim
[1..*] C_InsurClmPlcySnpshtInsrdVeh _SnpshtInsrdVeh $projection.InsuranceClaim = _SnpshtInsrdVeh.InsuranceContract
[0..*] C_InsurClmClause _InsurClmClause $projection.InsuranceClaim = _InsurClmClause.InsuranceClaim

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName CICLPOLICYIN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Vertragsspiegel für Fallauskunft view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
UI.headerInfo.typeName Policenauskunft view
UI.headerInfo.title.value InsurClmPlcyProdName view
UI.headerInfo.description.value InsurClmContractSnapShotText view
UI.headerInfo.description.type #STANDARD view

OData Services (3)

ServiceBindingVersionContractRelease
ICL_CLAIMCHANGEHEADER ICL_UI_CLAIMCHANGEHEADER V2 C1 NOT_RELEASED
ICL_CLAIMINQUIRY_R ICL_UI_CLAIMINQUIRY_R_O2 V2 C1 NOT_RELEASED
ICL_SUBLCLAIMMAINTAIN ICL_UI_SUBLCLAIMMAINTAIN V2 C1 NOT_RELEASED

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY InsuranceClaim I_InsurClmPolicyInquiry InsuranceClaim Claim Number
KEY InsuranceContract I_InsurClmPolicyInquiry InsuranceContract Contract
InsurClmContractSnapShotText Police
InsurLineOfBus InsurLineOfBus Versicherungssparte
clientNULLasInsurClmContractStartDate Vertragsbeginndatum
clientNULLasInsurClmContractEndDate Vertragsendedatum
InsurClmInsrdVehMakeModelText Versichertes Fahrzeug
InsurClmPlcyProdName _InsurClm InsurClmPlcyProdName
InsurClmPolicyHolderName _InsurClm InsurClmPolicyHolderName Versicherungsnehmer
InsurancePolicy InsurancePolicy Policy Number
InsurClmDateOfLoss _InsurClm InsurClmDateOfLoss Version ab
_DriverInfo _DriverInfo
InsurClmType InsurClmType Claim Type
InsurClmAuthznGrp InsurClmAuthznGrp AuthGroup (VIP)
_ClmCvrgPlcySnpshtInqry _ClmCvrgPlcySnpshtInqry
_InsurClmClause _InsurClmClause
_InsurClm _InsurClm
_SnpshtInsrdVeh _SnpshtInsrdVeh

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_InsurClmPolicyInquiry.
-- 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: CICLPOLICYIN

CREATE VIEW C_InsurClmPolicyInquiry AS
SELECT
  I_InsurClmPolicyInquiry.InsuranceClaim AS InsuranceClaim,
  I_InsurClmPolicyInquiry.InsuranceContract AS InsuranceContract,
  concat_with_space('Contract Snapshot ',Ltrim(I_InsurClmPolicyInquiry.InsuranceContract,'0'),1) AS InsurClmContractSnapShotText,
  InsurLineOfBus,
  tstmp_to_dats(InsurClmContractStartDateTime, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as InsurClmContractStartDate AS clientNULLasInsurClmContractStartDate,
  tstmp_to_dats( InsurClmContractEndDateTime, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as InsurClmContractEndDate AS clientNULLasInsurClmContractEndDate,
  cast( '' as abap.char(1000) ) AS InsurClmInsrdVehMakeModelText,
  _InsurClm.InsurClmPlcyProdName AS InsurClmPlcyProdName,
  _InsurClm.InsurClmPolicyHolderName AS InsurClmPolicyHolderName,
  InsurancePolicy,
  _InsurClm.InsurClmDateOfLoss AS InsurClmDateOfLoss,
  InsurClmType,
  InsurClmAuthznGrp
FROM I_InsurClmPolicyInquiry
LEFT OUTER JOIN C_InsurClmPolicySnpshtDriver AS _DriverInfo ON InsuranceClaim = _DriverInfo.InsuranceClaim  -- association [1..*]
LEFT OUTER JOIN C_InsurClmCvrgPlcySnpshtInqry AS _ClmCvrgPlcySnpshtInqry ON InsuranceClaim = _ClmCvrgPlcySnpshtInqry.InsuranceClaim  -- association [1..*]
LEFT OUTER JOIN C_InsurClmClaimsInquiry AS _InsurClm ON InsuranceClaim = _InsurClm.InsuranceClaim  -- association [1..1]
LEFT OUTER JOIN C_InsurClmPlcySnpshtInsrdVeh AS _SnpshtInsrdVeh ON InsuranceClaim = _SnpshtInsrdVeh.InsuranceContract  -- association [1..*]
LEFT OUTER JOIN C_InsurClmClause AS _InsurClmClause ON InsuranceClaim = _InsurClmClause.InsuranceClaim  -- association [0..*]
;