I_InspectionMethodVersionText

DDL: I_INSPECTIONMETHODVERSIONTEXT SQL: IINSPMETHODVERST Type: view BASIC

Inspection Method Version Text

I_InspectionMethodVersionText is a Basic CDS View that provides data about "Inspection Method Version Text" in SAP S/4HANA. It reads from 1 data source (qmtt) and exposes 10 fields with key fields InspectionMethodPlant, InspectionMethod, InspectionMethodVersion, Language. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
qmtt qmtt from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_Plant _InspectionMethodPlant $projection.InspectionMethodPlant = _InspectionMethodPlant.Plant
[1..1] I_InspectionMethod _InspectionMethod $projection.InspectionMethodPlant = _InspectionMethod.InspectionMethodPlant and $projection.InspectionMethod = _InspectionMethod.InspectionMethod
[1..1] I_InspectionMethodVersion _InspectionMethodVersion $projection.InspectionMethodPlant = _InspectionMethodVersion.InspectionMethodPlant and $projection.InspectionMethod = _InspectionMethodVersion.InspectionMethod and $projection.InspectionMethodVersion = _InspectionMethodVersion.InspectionMethodVersion
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IINSPMETHODVERST view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Inspection Method Version Text view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.dataCategory #TEXT view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.representativeKey InspectionMethodVersion view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #A view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY InspectionMethodPlant qmtt werks Receiving Plant
KEY InspectionMethod qmtt pmtnr Insp. Method
KEY InspectionMethodVersion qmtt version XML Vers.
KEY Language qmtt sprache Language
InspectionMethodText
InspMethodHasLongText
_InspectionMethodVersion _InspectionMethodVersion
_InspectionMethod _InspectionMethod
_InspectionMethodPlant _InspectionMethodPlant
_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_InspectionMethodVersionText.
-- 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: IINSPMETHODVERST

CREATE VIEW I_InspectionMethodVersionText AS
SELECT
  qmtt.werks AS InspectionMethodPlant,
  qmtt.pmtnr AS InspectionMethod,
  qmtt.version AS InspectionMethodVersion,
  qmtt.sprache AS Language,
  cast( qmtt.kurztext as vdm_qkurztext_qmtt preserving type ) AS InspectionMethodText,
  cast( qmtt.ltextkz as vdm_qltextmt preserving type ) AS InspMethodHasLongText
FROM qmtt
LEFT OUTER JOIN I_Plant AS _InspectionMethodPlant ON InspectionMethodPlant = _InspectionMethodPlant.Plant  -- association [1..1]
LEFT OUTER JOIN I_InspectionMethod AS _InspectionMethod ON InspectionMethodPlant = _InspectionMethod.InspectionMethodPlant AND InspectionMethod = _InspectionMethod.InspectionMethod  -- association [1..1]
LEFT OUTER JOIN I_InspectionMethodVersion AS _InspectionMethodVersion ON InspectionMethodPlant = _InspectionMethodVersion.InspectionMethodPlant AND InspectionMethod = _InspectionMethodVersion.InspectionMethod AND InspectionMethodVersion = _InspectionMethodVersion.InspectionMethodVersion  -- association [1..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;