I_InspectionPlanVersion
Version of Inspection Plan
I_InspectionPlanVersion (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Manufacturing
I_InspectionPlanVersion is a Basic CDS View that provides data about "Version of Inspection Plan" in SAP S/4HANA. It reads from 1 data source (I_BillOfOperationsChangeState) and exposes 52 fields with key fields InspectionPlanGroup, InspectionPlan, InspectionPlanInternalVersion. It has 3 associations to related views.
SAP Help Documentation
| Category | CDS Views for Quality Planning |
|---|
This CDS view provides access to the header data of inspection plan versions (task list type Q). This CDS view provides the data to answer the following business questions: Which inspection plans exist for a specific plan usage? Which dynamic modification parameters does an inspection plan have? Which inspection points does an inspection plan have? 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 the following authorization objects assigned: Q_ROUT (Maintain Inspection Plan)
Structure
Fields Used for Filtering The main filters are as follows: Plant : This field is used to filter for the inspection plans in 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 InspectionPlanInternalVersion Internal Counter (Version)
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, Analytical Dimension |
| Package | Manufacturing for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view provides access to the header data of inspection plan versions (task list type Q).</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>Which inspection plans exist for a specific plan usage?</p></li> <li><p>Which dynamic modification parameters does an inspection plan have?</p></li> <li><p>Which inspection points does an inspection plan have?</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 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 |
|---|---|---|
| I_BillOfOperationsChangeState | I_BillOfOperationsChangeState | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_InspectionPlan | _InspectionPlan | $projection.InspectionPlanGroup = _InspectionPlan.InspectionPlanGroup and $projection.InspectionPlan = _InspectionPlan.InspectionPlan |
| [1..1] | I_BillOfOperationsGroup | _BillOfOperationsGroup | $projection.InspectionPlanGroup = _BillOfOperationsGroup.BillOfOperationsGroup and $projection.BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType |
| [1..1] | I_BillOfOperationsType | _BillOfOperationsType | $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IINSPPLV | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Version of Inspection Plan | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.representativeKey | InspectionPlanInternalVersion | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view |
Fields (52)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InspectionPlanGroup | BillOfOperationsGroup | Key for Task List Group | |
| KEY | InspectionPlan | BillOfOperationsVariant | Group Counter | |
| KEY | InspectionPlanInternalVersion | BOOInternalVersionCounter | Internal counter | |
| BillOfOperationsType | BillOfOperationsType | Task List Type | ||
| IsDeleted | IsDeleted | Deletion Indicator | ||
| IsImplicitlyDeleted | IsImplicitlyDeleted | Deletion Indicator | ||
| GeneraldataBillOfOperationsDesc | ||||
| Plant | Plant | Valuation Area | ||
| BillOfOperationsUsage | BillOfOperationsUsage | Work Center Category | ||
| BillOfOperationsStatus | BillOfOperationsStatus | Vehicle Status | ||
| ResponsiblePlannerGroup | ResponsiblePlannerGroup | Responsible Planner Group or Department | ||
| MinimumLotSizeQuantity | MinimumLotSizeQuantity | Minimum Lot Size | ||
| MaximumLotSizeQuantity | MaximumLotSizeQuantity | Maximum Lot Size | ||
| BillOfOperationsUnit | BillOfOperationsUnit | Task List Unit of Measure | ||
| ReplacedBillOfOperations | ReplacedBillOfOperations | Old TL Number | ||
| IsMarkedForDeletion | IsMarkedForDeletion | Indicator: Delete completely in reorganization run | ||
| InspectionPartialLotAssignment | InspectionPartialLot | Partial Lot Assignment in an Inspection During Production | ||
| SmplDrawingProcedure | SmplDrawingProcedure | Sample-Drawing Procedure | ||
| SmplDrawingProcedureVersion | SmplDrawingProcedureVersion | Version No. of the Sample-Drawing Procedure | ||
| InspectionLotDynamicLevel | InspectionLotDynamicLevel | Level at Which Dynamic Modification Parameters Are Defined | ||
| InspLotDynamicRule | InspLotDynamicRule | Dynamic Modification Rule | ||
| InspExternalNumberingOfValues | InspExternalNumberingOfValues | External Numbering of Units to Be Inspected | ||
| InspLotDynamicCriteria | InspLotDynamicCriteria | String for Dynamic Modification Criteria (Database Relevant) | ||
| InspPlanHasMultipleSpec | InspPlanHasMultipleSpec | Indicator: Multiple Specifications | ||
| MatlIsConsideredForDynModif | Material Considered for Dynamic Modification | |||
| SuplrIsConsideredForDynModif | Supplier Considered for Dynamic Modification | |||
| MfrIsConsideredForDynModif | Manufacturer Considered for Dynamic Modification | |||
| CustIsConsideredForDynModif | Customer Considered for Dynamic Modification | |||
| AdministrativeDataCreationDate | ||||
| CreatedByUser | CreatedByUser | Created By User | ||
| LastChangeDate | LastChangeDate | Last Changed On | ||
| LastChangedByUser | LastChangedByUser | Last Changed By User | ||
| ChangeNumber | ChangeNumber | Change Number | ||
| ValidityStartDate | ValidityStartDate | Validity Start Date | ||
| ValidityEndDate | ValidityEndDate | Valid-To Date | ||
| ChangedDateTime | ChangedDateTime | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | ||
| _InspectionPlan | _InspectionPlan | |||
| _Plant | _Plant | |||
| _BillOfOperationsUsage | _BillOfOperationsUsage | |||
| _BillOfOperationsStatus | _BillOfOperationsStatus | |||
| _ResponsiblePlannerGroup | _ResponsiblePlannerGroup | |||
| _BillOfOperationsUnit | _BillOfOperationsUnit | |||
| _InspSubsetFieldCombination | _InspSubsetFieldCombination | |||
| _SampleDrawingProcedure | _SampleDrawingProcedure | |||
| _SmplDrwgProcedureVersion | _SmplDrwgProcedureVersion | |||
| _InspectionLotDynamicLevel | _InspectionLotDynamicLevel | |||
| _InspLotDynamicRule | _InspLotDynamicRule | |||
| _InspExtNumbering | _InspExtNumbering | |||
| _ChangeMaster | _ChangeMaster | |||
| _BillOfOperationsType | _BillOfOperationsType | |||
| _BillOfOperationsGroup | _BillOfOperationsGroup | |||
| _InspPartialLotAssignment | _InspPartialLotAssignment |
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_InspectionPlanVersion.
-- 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: IINSPPLV
CREATE VIEW I_InspectionPlanVersion AS
SELECT
BillOfOperationsGroup AS InspectionPlanGroup,
BillOfOperationsVariant AS InspectionPlan,
BOOInternalVersionCounter AS InspectionPlanInternalVersion,
BillOfOperationsType,
IsDeleted,
IsImplicitlyDeleted,
Plant,
BillOfOperationsUsage,
BillOfOperationsStatus,
ResponsiblePlannerGroup,
MinimumLotSizeQuantity,
MaximumLotSizeQuantity,
BillOfOperationsUnit,
ReplacedBillOfOperations,
IsMarkedForDeletion,
InspectionPartialLot AS InspectionPartialLotAssignment,
SmplDrawingProcedure,
SmplDrawingProcedureVersion,
InspectionLotDynamicLevel,
InspLotDynamicRule,
InspExternalNumberingOfValues,
InspLotDynamicCriteria,
InspPlanHasMultipleSpec,
cast( substring(InspLotDynamicCriteria,1,1) as qmatkz preserving type ) AS MatlIsConsideredForDynModif,
cast( substring(InspLotDynamicCriteria,2,1) as qlifkz preserving type ) AS SuplrIsConsideredForDynModif,
cast( substring(InspLotDynamicCriteria,3,1) as qherstkz preserving type ) AS MfrIsConsideredForDynModif,
cast( substring(InspLotDynamicCriteria,4,1) as qkundkz preserving type ) AS CustIsConsideredForDynModif,
CreatedByUser,
LastChangeDate,
LastChangedByUser,
ChangeNumber,
ValidityStartDate,
ValidityEndDate,
ChangedDateTime
FROM I_BillOfOperationsChangeState
LEFT OUTER JOIN I_InspectionPlan AS _InspectionPlan ON InspectionPlanGroup = _InspectionPlan.InspectionPlanGroup AND InspectionPlan = _InspectionPlan.InspectionPlan -- association [1..1]
LEFT OUTER JOIN I_BillOfOperationsGroup AS _BillOfOperationsGroup ON InspectionPlanGroup = _BillOfOperationsGroup.BillOfOperationsGroup AND BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType -- association [1..1]
LEFT OUTER JOIN I_BillOfOperationsType AS _BillOfOperationsType ON BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType -- 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