I_InspSpecificationVersionText

DDL: I_INSPSPECIFICATIONVERSIONTEXT SQL: IINSPSPECVERST Type: view BASIC

Version of Master Insp Charc - Text

I_InspSpecificationVersionText (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Manufacturing

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.

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentQM-PT
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source for Search, Language-Dependent Text
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides access to the data of a master inspection characteristic version. </p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>Which master inspection characteristics exist in a plant?</p></li> <li><p>Which limits and tolerances are defined for a quantitative characteristic? </p></li> <li><p>Which inspection methods and catalogs are assigned to a master inspection characteristic?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

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 Plant for Master Inspection Characteristic
KEY InspectionSpecification Master Inspection Characteristic
KEY InspectionSpecificationVersion qpmt version Version Number of Inspection Method
KEY Language qpmt sprache Language Key
InspectionSpecificationText Text of Master Inspection Characteristic
_InspSpecificationVersion _InspSpecificationVersion
_InspSpecificationPlant _InspSpecificationPlant
_InspectionSpecification _InspectionSpecification
_Language _Language

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 I_InspSpecificationVersionText.
-- 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: IINSPSPECVERST

CREATE VIEW I_InspSpecificationVersionText AS
SELECT
  qpmt.zaehler AS InspectionSpecificationPlant,
  cast( qpmt.mkmnr as vdm_qmerknr preserving type ) AS InspectionSpecification,
  qpmt.version AS InspectionSpecificationVersion,
  qpmt.sprache AS Language,
  cast( qpmt.kurztext as vdm_qmerknr_text preserving type ) AS InspectionSpecificationText
FROM qpmt
LEFT OUTER JOIN I_Plant AS _InspSpecificationPlant ON InspectionSpecificationPlant = _InspSpecificationPlant.Plant  -- association [1..1]
LEFT OUTER JOIN I_InspectionSpecification AS _InspectionSpecification ON InspectionSpecificationPlant = _InspectionSpecification.InspectionSpecificationPlant AND InspectionSpecification = _InspectionSpecification.InspectionSpecification  -- association [1..1]
LEFT OUTER JOIN I_InspSpecificationVersion AS _InspSpecificationVersion ON InspectionSpecificationPlant = _InspSpecificationVersion.InspectionSpecificationPlant AND InspectionSpecification = _InspSpecificationVersion.InspectionSpecification AND InspectionSpecificationVersion = _InspSpecificationVersion.InspectionSpecificationVersion  -- association [1..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;