A_InspPlanOperation
Inspection Plan Operations
A_InspPlanOperation is a Composite CDS View that provides data about "Inspection Plan Operations" in SAP S/4HANA. It reads from 2 data sources (I_InspPlanOperationVersion, I_InspPlanOpAssgmtVersion) and exposes 36 fields with key fields InspectionPlanGroup, BOOOperationInternalID, InspectionPlanInternalVersion, BOOOpInternalVersionCounter, InspectionPlan. It has 2 associations to related views. Part of development package ODATA_QM_INSP_PLAN_API.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_InspPlanOperationVersion | _InspPlanOp | from |
| I_InspPlanOpAssgmtVersion | _InspPlanOpVer | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | A_InspPlanOpCharacteristic | _InspPlanChar | |
| [0..*] | A_InspPlanOpPRT | _InspPlanOpPRT | |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Inspection Plan Operations | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (36)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InspectionPlanGroup | I_InspPlanOperationVersion | InspectionPlanGroup | Group |
| KEY | BOOOperationInternalID | I_InspPlanOperationVersion | BOOOperationInternalID | Task list node |
| KEY | InspectionPlanInternalVersion | |||
| KEY | BOOOpInternalVersionCounter | I_InspPlanOperationVersion | BOOOpInternalVersionCounter | Counter |
| KEY | InspectionPlan | I_InspPlanOperationVersion | InspectionPlan | Group Counter |
| WorkCenterInternalID | I_InspPlanOperationVersion | WorkCenterInternalID | Work Center | |
| WorkCenterTypeCode | I_InspPlanOperationVersion | WorkCenterTypeCode | Object Type | |
| IsDeleted | I_InspPlanOperationVersion | IsDeleted | TRUE | |
| IsImplicitlyDeleted | I_InspPlanOperationVersion | IsImplicitlyDeleted | ||
| OperationExternalID | I_InspPlanOperationVersion | OperationExternalID | Ext. Oper. ID | |
| Operation | I_InspPlanOperationVersion | Operation | Transaction | |
| OperationText | I_InspPlanOperationVersion | OperationText | Description | |
| Plant | I_InspPlanOperationVersion | Plant | Valuation Area | |
| OperationControlProfile | I_InspPlanOperationVersion | OperationControlProfile | Control Key | |
| OperationStandardTextCode | I_InspPlanOperationVersion | OperationStandardTextCode | Std Text Key | |
| BillOfOperationsRefType | I_InspPlanOperationVersion | BillOfOperationsRefType | ||
| BillOfOperationsRefGroup | I_InspPlanOperationVersion | BillOfOperationsRefGroup | ||
| BillOfOperationsRefVariant | I_InspPlanOperationVersion | BillOfOperationsRefVariant | ||
| InspResultRecordingView | I_InspPlanOperationVersion | InspResultRecordingView | ||
| InspSbstCompletionConfirmation | I_InspPlanOperationVersion | InspSbstCompletionConfirmation | ||
| InspSbstHasNoTimeOrQuantity | I_InspPlanOperationVersion | InspSbstHasNoTimeOrQuantity | Price determin. | |
| OperationReferenceQuantity | I_InspPlanOperationVersion | OperationReferenceQuantity | Base Quantity | |
| OperationUnit | I_InspPlanOperationVersion | OperationUnit | Act/op UoM | |
| OpQtyToBaseQtyDnmntr | I_InspPlanOperationVersion | OpQtyToBaseQtyDnmntr | ||
| OpQtyToBaseQtyNmrtr | I_InspPlanOperationVersion | OpQtyToBaseQtyNmrtr | ||
| CreationDate | I_InspPlanOperationVersion | CreationDate | Time Stamp | |
| CreatedByUser | I_InspPlanOperationVersion | CreatedByUser | User Name | |
| LastChangeDate | I_InspPlanOperationVersion | LastChangeDate | Time Stamp | |
| LastChangedByUser | I_InspPlanOperationVersion | LastChangedByUser | User Name | |
| ChangedDateTime | ||||
| ChangeNumber | I_InspPlanOperationVersion | ChangeNumber | Change Number | |
| ValidityStartDate | I_InspPlanOperationVersion | ValidityStartDate | Validity Start Date | |
| ValidityEndDate | I_InspPlanOperationVersion | ValidityEndDate | ValidTo | |
| _InspPlan | _InspPlan | |||
| _InspPlanChar | _InspPlanChar | |||
| _InspPlanOpPRT | _InspPlanOpPRT |
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 A_InspPlanOperation.
-- 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: AINSPPLANOP
CREATE VIEW A_InspPlanOperation AS
SELECT
_InspPlanOp.InspectionPlanGroup AS InspectionPlanGroup,
_InspPlanOp.BOOOperationInternalID AS BOOOperationInternalID,
_InspPlanOp._InspectionPlanVersion.InspectionPlanInternalVersion AS InspectionPlanInternalVersion,
_InspPlanOp.BOOOpInternalVersionCounter AS BOOOpInternalVersionCounter,
_InspPlanOp.InspectionPlan AS InspectionPlan,
_InspPlanOp.WorkCenterInternalID AS WorkCenterInternalID,
_InspPlanOp.WorkCenterTypeCode AS WorkCenterTypeCode,
_InspPlanOp.IsDeleted AS IsDeleted,
_InspPlanOp.IsImplicitlyDeleted AS IsImplicitlyDeleted,
_InspPlanOp.OperationExternalID AS OperationExternalID,
_InspPlanOp.Operation AS Operation,
_InspPlanOp.OperationText AS OperationText,
_InspPlanOp.Plant AS Plant,
_InspPlanOp.OperationControlProfile AS OperationControlProfile,
_InspPlanOp.OperationStandardTextCode AS OperationStandardTextCode,
_InspPlanOp.BillOfOperationsRefType AS BillOfOperationsRefType,
_InspPlanOp.BillOfOperationsRefGroup AS BillOfOperationsRefGroup,
_InspPlanOp.BillOfOperationsRefVariant AS BillOfOperationsRefVariant,
_InspPlanOp.InspResultRecordingView AS InspResultRecordingView,
_InspPlanOp.InspSbstCompletionConfirmation AS InspSbstCompletionConfirmation,
_InspPlanOp.InspSbstHasNoTimeOrQuantity AS InspSbstHasNoTimeOrQuantity,
_InspPlanOp.OperationReferenceQuantity AS OperationReferenceQuantity,
_InspPlanOp.OperationUnit AS OperationUnit,
_InspPlanOp.OpQtyToBaseQtyDnmntr AS OpQtyToBaseQtyDnmntr,
_InspPlanOp.OpQtyToBaseQtyNmrtr AS OpQtyToBaseQtyNmrtr,
_InspPlanOp.CreationDate AS CreationDate,
_InspPlanOp.CreatedByUser AS CreatedByUser,
_InspPlanOp.LastChangeDate AS LastChangeDate,
_InspPlanOp.LastChangedByUser AS LastChangedByUser,
_InspPlanOp._InspectionPlanVersion.ChangedDateTime AS ChangedDateTime,
_InspPlanOp.ChangeNumber AS ChangeNumber,
_InspPlanOp.ValidityStartDate AS ValidityStartDate,
_InspPlanOp.ValidityEndDate AS ValidityEndDate
FROM I_InspPlanOperationVersion AS _InspPlanOp
INNER JOIN I_InspPlanOpAssgmtVersion AS _InspPlanOpVer ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN A_InspPlanOpCharacteristic AS _InspPlanChar ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN A_InspPlanOpPRT AS _InspPlanOpPRT ON /* condition not available in parsed metadata */ -- association [0..*]
;
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