I_InspectionMethodVersion

DDL: I_INSPECTIONMETHODVERSION Type: view BASIC

Inspection Method Version

I_InspectionMethodVersion (Basic)

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

Manufacturing

I_InspectionMethodVersion is a Basic CDS View that provides data about "Inspection Method Version" in SAP S/4HANA. It reads from 1 data source (qmtb) and exposes 29 fields with key fields InspectionMethodPlant, InspectionMethod, InspectionMethodVersion. It has 14 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
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides access to inspection methods.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
qmtb qmtb from

Associations (14)

CardinalityTargetAliasCondition
[1..1] I_InspectionMethod _InspectionMethod $projection.InspectionMethodPlant = _InspectionMethod.InspectionMethodPlant and $projection.InspectionMethod = _InspectionMethod.InspectionMethod
[0..1] I_Plant _InspectionMethodPlant $projection.InspectionMethodPlant = _InspectionMethodPlant.Plant
[1..*] I_InspectionMethodVersionText _InspectionMethodText $projection.InspectionMethodPlant = _InspectionMethodText.InspectionMethodPlant and $projection.InspectionMethod = _InspectionMethodText.InspectionMethod and $projection.InspectionMethodVersion = _InspectionMethodText.InspectionMethodVersion
[0..1] I_InspectionMstrDataStatus _InspectionMethodStatus $projection.InspectionMethodStatus = _InspectionMethodStatus.InspectionMasterDataStatus
[0..*] I_InspectionMstrDataStatusText _InspectionMethodStatusText $projection.InspectionMethodStatus = _InspectionMethodStatusText.InspectionMasterDataStatus
[0..1] I_InspectorQualification _InspectorQualification $projection.InspectorQualification = _InspectorQualification.InspectorQualification
[0..*] I_InspectorQualificationText _InspectorQualificationText $projection.InspectorQualification = _InspectorQualificationText.InspectorQualification
[0..1] I_QltyMstrDataAuthorizationGrp _QltyMstrDataAuthznGrp $projection.QltyMstrDataAuthorizationGroup = _QltyMstrDataAuthznGrp.QltyMstrDataAuthorizationGroup
[0..*] I_QltyMstrDataAuthznGroupTxt _QltyMstrDataAuthznGrpTxt $projection.QltyMstrDataAuthorizationGroup = _QltyMstrDataAuthznGrpTxt.QltyMstrDataAuthorizationGroup
[0..1] I_User _InspMethCreatedByUser $projection.CreatedByUser = _InspMethCreatedByUser.UserID
[0..1] I_User _InspMethLastChangedByUser $projection.LastChangedByUser = _InspMethLastChangedByUser.UserID
[0..1] I_UserContactCard _CreatedByUserContactCard $projection.CreatedByUser = _CreatedByUserContactCard.ContactCardID
[0..1] I_UserContactCard _LastChangedByUserContactCard $projection.LastChangedByUser = _LastChangedByUserContactCard.ContactCardID
[1..1] E_InspectionMethodVersion _Extension $projection.InspectionMethodPlant = _Extension.InspectionMethodPlant and $projection.InspectionMethod = _Extension.InspectionMethod and $projection.InspectionMethodVersion = _Extension.InspectionMethodVersion

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IINSPMETHODVERS view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Inspection Method Version view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey InspectionMethodVersion view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
Metadata.ignorePropagatedAnnotations true view

Fields (29)

KeyFieldSource TableSource FieldDescription
KEY InspectionMethodPlant qmtb werks Plant for Inspection Method
KEY InspectionMethod qmtb pmtnr Inspection Method
KEY InspectionMethodVersion qmtb version Version Number of Inspection Method
InspectionMethodValidFromDate qmtb gueltigab Valid-From Date
InspectionMethodSearchField qmtb sortfeld Search Field
InspectionMethodStatus qmtb loekz Inspection Method Status
InspectorQualification qmtb prfql Inspector Qualification
InspMethInformationField1 qmtb dummy10 Text Line for Additional Information
InspMethInformationField2 qmtb dummy20 Text Line for Additional Information
InspMethInformationField3 qmtb dummy40 Text Line for Additional Information
QltyMstrDataAuthorizationGroup qmtb qauth Authorization Group QM Master Data
CreatedByUser qmtb autor Name of User Who Created the Data Record
CreationDate qmtb dates System Date on Which Data Record Was Created
LastChangedByUser qmtb aeaut Name of User Who Last Changed Data Record
LastChangeDate qmtb datae System Date on Which Data Record Was Changed
changeddatetimeendasChangedDateTime
_InspectionMethod _InspectionMethod
_InspectionMethodText _InspectionMethodText
_InspectionMethodPlant _InspectionMethodPlant
_InspectionMethodStatus _InspectionMethodStatus
_InspectionMethodStatusText _InspectionMethodStatusText
_InspectorQualification _InspectorQualification
_InspectorQualificationText _InspectorQualificationText
_QltyMstrDataAuthznGrp _QltyMstrDataAuthznGrp
_QltyMstrDataAuthznGrpTxt _QltyMstrDataAuthznGrpTxt
_InspMethCreatedByUser _InspMethCreatedByUser
_InspMethLastChangedByUser _InspMethLastChangedByUser
_CreatedByUserContactCard _CreatedByUserContactCard
_LastChangedByUserContactCard _LastChangedByUserContactCard

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_InspectionMethodVersion.
-- 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.

CREATE VIEW I_InspectionMethodVersion AS
SELECT
  qmtb.werks AS InspectionMethodPlant,
  qmtb.pmtnr AS InspectionMethod,
  qmtb.version AS InspectionMethodVersion,
  qmtb.gueltigab AS InspectionMethodValidFromDate,
  qmtb.sortfeld AS InspectionMethodSearchField,
  qmtb.loekz AS InspectionMethodStatus,
  qmtb.prfql AS InspectorQualification,
  qmtb.dummy10 AS InspMethInformationField1,
  qmtb.dummy20 AS InspMethInformationField2,
  qmtb.dummy40 AS InspMethInformationField3,
  qmtb.qauth AS QltyMstrDataAuthorizationGroup,
  qmtb.autor AS CreatedByUser,
  qmtb.dates AS CreationDate,
  qmtb.aeaut AS LastChangedByUser,
  qmtb.datae AS LastChangeDate,
  case qmtb.changeddatetime when 0 then cast( '19000101010101' as tzntstmps ) else qmtb.changeddatetime end as ChangedDateTime AS changeddatetimeendasChangedDateTime
FROM qmtb
LEFT OUTER JOIN I_InspectionMethod AS _InspectionMethod ON InspectionMethodPlant = _InspectionMethod.InspectionMethodPlant AND InspectionMethod = _InspectionMethod.InspectionMethod  -- association [1..1]
LEFT OUTER JOIN I_Plant AS _InspectionMethodPlant ON InspectionMethodPlant = _InspectionMethodPlant.Plant  -- association [0..1]
LEFT OUTER JOIN I_InspectionMethodVersionText AS _InspectionMethodText ON InspectionMethodPlant = _InspectionMethodText.InspectionMethodPlant AND InspectionMethod = _InspectionMethodText.InspectionMethod AND InspectionMethodVersion = _InspectionMethodText.InspectionMethodVersion  -- association [1..*]
LEFT OUTER JOIN I_InspectionMstrDataStatus AS _InspectionMethodStatus ON InspectionMethodStatus = _InspectionMethodStatus.InspectionMasterDataStatus  -- association [0..1]
LEFT OUTER JOIN I_InspectionMstrDataStatusText AS _InspectionMethodStatusText ON InspectionMethodStatus = _InspectionMethodStatusText.InspectionMasterDataStatus  -- association [0..*]
LEFT OUTER JOIN I_InspectorQualification AS _InspectorQualification ON InspectorQualification = _InspectorQualification.InspectorQualification  -- association [0..1]
LEFT OUTER JOIN I_InspectorQualificationText AS _InspectorQualificationText ON InspectorQualification = _InspectorQualificationText.InspectorQualification  -- association [0..*]
LEFT OUTER JOIN I_QltyMstrDataAuthorizationGrp AS _QltyMstrDataAuthznGrp ON QltyMstrDataAuthorizationGroup = _QltyMstrDataAuthznGrp.QltyMstrDataAuthorizationGroup  -- association [0..1]
LEFT OUTER JOIN I_QltyMstrDataAuthznGroupTxt AS _QltyMstrDataAuthznGrpTxt ON QltyMstrDataAuthorizationGroup = _QltyMstrDataAuthznGrpTxt.QltyMstrDataAuthorizationGroup  -- association [0..*]
LEFT OUTER JOIN I_User AS _InspMethCreatedByUser ON CreatedByUser = _InspMethCreatedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _InspMethLastChangedByUser ON LastChangedByUser = _InspMethLastChangedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _CreatedByUserContactCard ON CreatedByUser = _CreatedByUserContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _LastChangedByUserContactCard ON LastChangedByUser = _LastChangedByUserContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN E_InspectionMethodVersion AS _Extension ON InspectionMethodPlant = _Extension.InspectionMethodPlant AND InspectionMethod = _Extension.InspectionMethod AND InspectionMethodVersion = _Extension.InspectionMethodVersion  -- association [1..1]
;