I_InspPlnMatlAssgmtVersion_2
Version of Material Assgmt in Insp Plan
I_InspPlnMatlAssgmtVersion_2 is a Basic CDS View that provides data about "Version of Material Assgmt in Insp Plan" in SAP S/4HANA. It reads from 1 data source (I_BOOMaterialAssgmtChangeState) and exposes 24 fields with key fields Material, Plant, InspectionPlanGroup, InspectionPlan, InspPlanMatlAssignment. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BOOMaterialAssgmtChangeState | I_BOOMaterialAssgmtChangeState | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BillOfOperationsType | _BillOfOperationsType | $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType |
| [1..1] | I_BillOfOperationsGroup | _BillOfOperationsGroup | $projection.BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType and $projection.InspectionPlanGroup = _BillOfOperationsGroup.BillOfOperationsGroup |
| [1..1] | I_InspectionPlanVersion | _InspectionPlanVersion | $projection.InspectionPlanGroup = _InspectionPlanVersion.InspectionPlanGroup and $projection.InspectionPlan = _InspectionPlanVersion.InspectionPlan and $projection.ValidityStartDate >= _InspectionPlanVersion.ValidityStartDate and $projection.ValidityStartDate <= _InspectionPlanVersion.ValidityEndDate |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..1] | I_Customer | _Customer | $projection.Customer = _Customer.Customer |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Version of Material Assgmt in Insp Plan | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | I_BOOMaterialAssgmtChangeState | Material | |
| KEY | Plant | I_BOOMaterialAssgmtChangeState | Plant | |
| KEY | InspectionPlanGroup | I_BOOMaterialAssgmtChangeState | BillOfOperationsGroup | |
| KEY | InspectionPlan | I_BOOMaterialAssgmtChangeState | BillOfOperationsVariant | |
| KEY | InspPlanMatlAssignment | I_BOOMaterialAssgmtChangeState | BOOToMaterialInternalID | |
| KEY | InspPlanMatlAssgmtIntVersion | I_BOOMaterialAssgmtChangeState | BOOMatlInternalVersionCounter | |
| BillOfOperationsType | I_BOOMaterialAssgmtChangeState | BillOfOperationsType | ||
| ValidityStartDate | I_BOOMaterialAssgmtChangeState | ValidityStartDate | ||
| ValidityEndDate | I_BOOMaterialAssgmtChangeState | ValidityEndDate | ||
| ChangeNumber | I_BOOMaterialAssgmtChangeState | ChangeNumber | ||
| CreationDate | I_BOOMaterialAssgmtChangeState | CreationDate | ||
| CreatedByUser | I_BOOMaterialAssgmtChangeState | CreatedByUser | ||
| LastChangeDate | I_BOOMaterialAssgmtChangeState | LastChangeDate | ||
| LastChangedByUser | I_BOOMaterialAssgmtChangeState | LastChangedByUser | ||
| IsDeleted | I_BOOMaterialAssgmtChangeState | IsDeleted | ||
| IsImplicitlyDeleted | I_BOOMaterialAssgmtChangeState | IsImplicitlyDeleted | ||
| Supplier | I_BOOMaterialAssgmtChangeState | Supplier | ||
| Customer | I_BOOMaterialAssgmtChangeState | Customer | ||
| BOOSearchText | I_BOOMaterialAssgmtChangeState | BOOSearchText | ||
| _BillOfOperationsGroup | _BillOfOperationsGroup | |||
| _BillOfOperationsType | _BillOfOperationsType | |||
| _InspectionPlanVersion | _InspectionPlanVersion | |||
| _Supplier | _Supplier | |||
| _Customer | _Customer |
@EndUserText.label: 'Version of Material Assgmt in Insp Plan'
@AccessControl.authorizationCheck: #MANDATORY
@Metadata.ignorePropagatedAnnotations: true
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@ObjectModel.usageType: { serviceQuality: #B, sizeCategory: #M, dataClass: #MASTER }
@ObjectModel.supportedCapabilities:
[ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET ]
// This CDS is similar to I_InspPlnMatlAssgmtVersion but C1 released
define view entity I_InspPlnMatlAssgmtVersion_2
as select from I_BOOMaterialAssgmtChangeState
association [1..1] to I_BillOfOperationsType as _BillOfOperationsType on $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType
association [1..1] to I_BillOfOperationsGroup as _BillOfOperationsGroup on $projection.BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType
and $projection.InspectionPlanGroup = _BillOfOperationsGroup.BillOfOperationsGroup
/*+[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 [0..1] to I_Supplier as _Supplier on $projection.Supplier = _Supplier.Supplier
association [0..1] to I_Customer as _Customer on $projection.Customer = _Customer.Customer
{
key I_BOOMaterialAssgmtChangeState.Material,
key I_BOOMaterialAssgmtChangeState.Plant,
@ObjectModel.foreignKey.association: '_BillOfOperationsGroup'
key I_BOOMaterialAssgmtChangeState.BillOfOperationsGroup as InspectionPlanGroup,
key I_BOOMaterialAssgmtChangeState.BillOfOperationsVariant as InspectionPlan,
key I_BOOMaterialAssgmtChangeState.BOOToMaterialInternalID as InspPlanMatlAssignment,
key I_BOOMaterialAssgmtChangeState.BOOMatlInternalVersionCounter as InspPlanMatlAssgmtIntVersion,
@ObjectModel.foreignKey.association: '_BillOfOperationsType'
I_BOOMaterialAssgmtChangeState.BillOfOperationsType,
I_BOOMaterialAssgmtChangeState.ValidityStartDate,
I_BOOMaterialAssgmtChangeState.ValidityEndDate,
I_BOOMaterialAssgmtChangeState.ChangeNumber,
I_BOOMaterialAssgmtChangeState.CreationDate,
I_BOOMaterialAssgmtChangeState.CreatedByUser,
I_BOOMaterialAssgmtChangeState.LastChangeDate,
I_BOOMaterialAssgmtChangeState.LastChangedByUser,
I_BOOMaterialAssgmtChangeState.IsDeleted,
I_BOOMaterialAssgmtChangeState.IsImplicitlyDeleted,
I_BOOMaterialAssgmtChangeState.Supplier,
I_BOOMaterialAssgmtChangeState.Customer,
I_BOOMaterialAssgmtChangeState.BOOSearchText,
// Associations
_BillOfOperationsGroup,
_BillOfOperationsType,
_InspectionPlanVersion,
_Supplier,
_Customer
}
where
BillOfOperationsType = 'Q'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BOOMATERIALASSGMTCHANGESTATE"
],
"ASSOCIATED":
[
"I_BILLOFOPERATIONSGROUP",
"I_BILLOFOPERATIONSTYPE",
"I_CUSTOMER",
"I_INSPECTIONPLANVERSION",
"I_SUPPLIER"
],
"BASE":
[],
"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