C_BOMAltAndUsage
Consumption view to fetch alternatives of a BOM
C_BOMAltAndUsage is a Consumption CDS View that provides data about "Consumption view to fetch alternatives of a BOM" in SAP S/4HANA. It reads from 1 data source (I_Mast) and exposes 12 fields with key fields BillOfMaterial, BillOfMaterialVariant, BillOfMaterialCategory.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Mast | I_Mast | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CBOMALTANDUSG | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Consumption view to fetch alternatives of a BOM | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillOfMaterial | BillOfMaterial | ||
| KEY | BillOfMaterialVariant | BillOfMaterialVariant | ||
| KEY | BillOfMaterialCategory | BillOfMaterialCategory | ||
| BillOfMaterialVersion | ||||
| EngineeringChangeDocument | ||||
| Material | ||||
| Plant | ||||
| BillOfMaterialVariantUsage | ||||
| HeaderValidityStartDate | ||||
| AssemblyBOMDraftUUID | ||||
| HasActiveEntity | ||||
| IsActiveEntity |
@AbapCatalog.sqlViewName: 'CBOMALTANDUSG'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck:#CHECK
@EndUserText.label: 'Consumption view to fetch alternatives of a BOM'
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #B, sizeCategory: #L, dataClass: #MASTER}
@VDM.viewType: #CONSUMPTION
define view C_BOMAltAndUsage as select from I_Mast
{
key BillOfMaterial,
key BillOfMaterialVariant,
key BillOfMaterialCategory,
cast(' ' as cs_versn preserving type ) as BillOfMaterialVersion,
cast(' ' as aennr preserving type ) as EngineeringChangeDocument,
cast(' ' as matnr preserving type) as Material,
cast(' ' as werks_d preserving type ) as Plant,
cast(' ' as stlan preserving type ) as BillOfMaterialVariantUsage,
$session.system_date as HeaderValidityStartDate,
cast ( hextobin('00000000000000000000000000000000') as /bobf/uuid preserving type ) as AssemblyBOMDraftUUID,
cast('' as xfeld preserving type ) as HasActiveEntity,
cast('' as xfeld preserving type ) as IsActiveEntity
}
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