I_InspSpecificationVersionText

DDL: I_INSPSPECIFICATIONVERSIONTEXT SQL: IINSPSPECVERST Type: view BASIC

Version of Master Insp Charc - Text

I_InspSpecificationVersionText is a Basic CDS View that provides data about "Version of Master Insp Charc - Text" in SAP S/4HANA. It reads from 1 data source (qpmt) and exposes 9 fields with key fields InspectionSpecificationPlant, InspectionSpecification, InspectionSpecificationVersion, Language. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
qpmt qpmt from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_Plant _InspSpecificationPlant $projection.InspectionSpecificationPlant = _InspSpecificationPlant.Plant
[1..1] I_InspectionSpecification _InspectionSpecification $projection.InspectionSpecificationPlant = _InspectionSpecification.InspectionSpecificationPlant and $projection.InspectionSpecification = _InspectionSpecification.InspectionSpecification
[1..1] I_InspSpecificationVersion _InspSpecificationVersion $projection.InspectionSpecificationPlant = _InspSpecificationVersion.InspectionSpecificationPlant and $projection.InspectionSpecification = _InspSpecificationVersion.InspectionSpecification and $projection.InspectionSpecificationVersion = _InspSpecificationVersion.InspectionSpecificationVersion
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IINSPSPECVERST view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Version of Master Insp Charc - Text view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #CHECK view
Search.searchable true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.representativeKey InspectionSpecificationVersion view
ObjectModel.dataCategory #TEXT view
Metadata.ignorePropagatedAnnotations true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY InspectionSpecificationPlant qpmt zaehler
KEY InspectionSpecification
KEY InspectionSpecificationVersion qpmt version
KEY Language qpmt sprache
InspectionSpecificationText
_InspSpecificationVersion _InspSpecificationVersion
_InspSpecificationPlant _InspSpecificationPlant
_InspectionSpecification _InspectionSpecification
_Language _Language
@AbapCatalog.sqlViewName: 'IINSPSPECVERST'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Version of Master Insp Charc - Text'
@VDM: {
    viewType: #BASIC,
    lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@AccessControl.authorizationCheck: #CHECK
@AccessControl.privilegedAssociations: ['_INSPECTIONSPECIFICATION']
@Search.searchable: true
@ObjectModel.supportedCapabilities:
    [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #SEARCHABLE_ENTITY, #LANGUAGE_DEPENDENT_TEXT ]
@ObjectModel: {
    usageType: {
        dataClass: #MASTER,
        sizeCategory: #M, //expected number of rows < 100.000

        serviceQuality: #B // includes A as well

    },
    representativeKey: 'InspectionSpecificationVersion',
    dataCategory: #TEXT
}
@Metadata.ignorePropagatedAnnotations: true

define view I_InspSpecificationVersionText as select from qpmt
      
   association [1..1] to I_Plant as _InspSpecificationPlant
      on     $projection.InspectionSpecificationPlant = _InspSpecificationPlant.Plant
      
   association [1..1] to I_InspectionSpecification as _InspectionSpecification
      on     $projection.InspectionSpecificationPlant = _InspectionSpecification.InspectionSpecificationPlant
         and $projection.InspectionSpecification      = _InspectionSpecification.InspectionSpecification
      
   association [1..1] to I_InspSpecificationVersion     as _InspSpecificationVersion
      on     $projection.InspectionSpecificationPlant   = _InspSpecificationVersion.InspectionSpecificationPlant
         and $projection.InspectionSpecification        = _InspSpecificationVersion.InspectionSpecification
         and $projection.InspectionSpecificationVersion = _InspSpecificationVersion.InspectionSpecificationVersion

   association [0..1] to I_Language as _Language
      on $projection.Language = _Language.Language
         
{
   @ObjectModel.foreignKey.association: '_InspSpecificationPlant'
   @Search: { defaultSearchElement: true, fuzzinessThreshold: 0.8 }
   key qpmt.zaehler                                           as InspectionSpecificationPlant,
   @ObjectModel.foreignKey.association: '_InspectionSpecification'
   @Search: { defaultSearchElement: true, fuzzinessThreshold: 0.8 }
   key cast( qpmt.mkmnr as vdm_qmerknr preserving type )      as InspectionSpecification,
   key qpmt.version                                           as InspectionSpecificationVersion,
   
   @Semantics.language: true
   key qpmt.sprache     as Language,

   //qpmt.gueltigab, 

   @Semantics.text: true
   @Search: { defaultSearchElement: true, fuzzinessThreshold: 0.8, ranking: #HIGH }
   cast( qpmt.kurztext as vdm_qmerknr_text preserving type )   as InspectionSpecificationText,
   //qpmt.ltextkz, 

   //qpmt.ltextekz, 

   //qpmt.geloescht


   /* Associations */
   _InspSpecificationVersion,
   _InspSpecificationPlant,
   _InspectionSpecification,
   _Language
   
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"QPMT"
],
"ASSOCIATED":
[
"I_INSPECTIONSPECIFICATION",
"I_INSPSPECIFICATIONVERSION",
"I_LANGUAGE",
"I_PLANT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/