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. Part of development package CS_MODEL.
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Consumption view to fetch alternatives of a BOM | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | 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 | |||
| KEY | BillOfMaterialVariant | BillOfMaterialVariant | ||
| KEY | BillOfMaterialCategory | BillOfMaterialCategory | ||
| BillOfMaterialVersion | ||||
| EngineeringChangeDocument | ||||
| Material | ||||
| Plant | ||||
| BillOfMaterialVariantUsage | ||||
| HeaderValidityStartDate | ||||
| AssemblyBOMDraftUUID | ||||
| HasActiveEntity | ||||
| IsActiveEntity |
@AccessControl.authorizationCheck:#CHECK
@EndUserText.label: 'Consumption view to fetch alternatives of a BOM'
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ObjectModel.usageType: {serviceQuality: #B, sizeCategory: #L, dataClass: #MASTER}
@VDM.viewType: #CONSUMPTION
define view entity C_BOMAltAndUsage as select distinct from I_MaterialBOMLink
{
key cast( BillOfMaterial as char8 preserving type ) as 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