I_InspPlnMatlAssgmtVersion
Version of Plan-Material assignment
I_InspPlnMatlAssgmtVersion is a Basic CDS View that provides data about "Version of Plan-Material assignment" in SAP S/4HANA. It reads from 1 data source (I_BOOMaterialAssgmtChangeState) and exposes 32 fields with key fields Material, Plant, InspectionPlanGroup, InspectionPlan, InspPlanMatlAssignment. It has 6 associations to related views. Part of development package VDM_QM_PLANNING.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BOOMaterialAssgmtChangeState | I_BOOMaterialAssgmtChangeState | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_InspectionPlan | _InspectionPlan | $projection.InspectionPlanGroup = _InspectionPlan.InspectionPlanGroup and $projection.InspectionPlan = _InspectionPlan.InspectionPlan |
| [1..1] | I_InspectionPlanVersion | _InspectionPlanVersion | $projection.InspectionPlanGroup = _InspectionPlanVersion.InspectionPlanGroup and $projection.InspectionPlan = _InspectionPlanVersion.InspectionPlan and $projection.ValidityStartDate >= _InspectionPlanVersion.ValidityStartDate and $projection.ValidityStartDate <= _InspectionPlanVersion.ValidityEndDate |
| [1..1] | I_BillOfOperationsGroup | _BillOfOperationsGroup | $projection.BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType and $projection.InspectionPlanGroup = _BillOfOperationsGroup.BillOfOperationsGroup |
| [1..1] | I_InspPlnMatlAssignment | _InspPlnMatlAssignment | $projection.Material = _InspPlnMatlAssignment.Material and $projection.Plant = _InspPlnMatlAssignment.Plant and $projection.InspectionPlanGroup = _InspPlnMatlAssignment.InspectionPlanGroup and $projection.InspectionPlan = _InspPlnMatlAssignment.InspectionPlan and $projection.InspPlanMatlAssignment = _InspPlnMatlAssignment.InspPlanMatlAssignment |
| [1..1] | I_MltplSpecObject | _MltplSpecObject | $projection.MultipleSpecificationObject = _MltplSpecObject.MultipleSpecificationObject |
| [1..1] | I_MltplSpecObjectType | _MltplSpecObjectType | $projection.MultipleSpecificationObjType = _MltplSpecObjectType.MultipleSpecificationObjType |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Version of Plan-Material assignment | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.representativeKey | InspPlanMatlAssgmtIntVersion | view | |
| Analytics.technicalName | IINSPPLMASSGV | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | Material | Vehicle Model | |
| KEY | Plant | Plant | Valuation Area | |
| KEY | InspectionPlanGroup | BillOfOperationsGroup | Group | |
| KEY | InspectionPlan | BillOfOperationsVariant | Group Counter | |
| KEY | InspPlanMatlAssignment | BOOToMaterialInternalID | Add. Crit. Cntr | |
| KEY | InspPlanMatlAssgmtIntVersion | BOOMatlInternalVersionCounter | Sort pos. | |
| BillOfOperationsType | BillOfOperationsType | Task List Type | ||
| ValidityStartDate | ValidityStartDate | Validity Start Date | ||
| ValidityEndDate | ValidityEndDate | ValidTo | ||
| ChangeNumber | ChangeNumber | Change Number | ||
| CreationDate | CreationDate | Time Stamp | ||
| CreatedByUser | CreatedByUser | User Name | ||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| IsDeleted | IsDeleted | TRUE | ||
| IsImplicitlyDeleted | IsImplicitlyDeleted | Deletion Ind. | ||
| Supplier | Supplier | Supplier | ||
| Customer | Customer | Sold-to Party | ||
| BOOSearchText | BOOSearchText | Search Field | ||
| MultipleSpecificationObject | MultipleSpecificationObject | Obj.(MultSpecs) | ||
| MultipleSpecificationObjType | MultipleSpecificationObjType | Object Type | ||
| _InspPlnMatlAssignment | _InspPlnMatlAssignment | |||
| _InspectionPlan | _InspectionPlan | |||
| _InspectionPlanVersion | _InspectionPlanVersion | |||
| _Material | _Material | |||
| _Plant | _Plant | |||
| _Supplier | _Supplier | |||
| _Customer | _Customer | |||
| _MltplSpecObject | _MltplSpecObject | |||
| _MltplSpecObjectType | _MltplSpecObjectType | |||
| _ChangeMaster | _ChangeMaster | |||
| _BillOfOperationsGroup | _BillOfOperationsGroup |
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_InspPlnMatlAssgmtVersion.
-- 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_InspPlnMatlAssgmtVersion AS
SELECT
Material,
Plant,
BillOfOperationsGroup AS InspectionPlanGroup,
BillOfOperationsVariant AS InspectionPlan,
BOOToMaterialInternalID AS InspPlanMatlAssignment,
BOOMatlInternalVersionCounter AS InspPlanMatlAssgmtIntVersion,
BillOfOperationsType,
ValidityStartDate,
ValidityEndDate,
ChangeNumber,
CreationDate,
CreatedByUser,
LastChangeDate,
LastChangedByUser,
IsDeleted,
IsImplicitlyDeleted,
Supplier,
Customer,
BOOSearchText,
MultipleSpecificationObject,
MultipleSpecificationObjType
FROM I_BOOMaterialAssgmtChangeState
LEFT OUTER JOIN I_InspectionPlan AS _InspectionPlan ON InspectionPlanGroup = _InspectionPlan.InspectionPlanGroup AND InspectionPlan = _InspectionPlan.InspectionPlan -- association [1..1]
LEFT OUTER JOIN I_InspectionPlanVersion AS _InspectionPlanVersion ON InspectionPlanGroup = _InspectionPlanVersion.InspectionPlanGroup AND InspectionPlan = _InspectionPlanVersion.InspectionPlan AND ValidityStartDate >= _InspectionPlanVersion.ValidityStartDate AND ValidityStartDate <= _InspectionPlanVersion.ValidityEndDate -- association [1..1]
LEFT OUTER JOIN I_BillOfOperationsGroup AS _BillOfOperationsGroup ON BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType AND InspectionPlanGroup = _BillOfOperationsGroup.BillOfOperationsGroup -- association [1..1]
LEFT OUTER JOIN I_InspPlnMatlAssignment AS _InspPlnMatlAssignment ON Material = _InspPlnMatlAssignment.Material AND Plant = _InspPlnMatlAssignment.Plant AND InspectionPlanGroup = _InspPlnMatlAssignment.InspectionPlanGroup AND InspectionPlan = _InspPlnMatlAssignment.InspectionPlan AND InspPlanMatlAssignment = _InspPlnMatlAssignment.InspPlanMatlAssignment -- association [1..1]
LEFT OUTER JOIN I_MltplSpecObject AS _MltplSpecObject ON MultipleSpecificationObject = _MltplSpecObject.MultipleSpecificationObject -- association [1..1]
LEFT OUTER JOIN I_MltplSpecObjectType AS _MltplSpecObjectType ON MultipleSpecificationObjType = _MltplSpecObjectType.MultipleSpecificationObjType -- 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