I_InspectionResultAttribute

DDL: I_INSPECTIONRESULTATTRIBUTE SQL: IINSPRESATTR Type: view BASIC

Inspection Result Attributes

I_InspectionResultAttribute is a Basic CDS View (Dimension) that provides data about "Inspection Result Attributes" in SAP S/4HANA. It reads from 1 data source (tq77) and exposes 3 fields with key field InspectionResultAttribute. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
tq77 tq77 from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_Inspresultattributetext _Text $projection.InspectionResultAttribute = _Text.InspectionResultAttribute

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IINSPRESATTR view
AbapCatalog.preserveKey true view
EndUserText.label Inspection Result Attributes view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey InspectionResultAttribute view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #A view
Metadata.ignorePropagatedAnnotations true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY InspectionResultAttribute tq77 attribut
InspResultAttributeSortNmbr tq77 sortnr
_Text _Text
@AbapCatalog.sqlViewName: 'IINSPRESATTR'
@AbapCatalog.preserveKey: true
@EndUserText.label: 'Inspection Result Attributes' //same as DDL description

@Analytics.dataCategory:#DIMENSION 
@VDM: {
    viewType: #BASIC,
    lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@AccessControl.authorizationCheck: #NOT_REQUIRED //or #CHECK 

@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.supportedCapabilities:
    [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET ]
@ObjectModel.representativeKey: 'InspectionResultAttribute'
@ObjectModel.usageType: {
    dataClass: #CUSTOMIZING,
    sizeCategory: #M,
    serviceQuality: #A
}
@Metadata.ignorePropagatedAnnotations: true
define view I_InspectionResultAttribute 
   as select from tq77
   association [0..*] to I_Inspresultattributetext as _Text 
      on $projection.InspectionResultAttribute = _Text.InspectionResultAttribute 
{
    @ObjectModel.text.association: '_Text'
    key tq77.attribut as InspectionResultAttribute,
    tq77.sortnr as InspResultAttributeSortNmbr,
    case tq77.attribut
      when ' ' then cast( 'X' as vdm_qattributeisvalid preserving type )
      when '<' then cast( 'X' as vdm_qattributeisvalid preserving type )
      when '>' then cast( 'X' as vdm_qattributeisvalid preserving type )
      when '≤' then cast( 'X' as vdm_qattributeisvalid preserving type )
      when '≥' then cast( 'X' as vdm_qattributeisvalid preserving type )
      when '?' then cast( 'X' as vdm_qattributeisvalid preserving type )
      when '(' then cast( 'X' as vdm_qattributeisvalid preserving type )
      when '[' then cast( 'X' as vdm_qattributeisvalid preserving type )
      when '{' then cast( 'X' as vdm_qattributeisvalid preserving type )
      when '~' then cast( 'X' as vdm_qattributeisvalid preserving type )
      when '#' then cast( 'X' as vdm_qattributeisvalid preserving type )
      when 'U' then cast( 'X' as vdm_qattributeisvalid preserving type )
      when 'V' then cast( 'X' as vdm_qattributeisvalid preserving type )
      when 'W' then cast( 'X' as vdm_qattributeisvalid preserving type )
    else cast( ' ' as vdm_qattributeisvalid preserving type )
    end as InspResultAttributeIsValid,
    // Associations

    _Text
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"TQ77"
],
"ASSOCIATED":
[
"I_INSPRESULTATTRIBUTETEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/