I_BillOfMaterialItemDEX

DDL: I_BILLOFMATERIALITEMDEX SQL: IBOMITEMDEX Type: view BASIC

Data Extraction BOM Item

I_BillOfMaterialItemDEX (Basic)

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

BillOfMaterialItem · R&D Engineering

I_BillOfMaterialItemDEX is a Basic CDS View (Fact) that provides data about "Data Extraction BOM Item" in SAP S/4HANA. It reads from 3 data sources (stas, stpo, tcs03) and exposes 128 fields with key fields BillOfMaterialCategory, BillOfMaterial, BillOfMaterialVariant, BillOfMaterialItemNodeNumber.

SAP API Hub

StateDeprecated
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

Documentation

Data Sources (3)

SourceAliasJoin Type
stas stas inner
stpo stpo from
tcs03 tcs03 inner

Annotations (20)

NameValueLevelField
AbapCatalog.sqlViewName IBOMITEMDEX view
AbapCatalog.preserveKey true view
ClientHandling.type #INHERITED view
EndUserText.label Data Extraction BOM Item view
VDM.private true view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.authorizationCheck #CHECK view
VDM.lifecycle.contract.type #NONE view
Analytics.dataCategory #FACT view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view
Analytics.dataExtraction.delta.byElement.name BOMItemLastChangeDate view
Analytics.dataExtraction.delta.byElement.maxDelayInSeconds 1800 view
ObjectModel.sapObjectNodeType.name BillOfMaterialItem view

Fields (128)

KeyFieldSource TableSource FieldDescription
KEY BillOfMaterialCategory stpo stlty Single-Character Flag
KEY BillOfMaterial Character field, 8 characters long
KEY BillOfMaterialVariant stas stlal Alternative BOM
KEY BillOfMaterialItemNodeNumber stas stlkn Single-Character Flag
BillOfMaterialItemUUID stpo guidx Global identification of an item's change status
BOMItemInternalChangeCount stpo stpoz Internal counter
InheritedNodeNumberForBOMItem stas stvkn Inherited node number of BOM item
InheritedNodeNumberVersionBOM stpo stvkn_versn Inherited node number of BOM item
BillOfMaterialVersion stas bom_versn BOM Version
ValidityStartDate stpo datuv Valid-from date
BOMItemRecordCreationDate stpo andat Date Record Created On
BOMItemCreatedByUser stpo annam User who created record
BOMItemLastChangeDate stpo aedat Last Changed On
BOMItemLastChangedByUser stpo aenam Name of Person Who Changed Object
BillOfMaterialComponent stpo idnrk BOM component
BillOfMaterialItemCategory stpo postp Item category (bill of material)
BillOfMaterialItemNumber Undefined range (can be used for patch levels)
BillOfMaterialItemUnit stpo meins Component Unit of Measure
BillOfMaterialItemQuantity stpo menge Component Quantity
IsSubItem stpo upskz Indicator: sub-items exist
BOMItemSorter stpo sortf Sort string
fmengasBOMItemHasFixedQuantity
PurchasingGroup stpo ekgrp Sub. purchasing grp
Currency stpo waers Transaction Currency
MaterialComponentPrice stpo preis Valuation Price
itmidendasIdentifierBOMItem
MaterialPriceUnitQty stpo peinh Unit of measure
ComponentScrapInPercent stpo ausch Component Scrap in Percent
OperationScrapInPercent stpo avoau Operation Scrap
IsNetScrap stpo netau Net Scrap Indicator
romenasQuantityVariableSizeItem
FormulaKey stpo rform Formula Key for Variable-Size Items
BOMItemDescription stpo potx1 BOM Item Text (Line 1)
BOMItemText2 stpo potx2 BOM Item Text (Line 2)
LongTextLanguage stpo ltxsp Long Text Language, for Creation of a Change Document
MaterialGroup stpo matkl Product Sold Group
DocumentType stpo dokar SW Document Type
DocNumber stpo doknr Document number
DocumentVersion stpo dokvr Document Version
DocumentPart stpo doktl Document Part
ClassNumber stpo class Class number
ClassType stpo klart Class Type
ResultingItemCategory stpo potpr Resulting item category
DependencyObjectNumber stpo knobj Number of Object with Assigned Dependencies
ObjectType stpo objty Object type (BOM item)
IsClassificationRelevant stpo kzclb Indicator: classification as selection condition
IsBulkMaterial stpo schgt Indicator: bulk material
BOMItemIsSparePart stpo erskz Indicator: Spare Part
BOMItemIsSalesRelevant stpo rvrel Indicator: item relevant to sales
IsProductionRelevant stpo sanfe Indicator: item relevant to production
BOMItemIsPlantMaintRelevant stpo sanin Indicator: item relevant to plant maintenance
BOMItemIsCostingRelevant stpo sanka Indicator for relevancy to costing
IsEngineeringRelevant stpo sanko Indicator: item relevant to engineering
SpecialProcurementType stpo itsob Special Procurement Type for BOM Item
IsBOMRecursiveAllowed stpo rekrs Indicator: recursiveness allowed
OperationLeadTimeOffset stpo nlfzv Lead-time offset for operation
OpsLeadTimeOffsetUnit stpo nlfmv Unit for lead-time offset for operation
IsMaterialProvision stpo beikz Material Provision Indicator
BOMIsRecursive stpo rekri Indicator: BOM is recursive
DocumentIsCreatedByCAD stpo cadpo CAD Indicator
DistrKeyCompConsumption stpo verti Distribution key for component consumption
DeliveryDurationInDays stpo lifzt Delivery time in days
CostElement stpo sakto Cost element
Size1 stpo roms1 Size 1
Size2 stpo roms2 Size 2
Size3 stpo roms3 Size 3
UnitOfMeasureForSize1To3 stpo romei Unit of measure for sizes 1 to 3
GoodsReceiptDuration stpo webaz Goods receipt processing time in days
PurchasingOrganization stpo ekorg Purchasing Organization
RequiredComponent stpo clobk Required Component
MultipleSelectionAllowed stpo clmul Multiple Selection Allowed
ProdOrderIssueLocation stpo lgort Issue Location for Production Order
MaterialIsCoProduct stpo kzkup Indicator: co-product
ExplosionType stpo dspst Explosion type
FollowUpGroup stpo nfgrp Follow-up group
DiscontinuationGroup stpo nfeag Discontinuation group
ReinsurContrOrgUnit stpo cview Organizational Area
IsConfigurableBOM stpo awakz Selection indicator for configurable BOMs
ReferencePoint stpo rfpnt Reference point for BOM transfer
LeadTimeOffset stpo nlfzt Lead-time offset
IsSoftwareComponent stpo sfwind Indicator: Software component
ProductionSupplyArea stpo prvbe Production Supply Area
IsDeleted stpo lkenz Deletion Indicator
IsALE stpo alekz ALE indicator
AlternativeItemGroup stpo alpgr Alternative item: group
AlternativeItemPriority stpo alprf Alternative item: ranking order
AlternativeItemStrategy stpo alpst Alternative item: strategy
UsageProbabilityPercent stpo ewahr Usage Probability in % (Alternative Item)
IsPMAssemblyRelevant stpo stkkz PM assembly indicator
IsAssembly Checkbox
OrigSalesOrderBOMItmCategory stpo kstty BOM category of original sales order BOM item
OrigSalesOrderBOMItmNodeNumber stpo kstkn Node number of original sales order BOM item
OrigSalesOrderBOMItmNumber stpo kstpz Counter for original sales order BOM item
PreliminaryMaterial stpo preliminary_material Material Description
HeadBillOfMaterialVariantUsage stzu stlan BOM Usage
BOMHeaderInternalChangeCount stko stkoz Internal counter
LaboratoryOrDesignOffice stko labor Laboratory/Design Office
BOMPrioritizedVersion CIM selection indicator for alternatives
BOMExplosionApplication Application
IsMultipleBOMAlt Indicator: alternative determination for multiple BOMs
BOMUsagePriority CIM priority for selection ID
BillOfMaterialAuthsnGrp stzu stlbe Authorization group for bills of material
BOMIsConfigurable stzu kbaus Indicator: configurable BOM
IsConfiguredMaterial stzu kbaus Indicator: configurable BOM
IsVersionBillOfMaterial stzu versnind Indicator: Relevant for Versioning
varstXthenVelseendasBOMTechnicalType
BOMHeaderText stzu ztext BOM Description
BOMGroup stzu exstl BOM group
IndicatorIsBOMWithDateHistory stzu hisdt Indicator: BOM with history (date)
IndicatorIsBOMChangedWithHist stzu histk Indicator: BOM was changed with history
BOMAlternativeText stko stktx Alternative BOM Text
BillOfMaterialStatus stko stlst Bill of Material Status
HeaderValidityStartDate stko datuv Valid-from date
HeaderEngineeringChgNmbrDoc stko aennr Change Number
DeletionIndicator stko lkenz Deletion Indicator
BOMIsArchivedForDeletion stko loekz Deletion flag for BOMs
DeletionIndicatorBom
BOMHeaderBaseUnit stko bmein Base Unit of Measure for BOM
BOMHeaderQuantityInBaseUnit stko bmeng Base quantity
RecordCreationDate stko andat Date Record Created On
LastChangeDate stko aedat Last Changed On
CreatedByUser stko annam User who created record
LastChangedByUser stko aenam Name of Person Who Changed Object
BOMIsToBeDeleted tcs03 dlhnd Handling Deletion Flag During BOM Explosion
BOMPredecessorVersion stko bom_prev_versn Predecessor Version of BOM
BOMVersionStatus stko versnst BOM Version Status
IsLatestBOMVersion stko versnlastind Indicator: Latest Released BOM Version
BOMAssetNtwkHndovrIsRelevant stko bom_ain_ind Relevant for BOM to AIN Handover

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_BillOfMaterialItemDEX.
-- 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: IBOMITEMDEX

CREATE VIEW I_BillOfMaterialItemDEX AS
SELECT
  stpo.stlty AS BillOfMaterialCategory,
  cast(stpo.stlnr as char8 preserving type ) AS BillOfMaterial,
  stas.stlal AS BillOfMaterialVariant,
  stas.stlkn AS BillOfMaterialItemNodeNumber,
  stpo.guidx AS BillOfMaterialItemUUID,
  stpo.stpoz AS BOMItemInternalChangeCount,
  stas.stvkn AS InheritedNodeNumberForBOMItem,
  stpo.stvkn_versn AS InheritedNodeNumberVersionBOM,
  stas.bom_versn AS BillOfMaterialVersion,
  stpo.datuv AS ValidityStartDate,
  stpo.andat AS BOMItemRecordCreationDate,
  stpo.annam AS BOMItemCreatedByUser,
  stpo.aedat AS BOMItemLastChangeDate,
  stpo.aenam AS BOMItemLastChangedByUser,
  stpo.idnrk AS BillOfMaterialComponent,
  stpo.postp AS BillOfMaterialItemCategory,
  cast(stpo.posnr as char4 preserving type ) AS BillOfMaterialItemNumber,
  stpo.meins AS BillOfMaterialItemUnit,
  stpo.menge AS BillOfMaterialItemQuantity,
  stpo.upskz AS IsSubItem,
  stpo.sortf AS BOMItemSorter,
  stpo.ekgrp AS PurchasingGroup,
  stpo.waers AS Currency,
  stpo.preis AS MaterialComponentPrice,
  case when ( stpo.itmid is null or stpo.itmid = '') then stpo.stvkn else stpo.itmid end as IdentifierBOMItem AS itmidendasIdentifierBOMItem,
  stpo.peinh AS MaterialPriceUnitQty,
  stpo.ausch AS ComponentScrapInPercent,
  stpo.avoau AS OperationScrapInPercent,
  stpo.netau AS IsNetScrap,
  stpo.rform AS FormulaKey,
  stpo.potx1 AS BOMItemDescription,
  stpo.potx2 AS BOMItemText2,
  stpo.ltxsp AS LongTextLanguage,
  stpo.matkl AS MaterialGroup,
  stpo.dokar AS DocumentType,
  stpo.doknr AS DocNumber,
  stpo.dokvr AS DocumentVersion,
  stpo.doktl AS DocumentPart,
  stpo.class AS ClassNumber,
  stpo.klart AS ClassType,
  stpo.potpr AS ResultingItemCategory,
  stpo.knobj AS DependencyObjectNumber,
  stpo.objty AS ObjectType,
  stpo.kzclb AS IsClassificationRelevant,
  stpo.schgt AS IsBulkMaterial,
  stpo.erskz AS BOMItemIsSparePart,
  stpo.rvrel AS BOMItemIsSalesRelevant,
  stpo.sanfe AS IsProductionRelevant,
  stpo.sanin AS BOMItemIsPlantMaintRelevant,
  stpo.sanka AS BOMItemIsCostingRelevant,
  stpo.sanko AS IsEngineeringRelevant,
  stpo.itsob AS SpecialProcurementType,
  stpo.rekrs AS IsBOMRecursiveAllowed,
  stpo.nlfzv AS OperationLeadTimeOffset,
  stpo.nlfmv AS OpsLeadTimeOffsetUnit,
  stpo.beikz AS IsMaterialProvision,
  stpo.rekri AS BOMIsRecursive,
  stpo.cadpo AS DocumentIsCreatedByCAD,
  stpo.verti AS DistrKeyCompConsumption,
  stpo.lifzt AS DeliveryDurationInDays,
  stpo.sakto AS CostElement,
  stpo.roms1 AS Size1,
  stpo.roms2 AS Size2,
  stpo.roms3 AS Size3,
  stpo.romei AS UnitOfMeasureForSize1To3,
  stpo.webaz AS GoodsReceiptDuration,
  stpo.ekorg AS PurchasingOrganization,
  stpo.clobk AS RequiredComponent,
  stpo.clmul AS MultipleSelectionAllowed,
  stpo.lgort AS ProdOrderIssueLocation,
  stpo.kzkup AS MaterialIsCoProduct,
  stpo.dspst AS ExplosionType,
  stpo.nfgrp AS FollowUpGroup,
  stpo.nfeag AS DiscontinuationGroup,
  stpo.cview AS ReinsurContrOrgUnit,
  stpo.awakz AS IsConfigurableBOM,
  stpo.rfpnt AS ReferencePoint,
  stpo.nlfzt AS LeadTimeOffset,
  stpo.sfwind AS IsSoftwareComponent,
  stpo.prvbe AS ProductionSupplyArea,
  stpo.lkenz AS IsDeleted,
  stpo.alekz AS IsALE,
  stpo.alpgr AS AlternativeItemGroup,
  stpo.alprf AS AlternativeItemPriority,
  stpo.alpst AS AlternativeItemStrategy,
  stpo.ewahr AS UsageProbabilityPercent,
  stpo.stkkz AS IsPMAssemblyRelevant,
  cast(' ' as xfeld preserving type) AS IsAssembly,
  stpo.kstty AS OrigSalesOrderBOMItmCategory,
  stpo.kstkn AS OrigSalesOrderBOMItmNodeNumber,
  stpo.kstpz AS OrigSalesOrderBOMItmNumber,
  stpo.preliminary_material AS PreliminaryMaterial,
  stzu.stlan AS HeadBillOfMaterialVariantUsage,
  stko.stkoz AS BOMHeaderInternalChangeCount,
  stko.labor AS LaboratoryOrDesignOffice,
  cast('' as cslid ) AS BOMPrioritizedVersion,
  cast('PP01' as capid) AS BOMExplosionApplication,
  cast('' as x415a) AS IsMultipleBOMAlt,
  cast('' as cslpr) AS BOMUsagePriority,
  stzu.stlbe AS BillOfMaterialAuthsnGrp,
  stzu.kbaus AS BOMIsConfigurable,
  stzu.kbaus AS IsConfiguredMaterial,
  stzu.versnind AS IsVersionBillOfMaterial,
  case when stzu.altst = 'X' then 'M' when stzu.varst = 'X' then 'V' else ' ' end as BOMTechnicalType AS varstXthenVelseendasBOMTechnicalType,
  stzu.ztext AS BOMHeaderText,
  stzu.exstl AS BOMGroup,
  stzu.hisdt AS IndicatorIsBOMWithDateHistory,
  stzu.histk AS IndicatorIsBOMChangedWithHist,
  stko.stktx AS BOMAlternativeText,
  stko.stlst AS BillOfMaterialStatus,
  stko.datuv AS HeaderValidityStartDate,
  stko.aennr AS HeaderEngineeringChgNmbrDoc,
  stko.lkenz AS DeletionIndicator,
  stko.loekz AS BOMIsArchivedForDeletion,
  stko.bmein AS BOMHeaderBaseUnit,
  stko.bmeng AS BOMHeaderQuantityInBaseUnit,
  stko.andat AS RecordCreationDate,
  stko.aedat AS LastChangeDate,
  stko.annam AS CreatedByUser,
  stko.aenam AS LastChangedByUser,
  tcs03.dlhnd AS BOMIsToBeDeleted,
  stko.bom_prev_versn AS BOMPredecessorVersion,
  stko.versnst AS BOMVersionStatus,
  stko.versnlastind AS IsLatestBOMVersion,
  stko.bom_ain_ind AS BOMAssetNtwkHndovrIsRelevant
FROM stpo
INNER JOIN stas ON /* join condition not captured in parsed metadata */
INNER JOIN tcs03 ON /* join condition not captured in parsed metadata */
;