I_BillOfMaterialHeaderDEX

DDL: I_BILLOFMATERIALHEADERDEX SQL: IBOMHEADERDEX Type: view BASIC Package: CS_MODEL

Data Extraction BOM Header

I_BillOfMaterialHeaderDEX (Basic)

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

Bill Of Material · R&D Engineering

I_BillOfMaterialHeaderDEX is a Basic CDS View (Fact) that provides data about "Data Extraction BOM Header" in SAP S/4HANA. It reads from 1 data source (P_Bom_Header_Determine) and exposes 46 fields with key fields BillOfMaterialCategory, BillOfMaterial, BillOfMaterialVariant, BillOfMaterialVariantUsage, BOMHeaderInternalChangeCount. It has 1 association to related views. Part of development package CS_MODEL.

SAP API Hub

CategoryBasic
StateDeprecated
Line of BusinessR&D Engineering
Application ComponentLO-MD-BOM-2CL
CapabilitiesData Source for Data Extraction,Data Source in SQL Select,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageR&D/Engineering for SAP S/4HANA Cloud Public Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
P_Bom_Header_Determine bomHeader from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_BillOfMaterialUsage _BillOfMaterialUsage $projection.BillOfMaterialVariantUsage = _BillOfMaterialUsage.BillOfMaterialVariantUsage and _BillOfMaterialUsage.Language = $session.system_language

Annotations (20)

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

Fields (46)

KeyFieldSource TableSource FieldDescription
KEY BillOfMaterialCategory P_Bom_Header_Determine BillOfMaterialCategory BOM category
BillOfMaterial Bill of Material
KEY BillOfMaterial Bill of Material
KEY BillOfMaterialVariant P_Bom_Header_Determine BillOfMaterialVariant Alternative BOM
KEY BillOfMaterialVariantUsage P_Bom_Header_Determine BillOfMaterialVariantUsage BOM Usage
KEY BOMHeaderInternalChangeCount P_Bom_Header_Determine BOMHeaderInternalChangeCount Internal counter
KEY BillOfMaterialVersion P_Bom_Header_Determine BillOfMaterialVersion BOM Version
guidx
DocumentIsCreatedByCAD P_Bom_Header_Determine DocumentIsCreatedByCAD CAD Indicator
LaboratoryOrDesignOffice P_Bom_Header_Determine LaboratoryOrDesignOffice Laboratory/Design Office
BOMExplosionApplication Application
IsMultipleBOMAlt Indicator: alternative determination for multiple BOMs
BOMUsagePriority CIM priority for selection ID
BOMIsConfigurable P_Bom_Header_Determine BOMIsConfigurable Indicator: configurable BOM
IsConfiguredMaterial P_Bom_Header_Determine IsConfiguredMaterial Indicator: configurable BOM
IsVersionBillOfMaterial P_Bom_Header_Determine IsVersionBillOfMaterial Indicator: Relevant for Versioning
BOMTechnicalType P_Bom_Header_Determine BOMTechnicalType Tech type
BOMHeaderText P_Bom_Header_Determine BOMHeaderText BOM Description
LongTextLanguage P_Bom_Header_Determine LongTextLanguage Long Text Language, for Creation of a Change Document
BOMGroup P_Bom_Header_Determine BOMGroup BOM group
IndicatorIsBOMWithDateHistory P_Bom_Header_Determine IndicatorIsBOMWithDateHistory Indicator: BOM with history (date)
IndicatorIsBOMChangedWithHist
BOMAlternativeText P_Bom_Header_Determine BOMAlternativeText Alternative BOM Text
BillOfMaterialStatus P_Bom_Header_Determine BillOfMaterialStatus Bill of Material Status
HeaderValidityEndDate P_Bom_Header_Determine HeaderValidityEndDate Valid-to date
HeaderEngineeringChgNmbrDoc P_Bom_Header_Determine HeaderEngineeringChgNmbrDoc Change Number
ChangeNumberTo
DeletionIndicator P_Bom_Header_Determine DeletionIndicator Deletion Indicator
BOMIsArchivedForDeletion P_Bom_Header_Determine BOMIsArchivedForDeletion Deletion flag for BOMs
DeletionIndicatorBom
IsALE P_Bom_Header_Determine IsALE ALE indicator
BOMHeaderBaseUnit P_Bom_Header_Determine BOMHeaderBaseUnit Base Unit of Measure for BOM
BOMHeaderQuantityInBaseUnit P_Bom_Header_Determine BOMHeaderQuantityInBaseUnit Base quantity
RecordCreationDate P_Bom_Header_Determine RecordCreationDate Date Record Created On
LastChangeDate P_Bom_Header_Determine LastChangeDate Last Changed On
CreatedByUser P_Bom_Header_Determine CreatedByUser User Who Created Record
LastChangedByUser P_Bom_Header_Determine LastChangedByUser Name of Person Who Changed Object
BOMIsToBeDeleted
BOMPredecessorVersion P_Bom_Header_Determine BOMPredecessorVersion Predecessor Version of BOM
BOMVersionStatus P_Bom_Header_Determine BOMVersionStatus BOM Version Status
IsLatestBOMVersion P_Bom_Header_Determine IsLatestBOMVersion Indicator: Latest Released BOM Version
BOMOrBOMAltvCrtedInPlnt P_Bom_Header_Determine BOMOrBOMAltvCrtedInPlnt Plant where BOM or alternative/variant created
IsBOMVersionInactive
LastChangeDateTime P_Bom_Header_Determine LastChangeDateTime UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
BOMAssetNtwkHndovrIsRelevant P_Bom_Header_Determine BOMAssetNtwkHndovrIsRelevant Relevant for BOM to AIN Handover
_BillOfMaterialUsage _BillOfMaterialUsage

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_BillOfMaterialHeaderDEX.
-- 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: IBOMHEADERDEX

CREATE VIEW I_BillOfMaterialHeaderDEX AS
SELECT
  bomHeader.BillOfMaterialCategory AS BillOfMaterialCategory,
  cast(bomHeader.BillOfMaterial as cs_stlnr preserving type ) AS BillOfMaterial,
  bomHeader.BillOfMaterialVariant AS BillOfMaterialVariant,
  bomHeader.BillOfMaterialVariantUsage AS BillOfMaterialVariantUsage,
  bomHeader.BOMHeaderInternalChangeCount AS BOMHeaderInternalChangeCount,
  bomHeader.BillOfMaterialVersion AS BillOfMaterialVersion,
  bomHeader.DocumentIsCreatedByCAD AS DocumentIsCreatedByCAD,
  bomHeader.LaboratoryOrDesignOffice AS LaboratoryOrDesignOffice,
  cast('PP01' as capid) AS BOMExplosionApplication,
  cast('' as x415a) AS IsMultipleBOMAlt,
  cast('' as cslpr) AS BOMUsagePriority,
  bomHeader.BOMIsConfigurable AS BOMIsConfigurable,
  bomHeader.IsConfiguredMaterial AS IsConfiguredMaterial,
  bomHeader.IsVersionBillOfMaterial AS IsVersionBillOfMaterial,
  bomHeader.BOMTechnicalType AS BOMTechnicalType,
  bomHeader.BOMHeaderText AS BOMHeaderText,
  bomHeader.LongTextLanguage AS LongTextLanguage,
  bomHeader.BOMGroup AS BOMGroup,
  bomHeader.IndicatorIsBOMWithDateHistory AS IndicatorIsBOMWithDateHistory,
  bomHeader.BOMAlternativeText AS BOMAlternativeText,
  bomHeader.BillOfMaterialStatus AS BillOfMaterialStatus,
  bomHeader.HeaderValidityEndDate AS HeaderValidityEndDate,
  bomHeader.HeaderEngineeringChgNmbrDoc AS HeaderEngineeringChgNmbrDoc,
  bomHeader.DeletionIndicator AS DeletionIndicator,
  bomHeader.BOMIsArchivedForDeletion AS BOMIsArchivedForDeletion,
  bomHeader.IsALE AS IsALE,
  bomHeader.BOMHeaderBaseUnit AS BOMHeaderBaseUnit,
  bomHeader.BOMHeaderQuantityInBaseUnit AS BOMHeaderQuantityInBaseUnit,
  bomHeader.RecordCreationDate AS RecordCreationDate,
  bomHeader.LastChangeDate AS LastChangeDate,
  bomHeader.CreatedByUser AS CreatedByUser,
  bomHeader.LastChangedByUser AS LastChangedByUser,
  bomHeader.BOMPredecessorVersion AS BOMPredecessorVersion,
  bomHeader.BOMVersionStatus AS BOMVersionStatus,
  bomHeader.IsLatestBOMVersion AS IsLatestBOMVersion,
  bomHeader.BOMOrBOMAltvCrtedInPlnt AS BOMOrBOMAltvCrtedInPlnt,
  bomHeader.LastChangeDateTime AS LastChangeDateTime,
  bomHeader.BOMAssetNtwkHndovrIsRelevant AS BOMAssetNtwkHndovrIsRelevant
FROM P_Bom_Header_Determine AS bomHeader
LEFT OUTER JOIN I_BillOfMaterialUsage AS _BillOfMaterialUsage ON BillOfMaterialVariantUsage = _BillOfMaterialUsage.BillOfMaterialVariantUsage AND _BillOfMaterialUsage.Language = $session.system_language  -- association [0..1]
;