I_InspPlanOperationVersion
Inspection Plan Operation Version
I_InspPlanOperationVersion is a Composite CDS View that provides data about "Inspection Plan Operation Version" in SAP S/4HANA. It reads from 2 data sources (I_BillOfOperationsOpBasic, I_InspPlanOpAssgmt) and exposes 38 fields with key fields InspectionPlanGroup, BOOOperationInternalID, BOOOpInternalVersionCounter, BillOfOperationsType. It has 3 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_BillOfOperationsOpBasic | _BillOfOperationsOpBasic | from |
| I_InspPlanOpAssgmt | _InspPlanOpAssgmt | inner |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_InspPlanOperation | _InspPlanOperation | $projection.InspectionPlanGroup = _InspPlanOperation.InspectionPlanGroup and $projection.BOOOperationInternalID = _InspPlanOperation.BOOOperationInternalID |
| [1..*] | I_InspectionPlanVersion | _InspectionPlanVersion | $projection.InspectionPlanGroup = _InspectionPlanVersion.InspectionPlanGroup and $projection.InspectionPlan = _InspectionPlanVersion.InspectionPlan |
| [1..1] | I_BillOfOperationsType | _BillOfOperationsType | $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IIPLNOPVRS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Inspection Plan Operation Version | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | BOOOpInternalVersionCounter | view |
Fields (38)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InspectionPlanGroup | BillOfOperationsGroup | ||
| KEY | BOOOperationInternalID | I_BillOfOperationsOpBasic | BOOOperationInternalID | |
| KEY | BOOOpInternalVersionCounter | BOOOpInternalVersionCounter | ||
| KEY | BillOfOperationsType | I_BillOfOperationsOpBasic | BillOfOperationsType | |
| InspectionPlan | I_InspPlanOpAssgmt | InspectionPlan | ||
| WorkCenterInternalID | WorkCenterInternalID | |||
| WorkCenterTypeCode | WorkCenterTypeCode | |||
| IsDeleted | I_BillOfOperationsOpBasic | IsDeleted | ||
| IsImplicitlyDeleted | I_BillOfOperationsOpBasic | IsImplicitlyDeleted | ||
| OperationExternalID | OperationExternalID | |||
| Operation | Operation | |||
| OperationOperationText | ||||
| Plant | Plant | |||
| OperationControlProfile | OperationControlProfile | |||
| OperationStandardTextCode | OperationStandardTextCode | |||
| OriginBillOfOperationsRefType | ||||
| BillOfOperationsRefGroup | BillOfOperationsRefGroup | |||
| BillOfOperationsRefVariant | BillOfOperationsRefVariant | |||
| BOORefOperationIncrementValue | BOORefOperationIncrementValue | |||
| InspSbstHasNoTimeOrQuantity | InspSbstHasNoTimeOrQuantity | |||
| StandardValuesOperationReferenceQuantity | ||||
| OperationUnit | OperationUnit | |||
| OpQtyToBaseQtyDnmntr | OpQtyToBaseQtyDnmntr | |||
| OpQtyToBaseQtyNmrtr | OpQtyToBaseQtyNmrtr | |||
| CreationDate | I_BillOfOperationsOpBasic | CreationDate | ||
| CreatedByUser | I_BillOfOperationsOpBasic | CreatedByUser | ||
| LastChangeDate | I_BillOfOperationsOpBasic | LastChangeDate | ||
| LastChangedByUser | I_BillOfOperationsOpBasic | LastChangedByUser | ||
| ChangeNumber | I_BillOfOperationsOpBasic | ChangeNumber | ||
| ValidityStartDate | I_BillOfOperationsOpBasic | ValidityStartDate | ||
| ValidityEndDate | I_BillOfOperationsOpBasic | ValidityEndDate | ||
| _Plant | _Plant | |||
| _WorkCenter | _WorkCenter | |||
| _WorkCenterType | _WorkCenterType | |||
| _InspPlanOperation | _InspPlanOperation | |||
| _InspectionPlanVersion | _InspectionPlanVersion | |||
| _OperationUnit | _OperationUnit | |||
| _BillOfOperationsType | _BillOfOperationsType |
@AbapCatalog.sqlViewName: 'IIPLNOPVRS'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Inspection Plan Operation Version'
@ObjectModel.usageType: { serviceQuality: #B, sizeCategory: #M, dataClass: #MASTER }
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'BOOOpInternalVersionCounter'
define view I_InspPlanOperationVersion
as select from I_BillOfOperationsOpBasic as _BillOfOperationsOpBasic
inner join I_InspPlanOpAssgmt as _InspPlanOpAssgmt on _BillOfOperationsOpBasic.BillOfOperationsGroup = _InspPlanOpAssgmt.InspectionPlanGroup
and _BillOfOperationsOpBasic.BOOOperationInternalID = _InspPlanOpAssgmt.BOOOperationInternalID
and _BillOfOperationsOpBasic.BillOfOperationsType = _InspPlanOpAssgmt.BillOfOperationsType
association [1..1] to I_InspPlanOperation as _InspPlanOperation on $projection.InspectionPlanGroup = _InspPlanOperation.InspectionPlanGroup
and $projection.BOOOperationInternalID = _InspPlanOperation.BOOOperationInternalID
/*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ] } */
association [1..*] to I_InspectionPlanVersion as _InspectionPlanVersion on $projection.InspectionPlanGroup = _InspectionPlanVersion.InspectionPlanGroup
and $projection.InspectionPlan = _InspectionPlanVersion.InspectionPlan
association [1..1] to I_BillOfOperationsType as _BillOfOperationsType on $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType
{
@ObjectModel.foreignKey.association: '_InspPlanOperation'
key BillOfOperationsGroup as InspectionPlanGroup,
@ObjectModel.foreignKey.association: '_InspPlanOperation'
key _BillOfOperationsOpBasic.BOOOperationInternalID,
key BOOOpInternalVersionCounter,
@ObjectModel.foreignKey.association: '_BillOfOperationsType'
key _BillOfOperationsOpBasic.BillOfOperationsType,
_InspPlanOpAssgmt.InspectionPlan,
WorkCenterInternalID,
WorkCenterTypeCode,
_BillOfOperationsOpBasic.IsDeleted,
_BillOfOperationsOpBasic.IsImplicitlyDeleted,
OperationExternalID,
Operation,
// ************************** Operation General **************************
-- Operation
OperationText,
Plant,
OperationControlProfile,
OperationStandardTextCode,
-- Origin
BillOfOperationsRefType,
BillOfOperationsRefGroup,
BillOfOperationsRefVariant,
BOORefOperationIncrementValue,
-- Quality management: general
InspResultRecordingView,
-- Quality management: inspection points
InspSbstCompletionConfirmation,
InspSbstHasNoTimeOrQuantity,
--Standard Values
OperationReferenceQuantity,
OperationUnit,
OpQtyToBaseQtyDnmntr,
OpQtyToBaseQtyNmrtr,
// *************************** Administration ****************************
_BillOfOperationsOpBasic.CreationDate,
_BillOfOperationsOpBasic.CreatedByUser,
_BillOfOperationsOpBasic.LastChangeDate,
_BillOfOperationsOpBasic.LastChangedByUser,
_BillOfOperationsOpBasic.ChangeNumber,
_BillOfOperationsOpBasic.ValidityStartDate,
_BillOfOperationsOpBasic.ValidityEndDate,
// **************************** Associations *****************************
_Plant,
_WorkCenter,
_WorkCenterType,
_InspPlanOperation,
_InspectionPlanVersion,
_OperationUnit,
_BillOfOperationsType
}
//where
// BillOfOperationsType = 'Q'
// or BillOfOperationsType = 'S'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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