C_LinkedProdnVersBOM
BOM to Material Assgmt in Rec prv
C_LinkedProdnVersBOM is a Consumption CDS View that provides data about "BOM to Material Assgmt in Rec prv" in SAP S/4HANA. It reads from 1 data source (I_MaterialBOM) and exposes 17 fields with key fields Material, Plant, BillOfMaterialCategory, BillOfMaterial, BillOfMaterialVariant.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaterialBOM | I_MaterialBOM | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | BOM to Material Assgmt in Rec prv | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.allowExtensions | true | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | Material | ||
| KEY | Plant | Plant | ||
| KEY | BillOfMaterialCategory | BillOfMaterialCategory | BOM Category | |
| KEY | BillOfMaterial | Bill Of Material | ||
| KEY | BillOfMaterialVariant | BillOfMaterialVariant | Alternative BOM | |
| KEY | BillOfMaterialVersion | BillOfMaterialVersion | ||
| KEY | ChangeNumber | EngineeringChangeDocument | Change Number | |
| ValidityEndDate | HeaderValidityEndDate | |||
| ValidityStartDate | HeaderValidityStartDate | |||
| BillOfMaterialVariantUsage | BillOfMaterialVariantUsage | BOM Usage | ||
| BOMHeaderQuantityInBaseUnit | BOMHeaderQuantityInBaseUnit | |||
| BOMHeaderBaseUnit | BOMHeaderBaseUnit | Base Unit of Measure | ||
| BOMHeaderText | BOMHeaderText | BOM Description | ||
| BillOfMaterialStatus | BillOfMaterialStatus | BOM Status | ||
| MatFromLotSizeQuantity | MatFromLotSizeQuantity | Minimum Lot Size | ||
| MaterialToLotSizeQuantity | MaterialToLotSizeQuantity | Maximum Lot Size | ||
| BillOfMaterialVariantUsageDesc | _BillOfMaterialVariantUsage | BillOfMaterialVariantUsageDesc |
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'BOM to Material Assgmt in Rec prv'
@AbapCatalog.viewEnhancementCategory: [#NONE]
@Metadata.ignorePropagatedAnnotations: true
@VDM.viewType: #CONSUMPTION
@ObjectModel.usageType:{ serviceQuality: #X, sizeCategory: #S, dataClass: #MIXED }
@Metadata.allowExtensions: true
define view entity C_LinkedProdnVersBOM
as select from I_MaterialBOM
{
key Material,
key Plant,
@EndUserText.label: 'BOM Category'
@EndUserText.quickInfo: 'BOM Category'
key BillOfMaterialCategory,
@EndUserText.label: 'Bill Of Material'
@EndUserText.quickInfo: 'Bill Of Material'
//using cast to delink the Conversion Routine "NUMCV" on BillOfMaterial
key cast ( BillOfMaterial as abap.char(8) ) as BillOfMaterial,
@EndUserText.label: 'Alternative BOM'
key BillOfMaterialVariant,
key BillOfMaterialVersion,
@EndUserText.label: 'Change Number' //to be confirmed
key EngineeringChangeDocument as ChangeNumber,
@Semantics.businessDate.to: true
HeaderValidityEndDate as ValidityEndDate,
@Semantics.businessDate.from: true
HeaderValidityStartDate as ValidityStartDate,
@EndUserText.label: 'BOM Usage'
@ObjectModel.text.element: ['BillOfMaterialVariantUsageDesc']
BillOfMaterialVariantUsage,
// @EndUserText.label: 'BOM Long Text' //to be confirmed
// BOMHeaderText,
@Semantics.quantity.unitOfMeasure: 'BOMHeaderBaseUnit'
@Aggregation.default: #NONE
BOMHeaderQuantityInBaseUnit,
@EndUserText.label: 'Base Unit of Measure'
BOMHeaderBaseUnit,
@EndUserText.label: 'BOM Description' //to be confirmed BOMHeaderText
BOMHeaderText,
@EndUserText.label: 'BOM Status'
BillOfMaterialStatus,
@Semantics.quantity.unitOfMeasure: 'BOMHeaderBaseUnit'
@EndUserText.label: 'Minimum Lot Size'
MatFromLotSizeQuantity,
@Semantics.quantity.unitOfMeasure: 'BOMHeaderBaseUnit'
@EndUserText.label: 'Maximum Lot Size'
MaterialToLotSizeQuantity,
_BillOfMaterialVariantUsage.BillOfMaterialVariantUsageDesc as BillOfMaterialVariantUsageDesc
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BILLOFMATERIALUSAGE",
"I_MATERIALBOM"
],
"ASSOCIATED":
[],
"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