I_BillOfMaterialComponent

DDL: I_BILLOFMATERIALCOMPONENT SQL: IBOMCOMPS Type: view COMPOSITE Package: CS_MODEL

Bill of Material Components

I_BillOfMaterialComponent is a Composite CDS View that provides data about "Bill of Material Components" in SAP S/4HANA. It reads from 1 data source (P_BOMItems) and exposes 114 fields with key fields BillOfMaterialCategory, BillOfMaterial, BillOfMaterialVariant, BillOfMaterialItemNodeNumber, BillOfMaterialItemUUID. It has 17 associations to related views. Part of development package CS_MODEL.

Data Sources (1)

SourceAliasJoin Type
P_BOMItems valid_items from

Associations (17)

CardinalityTargetAliasCondition
[1..1] I_BillOfMaterialItemCategory _BOMItemCategory $projection.BillOfMaterialItemCategory = _BOMItemCategory.BillOfMaterialItemCategory
[0..1] I_BomItemCategoryText _BOMItemCategoryText $projection.BillOfMaterialItemCategory = _BOMItemCategoryText.BillOfMaterialItemCategory and _BOMItemCategoryText.Language = $session.system_language
[1..1] I_UnitOfMeasure _UnitOfMeasure $projection.BillOfMaterialItemUnit = _UnitOfMeasure.UnitOfMeasure
[1..1] I_Currency _Currency $projection.Currency = _Currency.Currency
[0..*] I_MaterialBOMLink _Mast $projection.BillOfMaterialCategory = _Mast.BillOfMaterialCategory and $projection.BillOfMaterial = _Mast.BillOfMaterial and $projection.BillOfMaterialVariant = _Mast.BillOfMaterialVariant
[0..1] I_DocumentBOMLink _Dost $projection.BillOfMaterialCategory = _Dost.BillOfMaterialCategory and $projection.BillOfMaterial = _Dost.BillOfMaterial and $projection.BillOfMaterialVariant = _Dost.BillOfMaterialVariant
[0..1] I_Prst _Prst $projection.BillOfMaterialCategory = _Prst.BillOfMaterialCategory and $projection.BillOfMaterial = _Prst.BillOfMaterial and $projection.BillOfMaterialVariant = _Prst.BillOfMaterialVariant
[0..1] I_SalesOrderBOMLink _Kdst $projection.BillOfMaterialCategory = _Kdst.BillOfMaterialCategory and $projection.BillOfMaterial = _Kdst.BillOfMaterial and $projection.BillOfMaterialVariant = _Kdst.BillOfMaterialVariant
[0..1] I_EquipmentBOMLink _Eqst $projection.BillOfMaterialCategory = _Eqst.BillOfMaterialCategory and $projection.BillOfMaterial = _Eqst.BillOfMaterial and $projection.BillOfMaterialVariant = _Eqst.BillOfMaterialVariant
[0..1] I_Tpst _Tpst $projection.BillOfMaterialCategory = _Tpst.BillOfMaterialCategory and $projection.BillOfMaterial = _Tpst.BillOfMaterial and $projection.BillOfMaterialVariant = _Tpst.BillOfMaterialVariant
[0..1] I_Stst _Stst $projection.BillOfMaterialCategory = _Stst.BillOfMaterialCategory and $projection.BillOfMaterial = _Stst.BillOfMaterial and $projection.BillOfMaterialVariant = _Stst.BillOfMaterialVariant
[0..1] I_Material _Material $projection.BillOfMaterialComponent = _Material.Material
[0..1] I_MaterialText _MaterialText $projection.BillOfMaterialComponent = _MaterialText.Material and _MaterialText.Language = $session.system_language
[0..1] I_MaterialText _MaterialTextEN $projection.BillOfMaterialComponent = _MaterialTextEN.Material and _MaterialTextEN.Language = 'E'
[0..1] I_DocumentInfoRecordDesc _DocumentText $projection.DocumentType = _DocumentText.DocumentInfoRecordDocType and $projection.DocNumber = _DocumentText.DocumentInfoRecordDocNumber and $projection.DocumentPart = _DocumentText.DocumentInfoRecordDocPart and $projection.DocumentVersion = _DocumentText.DocumentInfoRecordDocVersion and _DocumentText.Language = $session.system_language
[0..1] I_DocumentInfoRecordDesc _DocumentTextEN $projection.DocumentType = _DocumentTextEN.DocumentInfoRecordDocType and $projection.DocNumber = _DocumentTextEN.DocumentInfoRecordDocNumber and $projection.DocumentPart = _DocumentTextEN.DocumentInfoRecordDocPart and $projection.DocumentVersion = _DocumentTextEN.DocumentInfoRecordDocVersion and _DocumentTextEN.Language = 'E'
[0..1] I_ClfnClassVH _Class $projection.ClassNumber = _Class.Class and $projection.ClassType = _Class.ClassType

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IBOMCOMPS view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Bill of Material Components view
ObjectModel.createEnabled true view
Search.searchable false view
AbapCatalog.preserveKey true view

Fields (114)

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 BillOfMaterialItemUUID P_BOMItems BillOfMaterialItemUUID Guid
BOMItemInternalChangeCount
BillOfMaterialVersion P_BOMItems BillOfMaterialVersion BOM Version
ValidityStartDate P_BOMItems ValidityStartDate Validity Start Date
ValidityEndDate P_BOMItems ValidityEndDate ValidTo
EngineeringChangeDocument P_BOMItems ChangeNumberFrom Change Number
ChgToEngineeringChgDocument
InheritedNodeNumberForBOMItem P_BOMItems InheritedNodeNumberForBOMItem Nodes
InheritedNodeNumberVersionBOM P_BOMItems InheritedNodeNumberVersionBOM Item node
BOMItemRecordCreationDate
BOMItemCreatedByUser P_BOMItems BOMItemCreatedByUser Created by
BOMItemLastChangeDate P_BOMItems BOMItemLastChangeDate Changed On
BOMItemLastChangedByUser P_BOMItems BOMItemLastChangedByUser Changed By
BillOfMaterialComponent P_BOMItems BillOfMaterialComponent Component
MaterialName
BillOfMaterialItemCategory P_BOMItems BillOfMaterialItemCategory Item Category
BillOfMaterialItemNumber P_BOMItems BillOfMaterialItemNumber Item
IsAssembly
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
UnitOfMeasureForVarSizeItem P_BOMItems UnitOfMeasureForVarSizeItem VSI unit
FormulaKey P_BOMItems FormulaKey VSI Formula
BOMItemDescription P_BOMItems BOMItemDescription Item Text
BOMItemText2 P_BOMItems BOMItemText2 Item Text
LongTextLanguage P_BOMItems LongTextLanguage Long Text Lang
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
AlternativeItemGroup P_BOMItems AlternativeItemGroup AltItemGroup
AlternativeItemPriority P_BOMItems AlternativeItemPriority Priority
AlternativeItemStrategy P_BOMItems AlternativeItemStrategy Strategy
UsageProbabilityPercent P_BOMItems UsageProbabilityPercent Usage Prob.
BillOfMaterialItemCategoryDesc _BOMItemCategoryText BillOfMaterialItemCategoryDesc Item Category
MaterialComponentIsPhantomItem
IsPhantomItem
LastChangeDateTime P_BOMItems LastChangeDateTime Timestamp
IsPMAssemblyRelevant P_BOMItems IsPMAssemblyRelevant PM assembly
OrigSalesOrderBOMItmCategory P_BOMItems OrigSalesOrderBOMItmCategory BOM category
OrigSalesOrderBOM P_BOMItems OrigSalesOrderBOM BOM
OrigSalesOrderBOMItmNodeNumber P_BOMItems OrigSalesOrderBOMItmNodeNumber Item node
OrigSalesOrderBOMItmNumber P_BOMItems OrigSalesOrderBOMItmNumber Counter
PreliminaryMaterial P_BOMItems PreliminaryMaterial Description
_BOMItemCategory _BOMItemCategory
_UnitOfMeasure _UnitOfMeasure
_Currency _Currency
_Mast _Mast
_Dost _Dost
_Prst _Prst
_Kdst _Kdst
_Eqst _Eqst
_Tpst _Tpst
_Stst _Stst

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_BillOfMaterialComponent.
-- 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: IBOMCOMPS

CREATE VIEW I_BillOfMaterialComponent AS
SELECT
  valid_items.BillOfMaterialCategory AS BillOfMaterialCategory,
  valid_items.BillOfMaterial AS BillOfMaterial,
  valid_items.BillOfMaterialVariant AS BillOfMaterialVariant,
  valid_items.BillOfMaterialItemNodeNumber AS BillOfMaterialItemNodeNumber,
  valid_items.BillOfMaterialItemUUID AS BillOfMaterialItemUUID,
  valid_items.BillOfMaterialVersion AS BillOfMaterialVersion,
  valid_items.ValidityStartDate AS ValidityStartDate,
  valid_items.ValidityEndDate AS ValidityEndDate,
  valid_items.ChangeNumberFrom AS EngineeringChangeDocument,
  cast( valid_items.ChangeNumberTo as aenra preserving type ) AS ChgToEngineeringChgDocument,
  valid_items.InheritedNodeNumberForBOMItem AS InheritedNodeNumberForBOMItem,
  valid_items.InheritedNodeNumberVersionBOM AS InheritedNodeNumberVersionBOM,
  valid_items.BOMItemCreatedByUser AS BOMItemCreatedByUser,
  valid_items.BOMItemLastChangeDate AS BOMItemLastChangeDate,
  valid_items.BOMItemLastChangedByUser AS BOMItemLastChangedByUser,
  valid_items.BillOfMaterialComponent AS BillOfMaterialComponent,
  ' ' AS MaterialName,
  valid_items.BillOfMaterialItemCategory AS BillOfMaterialItemCategory,
  valid_items.BillOfMaterialItemNumber AS BillOfMaterialItemNumber,
  cast( valid_items.IsAssembly as stlkz preserving type ) 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.UnitOfMeasureForVarSizeItem AS UnitOfMeasureForVarSizeItem,
  valid_items.FormulaKey AS FormulaKey,
  valid_items.BOMItemDescription AS BOMItemDescription,
  valid_items.BOMItemText2 AS BOMItemText2,
  valid_items.LongTextLanguage AS LongTextLanguage,
  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.AlternativeItemGroup AS AlternativeItemGroup,
  valid_items.AlternativeItemPriority AS AlternativeItemPriority,
  valid_items.AlternativeItemStrategy AS AlternativeItemStrategy,
  valid_items.UsageProbabilityPercent AS UsageProbabilityPercent,
  _BOMItemCategoryText.BillOfMaterialItemCategoryDesc AS BillOfMaterialItemCategoryDesc,
  cast ( valid_items.IsPhantomItem as dumps preserving type ) AS MaterialComponentIsPhantomItem,
  cast ( valid_items.IsPhantomItem as dumps preserving type ) AS IsPhantomItem,
  valid_items.LastChangeDateTime AS LastChangeDateTime,
  valid_items.IsPMAssemblyRelevant AS IsPMAssemblyRelevant,
  valid_items.OrigSalesOrderBOMItmCategory AS OrigSalesOrderBOMItmCategory,
  valid_items.OrigSalesOrderBOM AS OrigSalesOrderBOM,
  valid_items.OrigSalesOrderBOMItmNodeNumber AS OrigSalesOrderBOMItmNodeNumber,
  valid_items.OrigSalesOrderBOMItmNumber AS OrigSalesOrderBOMItmNumber,
  valid_items.PreliminaryMaterial AS PreliminaryMaterial
FROM P_BOMItems AS valid_items
LEFT OUTER JOIN I_BillOfMaterialItemCategory AS _BOMItemCategory ON BillOfMaterialItemCategory = _BOMItemCategory.BillOfMaterialItemCategory  -- association [1..1]
LEFT OUTER JOIN I_BomItemCategoryText AS _BOMItemCategoryText ON BillOfMaterialItemCategory = _BOMItemCategoryText.BillOfMaterialItemCategory AND _BOMItemCategoryText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON BillOfMaterialItemUnit = _UnitOfMeasure.UnitOfMeasure  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _Currency ON Currency = _Currency.Currency  -- association [1..1]
LEFT OUTER JOIN I_MaterialBOMLink AS _Mast ON BillOfMaterialCategory = _Mast.BillOfMaterialCategory AND BillOfMaterial = _Mast.BillOfMaterial AND BillOfMaterialVariant = _Mast.BillOfMaterialVariant  -- association [0..*]
LEFT OUTER JOIN I_DocumentBOMLink AS _Dost ON BillOfMaterialCategory = _Dost.BillOfMaterialCategory AND BillOfMaterial = _Dost.BillOfMaterial AND BillOfMaterialVariant = _Dost.BillOfMaterialVariant  -- association [0..1]
LEFT OUTER JOIN I_Prst AS _Prst ON BillOfMaterialCategory = _Prst.BillOfMaterialCategory AND BillOfMaterial = _Prst.BillOfMaterial AND BillOfMaterialVariant = _Prst.BillOfMaterialVariant  -- association [0..1]
LEFT OUTER JOIN I_SalesOrderBOMLink AS _Kdst ON BillOfMaterialCategory = _Kdst.BillOfMaterialCategory AND BillOfMaterial = _Kdst.BillOfMaterial AND BillOfMaterialVariant = _Kdst.BillOfMaterialVariant  -- association [0..1]
LEFT OUTER JOIN I_EquipmentBOMLink AS _Eqst ON BillOfMaterialCategory = _Eqst.BillOfMaterialCategory AND BillOfMaterial = _Eqst.BillOfMaterial AND BillOfMaterialVariant = _Eqst.BillOfMaterialVariant  -- association [0..1]
LEFT OUTER JOIN I_Tpst AS _Tpst ON BillOfMaterialCategory = _Tpst.BillOfMaterialCategory AND BillOfMaterial = _Tpst.BillOfMaterial AND BillOfMaterialVariant = _Tpst.BillOfMaterialVariant  -- association [0..1]
LEFT OUTER JOIN I_Stst AS _Stst ON BillOfMaterialCategory = _Stst.BillOfMaterialCategory AND BillOfMaterial = _Stst.BillOfMaterial AND BillOfMaterialVariant = _Stst.BillOfMaterialVariant  -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON BillOfMaterialComponent = _Material.Material  -- association [0..1]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON BillOfMaterialComponent = _MaterialText.Material AND _MaterialText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_MaterialText AS _MaterialTextEN ON BillOfMaterialComponent = _MaterialTextEN.Material AND _MaterialTextEN.Language = 'E'  -- association [0..1]
LEFT OUTER JOIN I_DocumentInfoRecordDesc AS _DocumentText ON DocumentType = _DocumentText.DocumentInfoRecordDocType AND DocNumber = _DocumentText.DocumentInfoRecordDocNumber AND DocumentPart = _DocumentText.DocumentInfoRecordDocPart AND DocumentVersion = _DocumentText.DocumentInfoRecordDocVersion AND _DocumentText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_DocumentInfoRecordDesc AS _DocumentTextEN ON DocumentType = _DocumentTextEN.DocumentInfoRecordDocType AND DocNumber = _DocumentTextEN.DocumentInfoRecordDocNumber AND DocumentPart = _DocumentTextEN.DocumentInfoRecordDocPart AND DocumentVersion = _DocumentTextEN.DocumentInfoRecordDocVersion AND _DocumentTextEN.Language = 'E'  -- association [0..1]
LEFT OUTER JOIN I_ClfnClassVH AS _Class ON ClassNumber = _Class.Class AND ClassType = _Class.ClassType  -- association [0..1]
;