I_MfgBOOMaterialAssignment
Material Assignment to Manufacturing Bill of Operations
I_MfgBOOMaterialAssignment is a Basic CDS View (Dimension) that provides data about "Material Assignment to Manufacturing Bill of Operations" in SAP S/4HANA. It reads from 1 data source (I_BOOMaterialAssignment) and exposes 14 fields with key fields Product, Plant, BillOfOperationsType, BillOfOperationsGroup, BillOfOperationsVariant. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BOOMaterialAssignment | mapl | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_MfgBillOfOperations | _BillOfOperations | $projection.BillOfOperationsType = _BillOfOperations.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperations.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperations.BillOfOperationsVariant -- to child |
| [1..*] | I_MfgBOOMaterialAssgmtChgSt | _BOOMaterialAssgmtChgSt | $projection.Product = _BOOMaterialAssgmtChgSt.Product and $projection.Plant = _BOOMaterialAssgmtChgSt.Plant and $projection.BillOfOperationsType = _BOOMaterialAssgmtChgSt.BillOfOperationsType and $projection.BillOfOperationsGroup = _BOOMaterialAssgmtChgSt.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BOOMaterialAssgmtChgSt.BillOfOperationsVariant and $projection.BOOToMaterialInternalID = _BOOMaterialAssgmtChgSt.BOOToMaterialInternalID |
| [1..1] | I_Product | _Product | $projection.Product = _Product.Product |
| [1..1] | I_ProductPlant | _ProductPlant | $projection.Product = _ProductPlant.Product and $projection.Plant = _ProductPlant.Plant |
| [1..1] | I_ProductPlantBasic | _ProductPlant2 | $projection.Product = _ProductPlant2.Product and $projection.Plant = _ProductPlant2.Plant |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMFGBOOMATASGNMT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.representativeKey | BOOToMaterialInternalID | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| EndUserText.label | Material Assignment to Manufacturing Bill of Operations | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | I_BOOMaterialAssignment | Material | |
| KEY | Plant | I_BOOMaterialAssignment | Plant | |
| KEY | BillOfOperationsType | I_BOOMaterialAssignment | BillOfOperationsType | |
| KEY | BillOfOperationsGroup | I_BOOMaterialAssignment | BillOfOperationsGroup | |
| KEY | BillOfOperationsVariant | I_BOOMaterialAssignment | BillOfOperationsVariant | |
| BOOToMaterialInternalID | ||||
| _Product | _Product | |||
| _ProductPlant | _ProductPlant | |||
| _ProductPlant2 | _ProductPlant2 | |||
| _Plant | _Plant | |||
| _BillOfOperationsType | _BillOfOperationsType | |||
| _BillOfOperationsGroup | _BillOfOperationsGroup | |||
| _BillOfOperations | _BillOfOperations | |||
| _BOOMaterialAssgmtChgSt | _BOOMaterialAssgmtChgSt |
@AbapCatalog.sqlViewName: 'IMFGBOOMATASGNMT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #NOT_REQUIRED
@Analytics.dataCategory: #DIMENSION
@ClientHandling.algorithm: #SESSION_VARIABLE
@ClientHandling.type: #CLIENT_DEPENDENT
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE]
@ObjectModel.representativeKey: 'BOOToMaterialInternalID'
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #M, dataClass: #MASTER}
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@EndUserText.label: 'Material Assignment to Manufacturing Bill of Operations'
define view I_MfgBOOMaterialAssignment
as select from I_BOOMaterialAssignment as mapl
-- to parent
association [1..1] to I_MfgBillOfOperations as _BillOfOperations on $projection.BillOfOperationsType = _BillOfOperations.BillOfOperationsType
and $projection.BillOfOperationsGroup = _BillOfOperations.BillOfOperationsGroup
and $projection.BillOfOperationsVariant = _BillOfOperations.BillOfOperationsVariant
-- to child
association [1..*] to I_MfgBOOMaterialAssgmtChgSt as _BOOMaterialAssgmtChgSt on $projection.Product = _BOOMaterialAssgmtChgSt.Product
and $projection.Plant = _BOOMaterialAssgmtChgSt.Plant
and $projection.BillOfOperationsType = _BOOMaterialAssgmtChgSt.BillOfOperationsType
and $projection.BillOfOperationsGroup = _BOOMaterialAssgmtChgSt.BillOfOperationsGroup
and $projection.BillOfOperationsVariant = _BOOMaterialAssgmtChgSt.BillOfOperationsVariant
and $projection.BOOToMaterialInternalID = _BOOMaterialAssgmtChgSt.BOOToMaterialInternalID
association [1..1] to I_Product as _Product on $projection.Product = _Product.Product
association [1..1] to I_ProductPlant as _ProductPlant on $projection.Product = _ProductPlant.Product
and $projection.Plant = _ProductPlant.Plant
association [1..1] to I_ProductPlantBasic as _ProductPlant2 on $projection.Product = _ProductPlant2.Product
and $projection.Plant = _ProductPlant2.Plant
{
// Key
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_MaterialStdVH', element: 'Material' } } ]
@ObjectModel.foreignKey.association: '_Product'
key mapl.Material as Product,
@ObjectModel.foreignKey.association: '_Plant'
key mapl.Plant,
@ObjectModel.foreignKey.association: '_BillOfOperationsType'
key mapl.BillOfOperationsType,
@ObjectModel.foreignKey.association: '_BillOfOperationsGroup'
key mapl.BillOfOperationsGroup,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_MfgBillOfOperationsStdVH', element: 'BillOfOperationsVariant' } } ]
@ObjectModel.foreignKey.association: '_BillOfOperations'
key mapl.BillOfOperationsVariant,
-- Representative Key
key mapl.BOOToMaterialInternalID,
// Associations
_Product,
@API.element.releaseState: #DEPRECATED
@API.element.successor: '_ProductPlant2'
_ProductPlant,
_ProductPlant2,
_Plant,
_BillOfOperationsType,
_BillOfOperationsGroup,
_BillOfOperations,
_BOOMaterialAssgmtChgSt
}
where mapl.BillOfOperationsType = '2' // Recipe
or mapl.BillOfOperationsType = 'N' // Standard routing
or mapl.BillOfOperationsType = 'S'; // Reference operation set
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BOOMATERIALASSIGNMENT"
],
"ASSOCIATED":
[
"I_BILLOFOPERATIONSGROUP",
"I_BILLOFOPERATIONSTYPE",
"I_MFGBILLOFOPERATIONS",
"I_MFGBOOMATERIALASSGMTCHGST",
"I_PLANT",
"I_PRODUCT",
"I_PRODUCTPLANT",
"I_PRODUCTPLANTBASIC"
],
"BASE":
[
"I_BOOMATERIALASSIGNMENT"
],
"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