I_InspectionOperation
Inspection Operation
I_InspectionOperation (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Manufacturing
I_InspectionOperation is a Basic CDS View that provides data about "Inspection Operation" in SAP S/4HANA. It reads from 2 data sources (afvc, qaop) and exposes 27 fields with key fields InspectionLot, InspPlanOperationInternalID. It has 8 associations to related views.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Manufacturing |
| Application Component | QM-IM |
| 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 operations data. </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
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_InspectionLot | _InspectionLot | $projection.InspectionLot = _InspectionLot.InspectionLot |
| [0..*] | I_InspectionCharacteristic | _InspectionCharacteristic | $projection.InspectionLot = _InspectionCharacteristic.InspectionLot and $projection.InspPlanOperationInternalID = _InspectionCharacteristic.InspPlanOperationInternalID |
| [0..*] | I_InspectionSubset | _InspectionSubset | $projection.InspectionLot = _InspectionSubset.InspectionLot and $projection.InspPlanOperationInternalID = _InspectionSubset.InspPlanOperationInternalID |
| [0..1] | I_WorkCenter | _WorkCenter | $projection.WorkCenterInternalID = _WorkCenter.WorkCenterInternalID and _WorkCenter.WorkCenterTypeCode = 'A' |
| [1..1] | I_Plant | _Plant | $projection.InspectionOperationPlant = _Plant.Plant |
| [1..1] | I_BillOfOperationsType | _BillOfOperationsType | $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType |
| [0..1] | I_InspectionOperationStatus | _InspectionOperationStatus | $projection.OrderInternalBillOfOperations = _InspectionOperationStatus.OrderInternalBillOfOperations and $projection.InspPlanOperationInternalID = _InspectionOperationStatus.InspPlanOperationInternalID |
| [1..1] | E_InspectionOperation | _Extension | $projection.InspectionLot = _Extension.InspectionLot and $projection.InspPlanOperationInternalID = _Extension.InspPlanOperationInternalID |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IINSPOPERATION | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Inspection Operation | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.representativeKey | InspPlanOperationInternalID | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InspectionLot | qaop | prueflos | Inspection Lot Number |
| KEY | InspPlanOperationInternalID | qaop | vorglfnr | Current Node Number from Order Counter |
| OrderInternalBillOfOperations | qaop | aufpl | Routing number of operations in the order | |
| OrderOperationInternalID | afvc | aplzl | General counter for order | |
| InspectionOperation | afvc | vornr | Activity Number | |
| InspectionOperationPlant | afvc | werks | Receiving Plant | |
| BillOfOperationsType | afvc | plnty | Task List Type | |
| BillOfOperationsGroup | afvc | plnnr | Key for Task List Group | |
| BillOfOperationsVariant | afvc | plnal | Referenced BOO Variant | |
| BOOOperationInternalID | afvc | plnkn | Number of the Task List Node | |
| BillOfOperationsVersion | afvc | tl_versn | Routing Version | |
| WorkCenterInternalID | afvc | arbid | Object ID of the resource | |
| StatusObject | afvc | objnr | Val. Obj. No. | |
| OperationControlProfile | afvc | steus | Control Key | |
| OperationConfirmation | afvc | rueck | Completion confirmation number for the operation | |
| InspectionSubSystem | afvc | subsys | Subsystem Identifier for QM Subsystem Interface | |
| OperationText | afvc | ltxa1 | Operation Short Text | |
| InspSbstIsTimeRelated | afvc | qkzprzeit | Interval = Time (Time-Related) | |
| InspSbstHasNoTimeOrQuantity | afvc | qkzprfrei | Interval Without Reference to Time or Quantity | |
| Sequence | afvc | aplfl | Sequence | |
| _WorkCenter | _WorkCenter | |||
| _InspectionLot | _InspectionLot | |||
| _InspectionCharacteristic | _InspectionCharacteristic | |||
| _InspectionSubset | _InspectionSubset | |||
| _InspectionOperationStatus | _InspectionOperationStatus | |||
| _Plant | _Plant | |||
| _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_InspectionOperation.
-- 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: IINSPOPERATION
CREATE VIEW I_InspectionOperation AS
SELECT
qaop.prueflos AS InspectionLot,
qaop.vorglfnr AS InspPlanOperationInternalID,
qaop.aufpl AS OrderInternalBillOfOperations,
afvc.aplzl AS OrderOperationInternalID,
afvc.vornr AS InspectionOperation,
afvc.werks AS InspectionOperationPlant,
afvc.plnty AS BillOfOperationsType,
afvc.plnnr AS BillOfOperationsGroup,
afvc.plnal AS BillOfOperationsVariant,
afvc.plnkn AS BOOOperationInternalID,
afvc.tl_versn AS BillOfOperationsVersion,
afvc.arbid AS WorkCenterInternalID,
afvc.objnr AS StatusObject,
afvc.steus AS OperationControlProfile,
afvc.rueck AS OperationConfirmation,
afvc.subsys AS InspectionSubSystem,
afvc.ltxa1 AS OperationText,
afvc.qkzprzeit AS InspSbstIsTimeRelated,
afvc.qkzprfrei AS InspSbstHasNoTimeOrQuantity,
afvc.aplfl AS Sequence
FROM qaop
INNER JOIN afvc ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_InspectionLot AS _InspectionLot ON InspectionLot = _InspectionLot.InspectionLot -- association [1..1]
LEFT OUTER JOIN I_InspectionCharacteristic AS _InspectionCharacteristic ON InspectionLot = _InspectionCharacteristic.InspectionLot AND InspPlanOperationInternalID = _InspectionCharacteristic.InspPlanOperationInternalID -- association [0..*]
LEFT OUTER JOIN I_InspectionSubset AS _InspectionSubset ON InspectionLot = _InspectionSubset.InspectionLot AND InspPlanOperationInternalID = _InspectionSubset.InspPlanOperationInternalID -- association [0..*]
LEFT OUTER JOIN I_WorkCenter AS _WorkCenter ON WorkCenterInternalID = _WorkCenter.WorkCenterInternalID AND _WorkCenter.WorkCenterTypeCode = 'A' -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON InspectionOperationPlant = _Plant.Plant -- association [1..1]
LEFT OUTER JOIN I_BillOfOperationsType AS _BillOfOperationsType ON BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType -- association [1..1]
LEFT OUTER JOIN I_InspectionOperationStatus AS _InspectionOperationStatus ON OrderInternalBillOfOperations = _InspectionOperationStatus.OrderInternalBillOfOperations AND InspPlanOperationInternalID = _InspectionOperationStatus.InspPlanOperationInternalID -- association [0..1]
LEFT OUTER JOIN E_InspectionOperation AS _Extension ON InspectionLot = _Extension.InspectionLot AND InspPlanOperationInternalID = _Extension.InspPlanOperationInternalID -- 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