I_InsurClmLossDesc

DDL: I_INSURCLMLOSSDESC SQL: ICLCLMLOSSDESC Type: view BASIC

Schadenbeschreibung

I_InsurClmLossDesc is a Basic CDS View that provides data about "Schadenbeschreibung" in SAP S/4HANA. It reads from 2 data sources (icltext_repl, sgbt_nte_cont) and exposes 8 fields with key field InsuranceClaim. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
icltext_repl ClaimLossDesc from
sgbt_nte_cont ExternalNote inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_InsuranceClaim _Claim ClaimLossDesc.claim = _Claim.InsuranceClaim

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ICLCLMLOSSDESC view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Schadenbeschreibung view
VDM.viewType #BASIC view
ObjectModel.representativeKey InsuranceClaim view
ObjectModel.semanticKey InsuranceClaim view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.dataCategory #TEXT view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY InsuranceClaim icltext_repl claim
NoteID sgbt_nte_cont noteid
CreatedByUser sgbt_nte_cont creator
CreationDateTime sgbt_nte_cont created
LastChangedByUser sgbt_nte_cont changer
ChangedOnDateTime sgbt_nte_cont changed
InsurClmDescriptionOfLoss sgbt_nte_cont content
_Claim _Claim
@AbapCatalog.sqlViewName: 'ICLCLMLOSSDESC'
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@AbapCatalog.compiler.compareFilter: true

@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Schadenbeschreibung'
@VDM.viewType: #BASIC
@ObjectModel.representativeKey: 'InsuranceClaim'
@ObjectModel.semanticKey:       'InsuranceClaim'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.dataCategory: #TEXT

define view I_InsurClmLossDesc
  as select from icltext_repl  as ClaimLossDesc
    inner join   sgbt_nte_cont as ExternalNote on ClaimLossDesc.noteid = ExternalNote.noteid

  association [1..1] to I_InsuranceClaim as _Claim on ClaimLossDesc.claim = _Claim.InsuranceClaim
{

  key    ClaimLossDesc.claim  as InsuranceClaim,
         ExternalNote.noteid  as NoteID,
         ExternalNote.creator as CreatedByUser,
         ExternalNote.created as CreationDateTime,
         ExternalNote.changer as LastChangedByUser,
         ExternalNote.changed as ChangedOnDateTime,
         ExternalNote.content as InsurClmDescriptionOfLoss,
         //       cast( ExternalNote.content as icl_loss_location_comment preserving type ) as InsurClmDescriptionOfLoss,

         //       Label for the content is wrong but a cast of a string field is not supported -> Label overriden in the metadata extension


         _Claim
}

where
      ClaimLossDesc.tdobject = 'CLAIM'
  and ClaimLossDesc.tdid     = '0001'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"ICLTEXT_REPL",
"SGBT_NTE_CONT"
],
"ASSOCIATED":
[
"I_INSURANCECLAIM"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/