C_BillOfMaterialUsage

DDL: C_BILLOFMATERIALUSAGE SQL: CBOMUSAGE Type: view CONSUMPTION

BOM different usages

C_BillOfMaterialUsage is a Consumption CDS View that provides data about "BOM different usages" in SAP S/4HANA. It reads from 1 data source (I_Mast) and exposes 9 fields with key fields BillOfMaterial, BillOfMaterialVariant, BillOfMaterialCategory, Material, Plant. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_Mast I_Mast from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_BillOfMaterialUsage _Usage $projection.BillOfMaterialVariantUsage = _Usage.BillOfMaterialVariantUsage

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CBOMUSAGE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label BOM different usages 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 (9)

KeyFieldSource TableSource FieldDescription
KEY BillOfMaterial BillOfMaterial BOM
KEY BillOfMaterialVariant BillOfMaterialVariant AlternativeBOM
KEY BillOfMaterialCategory BillOfMaterialCategory BOM category
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
KEY BillOfMaterialVariantUsage BillOfMaterialVariantUsage Usage
HeaderValidityStartDate
BillOfMaterialVariantUsageDesc _Usage BillOfMaterialVariantUsageDesc
_Usage _Usage

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view C_BillOfMaterialUsage.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: CBOMUSAGE

CREATE VIEW C_BillOfMaterialUsage AS
SELECT
  BillOfMaterial,
  BillOfMaterialVariant,
  BillOfMaterialCategory,
  Material,
  Plant,
  BillOfMaterialVariantUsage,
  $session.system_date AS HeaderValidityStartDate,
  _Usage.BillOfMaterialVariantUsageDesc AS BillOfMaterialVariantUsageDesc
FROM I_Mast
LEFT OUTER JOIN I_BillOfMaterialUsage AS _Usage ON BillOfMaterialVariantUsage = _Usage.BillOfMaterialVariantUsage  -- association [0..*]
;