I_InspectionMethodVersion
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
| State | C1 |
|---|---|
| Line of Business | Manufacturing |
| Application Component | QM-PT |
| Capabilities | Data Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities |
| Package | Manufacturing for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view provides access to inspection methods.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| qmtb | qmtb | from |
Associations (14)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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 | #A | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA