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.
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 (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IINSPPLMASSGV | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Version of Plan-Material assignment | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.representativeKey | InspPlanMatlAssgmtIntVersion | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | Material | ||
| KEY | Plant | Plant | ||
| KEY | InspectionPlanGroup | BillOfOperationsGroup | ||
| KEY | InspectionPlan | BillOfOperationsVariant | ||
| KEY | InspPlanMatlAssignment | BOOToMaterialInternalID | ||
| KEY | InspPlanMatlAssgmtIntVersion | BOOMatlInternalVersionCounter | ||
| BillOfOperationsType | BillOfOperationsType | |||
| ValidityStartDate | ValidityStartDate | |||
| ValidityEndDate | ValidityEndDate | |||
| ChangeNumber | ChangeNumber | |||
| CreationDate | CreationDate | |||
| CreatedByUser | CreatedByUser | |||
| LastChangeDate | LastChangeDate | |||
| LastChangedByUser | LastChangedByUser | |||
| IsDeleted | IsDeleted | |||
| IsImplicitlyDeleted | IsImplicitlyDeleted | |||
| Supplier | Supplier | |||
| Customer | Customer | |||
| BOOSearchText | BOOSearchText | |||
| MultipleSpecificationObject | MultipleSpecificationObject | |||
| MultipleSpecificationObjType | MultipleSpecificationObjType | |||
| _InspPlnMatlAssignment | _InspPlnMatlAssignment | |||
| _InspectionPlan | _InspectionPlan | |||
| _InspectionPlanVersion | _InspectionPlanVersion | |||
| _Material | _Material | |||
| _Plant | _Plant | |||
| _Supplier | _Supplier | |||
| _Customer | _Customer | |||
| _MltplSpecObject | _MltplSpecObject | |||
| _MltplSpecObjectType | _MltplSpecObjectType | |||
| _ChangeMaster | _ChangeMaster | |||
| _BillOfOperationsGroup | _BillOfOperationsGroup |
@AbapCatalog.sqlViewName: 'IINSPPLMASSGV'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Version of Plan-Material assignment'
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: { serviceQuality: #B, sizeCategory: #M, dataClass: #MASTER }
@ObjectModel.representativeKey: 'InspPlanMatlAssgmtIntVersion'
define view I_InspPlnMatlAssgmtVersion
as select from I_BOOMaterialAssgmtChangeState
association [1..1] to I_InspectionPlan as _InspectionPlan on $projection.InspectionPlanGroup = _InspectionPlan.InspectionPlanGroup
and $projection.InspectionPlan = _InspectionPlan.InspectionPlan
/*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ] } */
association [1..1] to I_InspectionPlanVersion as _InspectionPlanVersion on $projection.InspectionPlanGroup = _InspectionPlanVersion.InspectionPlanGroup
and $projection.InspectionPlan = _InspectionPlanVersion.InspectionPlan
and $projection.ValidityStartDate >= _InspectionPlanVersion.ValidityStartDate
and $projection.ValidityStartDate <= _InspectionPlanVersion.ValidityEndDate
association [1..1] to I_BillOfOperationsGroup as _BillOfOperationsGroup on $projection.BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType
and $projection.InspectionPlanGroup = _BillOfOperationsGroup.BillOfOperationsGroup
association [1..1] to I_InspPlnMatlAssignment as _InspPlnMatlAssignment on $projection.Material = _InspPlnMatlAssignment.Material
and $projection.Plant = _InspPlnMatlAssignment.Plant
and $projection.InspectionPlanGroup = _InspPlnMatlAssignment.InspectionPlanGroup
and $projection.InspectionPlan = _InspPlnMatlAssignment.InspectionPlan
and $projection.InspPlanMatlAssignment = _InspPlnMatlAssignment.InspPlanMatlAssignment
association [1..1] to I_MltplSpecObject as _MltplSpecObject on $projection.MultipleSpecificationObject = _MltplSpecObject.MultipleSpecificationObject
association [1..1] to I_MltplSpecObjectType as _MltplSpecObjectType on $projection.MultipleSpecificationObjType = _MltplSpecObjectType.MultipleSpecificationObjType
{
key Material,
key Plant,
@ObjectModel.foreignKey.association: '_BillOfOperationsGroup'
key BillOfOperationsGroup as InspectionPlanGroup,
@ObjectModel.foreignKey.association: '_InspectionPlan'
key BillOfOperationsVariant as InspectionPlan,
@ObjectModel.foreignKey.association: '_InspPlnMatlAssignment'
key BOOToMaterialInternalID as InspPlanMatlAssignment,
key BOOMatlInternalVersionCounter as InspPlanMatlAssgmtIntVersion,
BillOfOperationsType,
ValidityStartDate,
ValidityEndDate,
ChangeNumber,
CreationDate,
CreatedByUser,
LastChangeDate,
LastChangedByUser,
IsDeleted,
IsImplicitlyDeleted,
Supplier,
Customer,
BOOSearchText,
@ObjectModel.foreignKey.association: '_MltplSpecObject'
MultipleSpecificationObject,
@ObjectModel.foreignKey.association: '_MltplSpecObjectType'
MultipleSpecificationObjType,
_InspPlnMatlAssignment,
_InspectionPlan,
_InspectionPlanVersion,
_Material,
_Plant,
_Supplier,
_Customer,
_MltplSpecObject,
_MltplSpecObjectType,
_ChangeMaster,
_BillOfOperationsGroup
}
where
BillOfOperationsType = 'Q'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BOOMATERIALASSGMTCHANGESTATE"
],
"ASSOCIATED":
[
"I_BILLOFOPERATIONSGROUP",
"I_CHANGEMASTER",
"I_CUSTOMER",
"I_INSPECTIONPLAN",
"I_INSPECTIONPLANVERSION",
"I_INSPPLNMATLASSIGNMENT",
"I_MATERIAL",
"I_MLTPLSPECOBJECT",
"I_MLTPLSPECOBJECTTYPE",
"I_PLANT",
"I_SUPPLIER"
],
"BASE":
[
"I_BOOMATERIALASSGMTCHANGESTATE"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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