I_InspectionPlan

DDL: I_INSPECTIONPLAN Type: view_entity BASIC Package: VDM_QM_PLANNING

Inspection Plan

I_InspectionPlan (Basic)

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

Manufacturing

I_InspectionPlan is a Basic CDS View that provides data about "Inspection Plan" in SAP S/4HANA. It reads from 1 data source (I_BillOfOperations) and exposes 10 fields with key fields InspectionPlanGroup, InspectionPlan. It has 2 associations to related views. Part of development package VDM_QM_PLANNING.

SAP Help Documentation

CategoryCDS Views for Quality Planning
Purpose
This CDS view provides access to a reduced number of fields from the inspection plan header. To access the complete inspection plan header data, use the following CDS view: Version of Inspection Plan .

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessManufacturing
Application ComponentQM-PT-2CL
CapabilitiesData Source in SQL Select,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities,Analytical Dimension
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageManufacturing for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view provides access to a reduced number of fields from the inspection plan header. </p> <p>To access the complete inspection plan header data, use the following CDS view: Version of Inspection Plan.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_BillOfOperations I_BillOfOperations from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_BillOfOperationsType _BillOfOperationsType $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType
[1..1] I_BillOfOperationsGroup _BillOfOperationsGroup $projection.BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType and $projection.InspectionPlanGroup = _BillOfOperationsGroup.BillOfOperationsGroup

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Inspection Plan view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey InspectionPlan view
Analytics.technicalName IINSPPL view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY InspectionPlanGroup BillOfOperationsGroup Key for Task List Group
KEY InspectionPlan BillOfOperationsVariant Group Counter
BillOfOperationsType BillOfOperationsType Task List Type
HasChangeNumber HasChangeNumber Task list with change number
IsMarkedForDeletion IsMarkedForDeletion Indicator: Delete completely in reorganization run
LastChangeDate LastChangeDate Date of the last change made to the task list
LastChangeTime LastChangeTime Time of last change made to the task list
LastChangedByUser LastChangedByUser Last Changed By User
_BillOfOperationsGroup _BillOfOperationsGroup
_BillOfOperationsType _BillOfOperationsType

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_InspectionPlan.
-- 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_InspectionPlan AS
SELECT
  BillOfOperationsGroup AS InspectionPlanGroup,
  BillOfOperationsVariant AS InspectionPlan,
  BillOfOperationsType,
  HasChangeNumber,
  IsMarkedForDeletion,
  LastChangeDate,
  LastChangeTime,
  LastChangedByUser
FROM I_BillOfOperations
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]
;