P_BOMComponentsWithKeyDate

DDL: P_BOMCOMPONENTSWITHKEYDATE SQL: PBOMCOMPWITHDATE Type: view COMPOSITE Package: CS_MODEL

Get Valid BOM Items for BOM Header

P_BOMComponentsWithKeyDate is a Composite CDS View that provides data about "Get Valid BOM Items for BOM Header" in SAP S/4HANA. It reads from 1 data source (P_BOMItems) and exposes 95 fields with key fields BillOfMaterialCategory, BillOfMaterial, BillOfMaterialVariant, BillOfMaterialItemNodeNumber, BillOfMaterialVersion. Part of development package CS_MODEL.

Data Sources (1)

SourceAliasJoin Type
P_BOMItems valid_items from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PBOMCOMPWITHDATE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (95)

KeyFieldSource TableSource FieldDescription
KEY BillOfMaterialCategory P_BOMItems BillOfMaterialCategory BOM category
KEY BillOfMaterial P_BOMItems BillOfMaterial BOM
KEY BillOfMaterialVariant P_BOMItems BillOfMaterialVariant AlternativeBOM
KEY BillOfMaterialItemNodeNumber P_BOMItems BillOfMaterialItemNodeNumber Item node
KEY BillOfMaterialVersion P_BOMItems BillOfMaterialVersion BOM Version
KEY BOMItemInternalChangeCount P_BOMItems BOMItemInternalChangeCount Counter
ValidityStartDate P_BOMItems ValidityStartDate Validity Start Date
ValidityEndDate P_BOMItems ValidityEndDate ValidTo
EngineeringChangeDocument P_BOMItems ChangeNumberFrom Change Number
ChgToEngineeringChgDocument P_BOMItems ChangeNumberTo Change No. To
InheritedNodeNumberForBOMItem P_BOMItems InheritedNodeNumberForBOMItem Nodes
InheritedNodeNumberVersionBOM P_BOMItems InheritedNodeNumberVersionBOM Item node
BOMItemRecordCreationDate P_BOMItems BOMItemRecordCreationDate Created On
BOMItemCreatedByUser P_BOMItems BOMItemCreatedByUser Created by
BOMItemLastChangeDate P_BOMItems BOMItemLastChangeDate Changed On
BOMItemLastChangedByUser P_BOMItems BOMItemLastChangedByUser Changed By
BillOfMaterialComponent P_BOMItems BillOfMaterialComponent Component
BillOfMaterialItemCategory P_BOMItems BillOfMaterialItemCategory Item Category
BillOfMaterialItemNumber P_BOMItems BillOfMaterialItemNumber Item
BillOfMaterialItemUnit P_BOMItems BillOfMaterialItemUnit Component UoM
BillOfMaterialItemQuantity P_BOMItems BillOfMaterialItemQuantity Quantity
IsAssembly P_BOMItems IsAssembly Single-Character Flag
IsSubItem P_BOMItems IsSubItem Sub-item ID
BOMItemSorter P_BOMItems BOMItemSorter Sort String
FixedQuantity P_BOMItems FixedQuantity Fixed Quantity
BOMItemHasFixedQuantity P_BOMItems BOMItemHasFixedQuantity Fixed Quantity
PurchasingGroup P_BOMItems PurchasingGroup Purchasing Group
Currency P_BOMItems Currency Valuation Crcy
MaterialComponentPrice P_BOMItems MaterialComponentPrice Price
IdentifierBOMItem P_BOMItems IdentifierBOMItem Item ID
MaterialPriceUnitQty P_BOMItems MaterialPriceUnitQty Price unit
ComponentScrapInPercent P_BOMItems ComponentScrapInPercent Component Scrap
OperationScrapInPercent P_BOMItems OperationScrapInPercent Operation Scrap
IsNetScrap P_BOMItems IsNetScrap Net Indicator
NumberOfVariableSizeItem P_BOMItems NumberOfVariableSizeItem Number Required
QuantityVariableSizeItem P_BOMItems QuantityVariableSizeItem VSI Quantity
FormulaKey P_BOMItems FormulaKey VSI Formula
BOMItemDescription P_BOMItems BOMItemDescription Item Text
BOMItemText2 P_BOMItems BOMItemText2 Item Text
MaterialGroup P_BOMItems MaterialGroup Product Group
DocumentType P_BOMItems DocumentType Order Type
DocNumber P_BOMItems DocNumber Document Number
DocumentVersion P_BOMItems DocumentVersion Docu. Version
DocumentPart P_BOMItems DocumentPart Document Part
ClassNumber P_BOMItems ClassNumber Class
ClassType P_BOMItems ClassType X Flag
ResultingItemCategory P_BOMItems ResultingItemCategory Res. item cat.
DependencyObjectNumber P_BOMItems DependencyObjectNumber Assgmt no.
ObjectType P_BOMItems ObjectType Type
IsClassificationRelevant P_BOMItems IsClassificationRelevant as sel. cond.
IsBulkMaterial P_BOMItems IsBulkMaterial Bulk material
BOMItemIsSparePart P_BOMItems BOMItemIsSparePart Spare Part ID
BOMItemIsSalesRelevant P_BOMItems BOMItemIsSalesRelevant Sales
IsProductionRelevant P_BOMItems IsProductionRelevant Production
BOMItemIsPlantMaintRelevant P_BOMItems BOMItemIsPlantMaintRelevant Plant maint.
BOMItemIsCostingRelevant P_BOMItems BOMItemIsCostingRelevant CostingRelevncy
IsEngineeringRelevant P_BOMItems IsEngineeringRelevant Engineering
SpecialProcurementType P_BOMItems SpecialProcurementType SpecProcurement
IsBOMRecursiveAllowed P_BOMItems IsBOMRecursiveAllowed Rec. allowed
OperationLeadTimeOffset P_BOMItems OperationLeadTimeOffset Oper. LT offset
OpsLeadTimeOffsetUnit P_BOMItems OpsLeadTimeOffsetUnit Oper. LTO unit
IsMaterialProvision P_BOMItems IsMaterialProvision Mat. Prov. Ind.
BOMIsRecursive P_BOMItems BOMIsRecursive Recursive
DocumentIsCreatedByCAD P_BOMItems DocumentIsCreatedByCAD CAD Indicator
DistrKeyCompConsumption P_BOMItems DistrKeyCompConsumption Distribution
DeliveryDurationInDays P_BOMItems DeliveryDurationInDays Del time (days)
Creditor P_BOMItems Creditor Supplier
CostElement P_BOMItems CostElement G/L Account
Size1 P_BOMItems Size1 Size 1
Size2 P_BOMItems Size2 Size 2
Size3 P_BOMItems Size3 Size 3
UnitOfMeasureForSize1To3 P_BOMItems UnitOfMeasureForSize1To3 Size unit
GoodsReceiptDuration P_BOMItems GoodsReceiptDuration GR proc. time
PurchasingOrganization P_BOMItems PurchasingOrganization Purchasing Organization
RequiredComponent P_BOMItems RequiredComponent Reqd Component
MultipleSelectionAllowed P_BOMItems MultipleSelectionAllowed Multiple Sel.
ProdOrderIssueLocation P_BOMItems ProdOrderIssueLocation StorageLocation
MaterialIsCoProduct P_BOMItems MaterialIsCoProduct Co-product
ExplosionType P_BOMItems ExplosionType Explosion type
FollowUpGroup P_BOMItems FollowUpGroup Follow-up group
DiscontinuationGroup P_BOMItems DiscontinuationGroup Discont. group
IsConfigurableBOM P_BOMItems IsConfigurableBOM Sel. ind.
ReferencePoint P_BOMItems ReferencePoint Reference point
LeadTimeOffset P_BOMItems LeadTimeOffset Lead-tm offset
IsSoftwareComponent P_BOMItems IsSoftwareComponent Software component
ProductionSupplyArea P_BOMItems ProductionSupplyArea Supply Area
IsDeleted P_BOMItems IsDeleted TRUE
IsALE P_BOMItems IsALE ALE indicator
UnitOfMeasureForVarSizeItem P_BOMItems UnitOfMeasureForVarSizeItem VSI unit
AlternativeItemGroup P_BOMItems AlternativeItemGroup AltItemGroup
AlternativeItemPriority P_BOMItems AlternativeItemPriority Priority
AlternativeItemStrategy P_BOMItems AlternativeItemStrategy Strategy
UsageProbabilityPercent P_BOMItems UsageProbabilityPercent Usage Prob.
IsPhantomItem P_BOMItems IsPhantomItem Phantom item
LastChangeDateTime P_BOMItems LastChangeDateTime Timestamp

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 P_BOMComponentsWithKeyDate.
-- 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: PBOMCOMPWITHDATE

CREATE VIEW P_BOMComponentsWithKeyDate AS
SELECT
  valid_items.BillOfMaterialCategory AS BillOfMaterialCategory,
  valid_items.BillOfMaterial AS BillOfMaterial,
  valid_items.BillOfMaterialVariant AS BillOfMaterialVariant,
  valid_items.BillOfMaterialItemNodeNumber AS BillOfMaterialItemNodeNumber,
  valid_items.BillOfMaterialVersion AS BillOfMaterialVersion,
  valid_items.BOMItemInternalChangeCount AS BOMItemInternalChangeCount,
  valid_items.ValidityStartDate AS ValidityStartDate,
  valid_items.ValidityEndDate AS ValidityEndDate,
  valid_items.ChangeNumberFrom AS EngineeringChangeDocument,
  valid_items.ChangeNumberTo AS ChgToEngineeringChgDocument,
  valid_items.InheritedNodeNumberForBOMItem AS InheritedNodeNumberForBOMItem,
  valid_items.InheritedNodeNumberVersionBOM AS InheritedNodeNumberVersionBOM,
  valid_items.BOMItemRecordCreationDate AS BOMItemRecordCreationDate,
  valid_items.BOMItemCreatedByUser AS BOMItemCreatedByUser,
  valid_items.BOMItemLastChangeDate AS BOMItemLastChangeDate,
  valid_items.BOMItemLastChangedByUser AS BOMItemLastChangedByUser,
  valid_items.BillOfMaterialComponent AS BillOfMaterialComponent,
  valid_items.BillOfMaterialItemCategory AS BillOfMaterialItemCategory,
  valid_items.BillOfMaterialItemNumber AS BillOfMaterialItemNumber,
  valid_items.BillOfMaterialItemUnit AS BillOfMaterialItemUnit,
  valid_items.BillOfMaterialItemQuantity AS BillOfMaterialItemQuantity,
  valid_items.IsAssembly AS IsAssembly,
  valid_items.IsSubItem AS IsSubItem,
  valid_items.BOMItemSorter AS BOMItemSorter,
  valid_items.FixedQuantity AS FixedQuantity,
  valid_items.BOMItemHasFixedQuantity AS BOMItemHasFixedQuantity,
  valid_items.PurchasingGroup AS PurchasingGroup,
  valid_items.Currency AS Currency,
  valid_items.MaterialComponentPrice AS MaterialComponentPrice,
  valid_items.IdentifierBOMItem AS IdentifierBOMItem,
  valid_items.MaterialPriceUnitQty AS MaterialPriceUnitQty,
  valid_items.ComponentScrapInPercent AS ComponentScrapInPercent,
  valid_items.OperationScrapInPercent AS OperationScrapInPercent,
  valid_items.IsNetScrap AS IsNetScrap,
  valid_items.NumberOfVariableSizeItem AS NumberOfVariableSizeItem,
  valid_items.QuantityVariableSizeItem AS QuantityVariableSizeItem,
  valid_items.FormulaKey AS FormulaKey,
  valid_items.BOMItemDescription AS BOMItemDescription,
  valid_items.BOMItemText2 AS BOMItemText2,
  valid_items.MaterialGroup AS MaterialGroup,
  valid_items.DocumentType AS DocumentType,
  valid_items.DocNumber AS DocNumber,
  valid_items.DocumentVersion AS DocumentVersion,
  valid_items.DocumentPart AS DocumentPart,
  valid_items.ClassNumber AS ClassNumber,
  valid_items.ClassType AS ClassType,
  valid_items.ResultingItemCategory AS ResultingItemCategory,
  valid_items.DependencyObjectNumber AS DependencyObjectNumber,
  valid_items.ObjectType AS ObjectType,
  valid_items.IsClassificationRelevant AS IsClassificationRelevant,
  valid_items.IsBulkMaterial AS IsBulkMaterial,
  valid_items.BOMItemIsSparePart AS BOMItemIsSparePart,
  valid_items.BOMItemIsSalesRelevant AS BOMItemIsSalesRelevant,
  valid_items.IsProductionRelevant AS IsProductionRelevant,
  valid_items.BOMItemIsPlantMaintRelevant AS BOMItemIsPlantMaintRelevant,
  valid_items.BOMItemIsCostingRelevant AS BOMItemIsCostingRelevant,
  valid_items.IsEngineeringRelevant AS IsEngineeringRelevant,
  valid_items.SpecialProcurementType AS SpecialProcurementType,
  valid_items.IsBOMRecursiveAllowed AS IsBOMRecursiveAllowed,
  valid_items.OperationLeadTimeOffset AS OperationLeadTimeOffset,
  valid_items.OpsLeadTimeOffsetUnit AS OpsLeadTimeOffsetUnit,
  valid_items.IsMaterialProvision AS IsMaterialProvision,
  valid_items.BOMIsRecursive AS BOMIsRecursive,
  valid_items.DocumentIsCreatedByCAD AS DocumentIsCreatedByCAD,
  valid_items.DistrKeyCompConsumption AS DistrKeyCompConsumption,
  valid_items.DeliveryDurationInDays AS DeliveryDurationInDays,
  valid_items.Creditor AS Creditor,
  valid_items.CostElement AS CostElement,
  valid_items.Size1 AS Size1,
  valid_items.Size2 AS Size2,
  valid_items.Size3 AS Size3,
  valid_items.UnitOfMeasureForSize1To3 AS UnitOfMeasureForSize1To3,
  valid_items.GoodsReceiptDuration AS GoodsReceiptDuration,
  valid_items.PurchasingOrganization AS PurchasingOrganization,
  valid_items.RequiredComponent AS RequiredComponent,
  valid_items.MultipleSelectionAllowed AS MultipleSelectionAllowed,
  valid_items.ProdOrderIssueLocation AS ProdOrderIssueLocation,
  valid_items.MaterialIsCoProduct AS MaterialIsCoProduct,
  valid_items.ExplosionType AS ExplosionType,
  valid_items.FollowUpGroup AS FollowUpGroup,
  valid_items.DiscontinuationGroup AS DiscontinuationGroup,
  valid_items.IsConfigurableBOM AS IsConfigurableBOM,
  valid_items.ReferencePoint AS ReferencePoint,
  valid_items.LeadTimeOffset AS LeadTimeOffset,
  valid_items.IsSoftwareComponent AS IsSoftwareComponent,
  valid_items.ProductionSupplyArea AS ProductionSupplyArea,
  valid_items.IsDeleted AS IsDeleted,
  valid_items.IsALE AS IsALE,
  valid_items.UnitOfMeasureForVarSizeItem AS UnitOfMeasureForVarSizeItem,
  valid_items.AlternativeItemGroup AS AlternativeItemGroup,
  valid_items.AlternativeItemPriority AS AlternativeItemPriority,
  valid_items.AlternativeItemStrategy AS AlternativeItemStrategy,
  valid_items.UsageProbabilityPercent AS UsageProbabilityPercent,
  valid_items.IsPhantomItem AS IsPhantomItem,
  valid_items.LastChangeDateTime AS LastChangeDateTime
FROM P_BOMItems AS valid_items
;