I_INSPSPECIFICATIONVERSIONTEXT
Version of Master Insp Charc - Text
I_INSPSPECIFICATIONVERSIONTEXT is a CDS View in S/4HANA. Version of Master Insp Charc - Text. It contains 5 fields. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| A_InspectionSpecificationText | view | from | COMPOSITE | Master Inspection Characteristic Texts |
| I_InspSpecVersionTextTP | view_entity | from | TRANSACTIONAL | Inspection Specification Version Text |
Fields (5)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | InspectionSpecification | InspectionSpecification | 1 |
| KEY | InspectionSpecificationPlant | InspectionSpecificationPlant | 1 |
| KEY | InspectionSpecificationVersion | InspectionSpecificationVersion | 1 |
| KEY | Language | Language | 1 |
| InspectionSpecificationText | InspectionSpecificationText | 1 |
@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":""
}
}*/