I_ProductionModel
Production Model Header
I_ProductionModel is a Composite CDS View that provides data about "Production Model Header" in SAP S/4HANA. It reads from 3 data sources (P_BOOVersBOMAssgmtLatest, P_ProdnModelLatestBOMVersion, I_ProductionModelBasic) and exposes 24 fields with key field ProductionModelUUID. It has 4 associations to related views. Part of development package MPE_PRODUCTION_MODEL_CDS.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| P_BOOVersBOMAssgmtLatest | BooVersionBOMAssgmtLatest | inner |
| P_ProdnModelLatestBOMVersion | LatestBOMVersion | inner |
| I_ProductionModelBasic | ProductionModel | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ProductionModelComponent | _HeaderComponent | $projection.ProductionModelUUID = _HeaderComponent.ProductionModelUUID |
| [0..*] | I_ProductionModelOperation | _Operation | $projection.ProductionModelUUID = _Operation.ProductionModelUUID |
| [0..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant and _Plant.Language = $session.system_language |
| [0..1] | I_MaterialText | _MaterialText | $projection.Material = _MaterialText.Material and _MaterialText.Language = $session.system_language |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Production Model Header | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| VDM.viewType | #COMPOSITE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductionModelUUID | I_ProductionModelBasic | ProductionModelUUID | |
| ProductionModelProcessType | I_ProductionModelBasic | ProductionModelProcessType | ||
| ProdnModComplexAssemblyType | I_ProductionModelBasic | ProdnModComplexAssemblyType | ||
| Material | I_ProductionModelBasic | Material | ||
| BillOfMaterial | I_ProductionModelBasic | BillOfMaterial | ||
| BillOfMaterialVariant | I_ProductionModelBasic | BillOfMaterialVariant | ||
| BillOfMaterialCategory | I_ProductionModelBasic | BillOfMaterialCategory | ||
| BillOfMaterialVariantUsage | I_ProductionModelBasic | BillOfMaterialVariantUsage | ||
| BillOfMaterialVersion | P_BOOVersBOMAssgmtLatest | BillOfMaterialVersion | ||
| BillOfOperationsVersion | P_BOOVersBOMAssgmtLatest | BillOfOperationsVersion | ||
| Plant | I_ProductionModelBasic | Plant | ||
| BillOfOperationsType | I_ProductionModelBasic | BillOfOperationsType | ||
| BillOfOperationsGroup | I_ProductionModelBasic | BillOfOperationsGroup | ||
| BillOfOperationsVariant | I_ProductionModelBasic | BillOfOperationsVariant | ||
| SalesOrder | I_ProductionModelBasic | SalesOrder | ||
| SalesOrderItem | I_ProductionModelBasic | SalesOrderItem | ||
| ProdnModelCreationDateTime | I_ProductionModelBasic | ProdnModelCreationDateTime | ||
| ProductionModelCreatedByUser | I_ProductionModelBasic | ProductionModelCreatedByUser | ||
| ProdnModelChangedDateTime | I_ProductionModelBasic | ProdnModelChangedDateTime | ||
| ProductionModelChangedByUser | I_ProductionModelBasic | ProductionModelChangedByUser | ||
| _HeaderComponent | _HeaderComponent | |||
| _Operation | _Operation | |||
| _Plant | _Plant | |||
| _MaterialText | _MaterialText |
@EndUserText.label: 'Production Model Header'
@AccessControl.authorizationCheck: #MANDATORY
@VDM.viewType: #COMPOSITE
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #L,
dataClass: #TRANSACTIONAL
}
define view entity I_ProductionModel
as select from I_ProductionModelBasic as ProductionModel
inner join P_ProdnModelLatestBOMVersion as LatestBOMVersion on LatestBOMVersion.BillOfMaterial = ProductionModel.BillOfMaterial
and LatestBOMVersion.BillOfMaterialCategory = ProductionModel.BillOfMaterialCategory
and LatestBOMVersion.BillOfMaterialVariant = ProductionModel.BillOfMaterialVariant
and LatestBOMVersion.BillOfMaterialVariantUsage = ProductionModel.BillOfMaterialVariantUsage
inner join P_BOOVersBOMAssgmtLatest as BooVersionBOMAssgmtLatest on BooVersionBOMAssgmtLatest.BillOfOperationsType = ProductionModel.BillOfOperationsType
and BooVersionBOMAssgmtLatest.BillOfOperationsGroup = ProductionModel.BillOfOperationsGroup
and BooVersionBOMAssgmtLatest.BillOfOperationsVariant = ProductionModel.BillOfOperationsVariant
association [0..*] to I_ProductionModelComponent as _HeaderComponent on $projection.ProductionModelUUID = _HeaderComponent.ProductionModelUUID
association [0..*] to I_ProductionModelOperation as _Operation on $projection.ProductionModelUUID = _Operation.ProductionModelUUID
association [0..1] to I_Plant as _Plant on $projection.Plant = _Plant.Plant
and _Plant.Language = $session.system_language
association [0..1] to I_MaterialText as _MaterialText on $projection.Material = _MaterialText.Material
and _MaterialText.Language = $session.system_language
{
key ProductionModel.ProductionModelUUID,
ProductionModel.ProductionModelProcessType,
ProductionModel.ProdnModComplexAssemblyType,
ProductionModel.Material,
ProductionModel.BillOfMaterial,
ProductionModel.BillOfMaterialVariant,
ProductionModel.BillOfMaterialCategory,
ProductionModel.BillOfMaterialVariantUsage,
BooVersionBOMAssgmtLatest.BillOfMaterialVersion,
BooVersionBOMAssgmtLatest.BillOfOperationsVersion,
ProductionModel.Plant,
ProductionModel.BillOfOperationsType,
ProductionModel.BillOfOperationsGroup,
ProductionModel.BillOfOperationsVariant,
ProductionModel.SalesOrder,
ProductionModel.SalesOrderItem,
ProductionModel.ProdnModelCreationDateTime,
ProductionModel.ProductionModelCreatedByUser,
ProductionModel.ProdnModelChangedDateTime,
ProductionModel.ProductionModelChangedByUser,
_HeaderComponent,
_Operation,
_Plant,
_MaterialText
}
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