I_BOMVariantUsage

DDL: I_BOMVARIANTUSAGE SQL: IBOMVARIANTUSAGE Type: view BASIC

Bill Of Material Usage

I_BOMVariantUsage (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

BillOfMaterialVariantUsage · R&D Engineering

I_BOMVariantUsage is a Basic CDS View that provides data about "Bill Of Material Usage" in SAP S/4HANA. It reads from 1 data source (t416) and exposes 9 fields with key field BillOfMaterialVariantUsage. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Bills of Material
Purpose
This CDS view helps to retrieve BOM usage data. A bill of material variant usage is a coded representation of the context in which a variant of a bill of material (BOM) can be used. It is used in BOM processing and defines a business area, for example, production or design, for which the BOM variant is appropriate.

Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.

Structure
Important Fields Important fields in this view include the following: Field Name Description Comment BillOfMaterialVariantUsage BOM usage The following are values SAP ships: 1 : Production 2 : Engineering/Design 3 : Universal 4 : Plant Maintenance 5 : Sales and Distribution 6 : Costing 7 : Empties 8 : Stability Study B : Sales Bundles (IS-HT-SW)C:Configuration Control J : JIT production line supply M : External Munitions Display P : Predictive MRP S : Service Management U : IUID Embedded Items

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessR&D Engineering
Application ComponentLO-MD-BOM
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source for Data Extraction
PackageR&D Engineering for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view helps to retrieve BOM usage data. A bill of material variant usage is a coded representation of the context in which a variant of a bill of material (BOM) can be used. It is used in BOM processing and defines a business area, for example, production or design, for which the BOM variant is appropriate. </p>

Documentation

Data Sources (1)

SourceAliasJoin Type
t416 t416 from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_BillOfMaterialUsage _BillOfMaterialUsage t416.stlan = _BillOfMaterialUsage.BillOfMaterialVariantUsage

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IBOMVARIANTUSAGE view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
Analytics.dataExtraction.enabled true view
EndUserText.label Bill Of Material Usage view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.sapObjectNodeType.name BillOfMaterialVariantUsage view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY BillOfMaterialVariantUsage t416 stlan BOM Usage
BillOfMaterialVariantUsageDesc _BillOfMaterialUsage BillOfMaterialVariantUsageDesc BOM usage text
BOMIsProductionUsageRelevant t416 pmpfe Indicator: item relevant to production
BOMIsEngineeringUsageRelevant t416 pmpko Indicator: item relevant to engineering
BOMIsCostingUsageRelevant t416 pmpka Indicator: item relevant to costing
BOMIsSalesDistributionRelevant t416 pmprv Indicator: item relevant to sales & distribution (SD)
BOMIsHighLevelConfigRelevant t416 pmpvs Indicator: item relevant to high-level configuration
BOMIsPlantMaintenanceRelevant t416 pmpin Indicator: item relevant to plant maintenance
BOMIsSparePartRelevant t416 pmper Indicator: spare part

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 I_BOMVariantUsage.
-- 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: IBOMVARIANTUSAGE

CREATE VIEW I_BOMVariantUsage AS
SELECT
  t416.stlan AS BillOfMaterialVariantUsage,
  _BillOfMaterialUsage.BillOfMaterialVariantUsageDesc AS BillOfMaterialVariantUsageDesc,
  t416.pmpfe AS BOMIsProductionUsageRelevant,
  t416.pmpko AS BOMIsEngineeringUsageRelevant,
  t416.pmpka AS BOMIsCostingUsageRelevant,
  t416.pmprv AS BOMIsSalesDistributionRelevant,
  t416.pmpvs AS BOMIsHighLevelConfigRelevant,
  t416.pmpin AS BOMIsPlantMaintenanceRelevant,
  t416.pmper AS BOMIsSparePartRelevant
FROM t416
LEFT OUTER JOIN I_BillOfMaterialUsage AS _BillOfMaterialUsage ON t416.stlan = _BillOfMaterialUsage.BillOfMaterialVariantUsage  -- association [0..*]
;