I_InspPlnMatlAssgmtVersion_2
Version of Material Assgmt in Insp Plan
I_InspPlnMatlAssgmtVersion_2 (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
Manufacturing
I_InspPlnMatlAssgmtVersion_2 is a Basic CDS View that provides data about "Version of Material Assgmt in Insp Plan" in SAP S/4HANA. It reads from 1 data source (I_BOOMaterialAssgmtChangeState) and exposes 24 fields with key fields Material, Plant, InspectionPlanGroup, InspectionPlan, InspPlanMatlAssignment. It has 5 associations to related views. Part of development package VDM_QM_PLANNING.
SAP Help Documentation
| Category | CDS Views for Quality Planning |
|---|
This CDS view provides access to the assignment of materials in a plant to an inspection plan (task list type Q). The assigment can also be based on other attributes, for example, a combination of material and supplier and/or customer. This CDS view provides the data to answer the following business questions: Which inspection plans exist for a material in a plant? Which materials are assigned to an inspection plan? Which material-supplier or material-customer combinations are assigned to an inspection plan? 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 .
Prerequisites
Authorizations Users who want to use this CDS view must have one of the following business catalogs assigned: SAP_QM_BC_INSP_PLANNING_PC (QM - Inspection Planning) SAP_QM_BC_INSP_PLNG_DSP_PC (QM - Inspection Planning Display) SAP_A4C_BC_DEV_TST_QM_PLNG_PC (Development - API Test - QM - Quality Planning)
Structure
Fields Used for Filtering The main filters are as follows: Material : This field is used to filter for one or several materials. Plant : This field is used to filter for one or several plants. Further Important Fields Important fields in this view include the following: Field Name Description InspectionPlanGroup Key for Task List Group InspectionPlan Group Counter
SAP API Hub
| Category | Basic |
|---|---|
| State | C1 |
| Line of Business | Manufacturing |
| Application Component | QM-PT-2CL |
| Capabilities | Data Source in SQL Select,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Released |
| Package | Manufacturing for SAP S/4HANA Cloud Public Edition |
| Description | <p>This CDS view provides access to the assignment of materials in a plant to an inspection plan (task list type Q). The assigment can also be based on other attributes, for example, a combination of material and supplier and/or customer.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li> <p>Which inspection plans exist for a material in a plant?</p> </li> <li> <p>Which materials are assigned to an inspection plan?</p> </li> <li> <p>Which material-supplier or material-customer combinations are assigned to an inspection plan?</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
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BOOMaterialAssgmtChangeState | I_BOOMaterialAssgmtChangeState | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BillOfOperationsType | _BillOfOperationsType | $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType |
| [1..1] | I_BillOfOperationsGroup | _BillOfOperationsGroup | $projection.BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType and $projection.InspectionPlanGroup = _BillOfOperationsGroup.BillOfOperationsGroup |
| [1..1] | I_InspectionPlanVersion | _InspectionPlanVersion | $projection.InspectionPlanGroup = _InspectionPlanVersion.InspectionPlanGroup and $projection.InspectionPlan = _InspectionPlanVersion.InspectionPlan and $projection.ValidityStartDate >= _InspectionPlanVersion.ValidityStartDate and $projection.ValidityStartDate <= _InspectionPlanVersion.ValidityEndDate |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..1] | I_Customer | _Customer | $projection.Customer = _Customer.Customer |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Version of Material Assgmt in Insp Plan | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | I_BOOMaterialAssgmtChangeState | Material | Material Number |
| KEY | Plant | I_BOOMaterialAssgmtChangeState | Plant | Valuation Area |
| KEY | InspectionPlanGroup | I_BOOMaterialAssgmtChangeState | BillOfOperationsGroup | Key for Task List Group |
| KEY | InspectionPlan | I_BOOMaterialAssgmtChangeState | BillOfOperationsVariant | Group Counter |
| KEY | InspPlanMatlAssignment | I_BOOMaterialAssgmtChangeState | BOOToMaterialInternalID | Counter for Additional Criteria |
| KEY | InspPlanMatlAssgmtIntVersion | I_BOOMaterialAssgmtChangeState | BOOMatlInternalVersionCounter | Internal counter |
| BillOfOperationsType | I_BOOMaterialAssgmtChangeState | BillOfOperationsType | Task List Type | |
| ValidityStartDate | I_BOOMaterialAssgmtChangeState | ValidityStartDate | Validity Start Date | |
| ValidityEndDate | I_BOOMaterialAssgmtChangeState | ValidityEndDate | Valid-to date | |
| ChangeNumber | I_BOOMaterialAssgmtChangeState | ChangeNumber | Change Number | |
| CreationDate | I_BOOMaterialAssgmtChangeState | CreationDate | Date Record Created On | |
| CreatedByUser | I_BOOMaterialAssgmtChangeState | CreatedByUser | Created By User | |
| LastChangeDate | I_BOOMaterialAssgmtChangeState | LastChangeDate | Last Changed On | |
| LastChangedByUser | I_BOOMaterialAssgmtChangeState | LastChangedByUser | Last Changed By User | |
| IsDeleted | I_BOOMaterialAssgmtChangeState | IsDeleted | Deletion Indicator | |
| IsImplicitlyDeleted | I_BOOMaterialAssgmtChangeState | IsImplicitlyDeleted | Deletion Indicator | |
| Supplier | I_BOOMaterialAssgmtChangeState | Supplier | Supplier's Account Number | |
| Customer | I_BOOMaterialAssgmtChangeState | Customer | Account number of customer | |
| BOOSearchText | I_BOOMaterialAssgmtChangeState | BOOSearchText | Search Field for Customer-Specific Task List Selection | |
| _BillOfOperationsGroup | _BillOfOperationsGroup | |||
| _BillOfOperationsType | _BillOfOperationsType | |||
| _InspectionPlanVersion | _InspectionPlanVersion | |||
| _Supplier | _Supplier | |||
| _Customer | _Customer |
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_InspPlnMatlAssgmtVersion_2.
-- 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_InspPlnMatlAssgmtVersion_2 AS
SELECT
I_BOOMaterialAssgmtChangeState.Material AS Material,
I_BOOMaterialAssgmtChangeState.Plant AS Plant,
I_BOOMaterialAssgmtChangeState.BillOfOperationsGroup AS InspectionPlanGroup,
I_BOOMaterialAssgmtChangeState.BillOfOperationsVariant AS InspectionPlan,
I_BOOMaterialAssgmtChangeState.BOOToMaterialInternalID AS InspPlanMatlAssignment,
I_BOOMaterialAssgmtChangeState.BOOMatlInternalVersionCounter AS InspPlanMatlAssgmtIntVersion,
I_BOOMaterialAssgmtChangeState.BillOfOperationsType AS BillOfOperationsType,
I_BOOMaterialAssgmtChangeState.ValidityStartDate AS ValidityStartDate,
I_BOOMaterialAssgmtChangeState.ValidityEndDate AS ValidityEndDate,
I_BOOMaterialAssgmtChangeState.ChangeNumber AS ChangeNumber,
I_BOOMaterialAssgmtChangeState.CreationDate AS CreationDate,
I_BOOMaterialAssgmtChangeState.CreatedByUser AS CreatedByUser,
I_BOOMaterialAssgmtChangeState.LastChangeDate AS LastChangeDate,
I_BOOMaterialAssgmtChangeState.LastChangedByUser AS LastChangedByUser,
I_BOOMaterialAssgmtChangeState.IsDeleted AS IsDeleted,
I_BOOMaterialAssgmtChangeState.IsImplicitlyDeleted AS IsImplicitlyDeleted,
I_BOOMaterialAssgmtChangeState.Supplier AS Supplier,
I_BOOMaterialAssgmtChangeState.Customer AS Customer,
I_BOOMaterialAssgmtChangeState.BOOSearchText AS BOOSearchText
FROM I_BOOMaterialAssgmtChangeState
LEFT OUTER JOIN I_BillOfOperationsType AS _BillOfOperationsType ON BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType -- association [1..1]
LEFT OUTER JOIN I_BillOfOperationsGroup AS _BillOfOperationsGroup ON BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType AND InspectionPlanGroup = _BillOfOperationsGroup.BillOfOperationsGroup -- association [1..1]
LEFT OUTER JOIN I_InspectionPlanVersion AS _InspectionPlanVersion ON InspectionPlanGroup = _InspectionPlanVersion.InspectionPlanGroup AND InspectionPlan = _InspectionPlanVersion.InspectionPlan AND ValidityStartDate >= _InspectionPlanVersion.ValidityStartDate AND ValidityStartDate <= _InspectionPlanVersion.ValidityEndDate -- association [1..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer -- association [0..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