I_InspectionPlanVersion

DDL: I_INSPECTIONPLANVERSION SQL: IINSPPLV Type: view BASIC

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

CategoryCDS Views for Quality Planning
Purpose
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)

View on SAP Help Portal →

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, Analytical Dimension
PackageManufacturing 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

Data Sources (1)

SourceAliasJoin Type
I_BillOfOperationsChangeState I_BillOfOperationsChangeState from

Associations (3)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;