I_WBSBillOfMaterialHeader

DDL: I_WBSBILLOFMATERIALHEADER Type: view_entity BASIC Package: CS_RAP

WBS Bill Of Material Header

I_WBSBillOfMaterialHeader is a Basic CDS View that provides data about "WBS Bill Of Material Header" in SAP S/4HANA. It reads from 1 data source (P_WBSBillOfMaterialHeader) and exposes 53 fields with key fields BillOfMaterialHeaderUUID, BillOfMaterialCategory, BillOfMaterialVariantUsage, BillOfMaterial, BillOfMaterialVariant. It has 1 association to related views. Part of development package CS_RAP.

Data Sources (1)

SourceAliasJoin Type
P_WBSBillOfMaterialHeader P_WBSBillOfMaterialHeader from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label WBS Bill Of Material Header view

Fields (53)

KeyFieldSource TableSource FieldDescription
KEY BillOfMaterialHeaderUUID BillOfMaterialHeaderUUID Guid
KEY BillOfMaterialCategory BillOfMaterialCategory BOM category
KEY BillOfMaterialVariantUsage BillOfMaterialVariantUsage Usage
KEY BillOfMaterial BOM
KEY BillOfMaterialVariant BillOfMaterialVariant AlternativeBOM
KEY BillOfMaterialVersion BillOfMaterialVersion BOM Version
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
WBSElementInternalID
SAPClient SAPClient Client ID
BillOfMaterialUUID Character Field of Length 12
IsMultipleBOMAlt IsMultipleBOMAlt Alt.det. MBOM
BOMHeaderInternalChangeCount BOMHeaderInternalChangeCount Counter
BOMPrioritizedVersion BOMPrioritizedVersion Selection ID
BOMExplosionApplication BOMExplosionApplication BOM Application
BOMUsagePriority BOMUsagePriority Sel. priority
BillOfMaterialAuthsnGrp BillOfMaterialAuthsnGrp Auth group
BOMVersionStatus BOMVersionStatus BOM Version Status
IsVersionBillOfMaterial IsVersionBillOfMaterial Versioning Relevant
IsLatestBOMVersion IsLatestBOMVersion Latest Rel Version
BOMIsConfigurable BOMIsConfigurable ConfigurableBOM
IsConfiguredMaterial IsConfiguredMaterial Configured matl
BOMTechnicalType BOMTechnicalType Tech type
BOMGroup BOMGroup BOM group
IndicatorIsBOMWithDateHistory IndicatorIsBOMWithDateHistory Date hist
IndicatorIsBOMChangedWithHist IndicatorIsBOMChangedWithHist History ID
BOMHeaderText BOMHeaderText BOM Description
BOMAlternativeText BOMAlternativeText Alt Text
LongTextLanguage LongTextLanguage Long Text Lang
BillOfMaterialStatus BillOfMaterialStatus BOM Status
HeaderValidityStartDate HeaderValidityStartDate Valid From
HeaderValidityEndDate HeaderValidityEndDate to
EngineeringChangeDocument EngineeringChangeDocument Change Number
ChgToEngineeringChgDocument ChgToEngineeringChgDocument Change No. To
IsMarkedForDeletion IsMarkedForDeletion Purch.org. data
BOMIsArchivedForDeletion BOMIsArchivedForDeletion Deletion flag
IsALE IsALE ALE indicator
BOMHeaderBaseUnit BOMHeaderBaseUnit Base UoM
BOMHeaderQuantityInBaseUnit BOMHeaderQuantityInBaseUnit Base quantity
MatFromLotSizeQuantity MatFromLotSizeQuantity From Lot Size
MaterialToLotSizeQuantity MaterialToLotSizeQuantity To Lot Size
RecordCreationDate RecordCreationDate Created On
LastChangeDate LastChangeDate Time Stamp
CreatedByUser CreatedByUser User Name
LastChangedByUser LastChangedByUser User Name
BOMIsToBeDeleted BOMIsToBeDeleted Handling Del. Flag
DocumentIsCreatedByCAD DocumentIsCreatedByCAD CAD Indicator
LaboratoryOrDesignOffice LaboratoryOrDesignOffice Lab/Office
LastChangeDateTime LastChangeDateTime Timestamp
BOMAssetNtwkHndovrIsRelevant BOMAssetNtwkHndovrIsRelevant BOM to AIN Handover
BOMPredecessorVersion BOMPredecessorVersion Predecessor Version
_WBSBillOfMaterial _Prst
_Plant _Plant

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_WBSBillOfMaterialHeader.
-- 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.

CREATE VIEW I_WBSBillOfMaterialHeader AS
SELECT
  BillOfMaterialHeaderUUID,
  BillOfMaterialCategory,
  BillOfMaterialVariantUsage,
  cast( BillOfMaterial as cs_stlnr preserving type ) AS BillOfMaterial,
  BillOfMaterialVariant,
  BillOfMaterialVersion,
  Material,
  Plant,
  cast(_Prst.WBSElementInternalID as ps_s4_pspnr preserving type ) AS WBSElementInternalID,
  SAPClient,
  cast(BillOfMaterialUUID as sysuuid_c ) AS BillOfMaterialUUID,
  IsMultipleBOMAlt,
  BOMHeaderInternalChangeCount,
  BOMPrioritizedVersion,
  BOMExplosionApplication,
  BOMUsagePriority,
  BillOfMaterialAuthsnGrp,
  BOMVersionStatus,
  IsVersionBillOfMaterial,
  IsLatestBOMVersion,
  BOMIsConfigurable,
  IsConfiguredMaterial,
  BOMTechnicalType,
  BOMGroup,
  IndicatorIsBOMWithDateHistory,
  IndicatorIsBOMChangedWithHist,
  BOMHeaderText,
  BOMAlternativeText,
  LongTextLanguage,
  BillOfMaterialStatus,
  HeaderValidityStartDate,
  HeaderValidityEndDate,
  EngineeringChangeDocument,
  ChgToEngineeringChgDocument,
  IsMarkedForDeletion,
  BOMIsArchivedForDeletion,
  IsALE,
  BOMHeaderBaseUnit,
  BOMHeaderQuantityInBaseUnit,
  MatFromLotSizeQuantity,
  MaterialToLotSizeQuantity,
  RecordCreationDate,
  LastChangeDate,
  CreatedByUser,
  LastChangedByUser,
  BOMIsToBeDeleted,
  DocumentIsCreatedByCAD,
  LaboratoryOrDesignOffice,
  LastChangeDateTime,
  BOMAssetNtwkHndovrIsRelevant,
  BOMPredecessorVersion
FROM P_WBSBillOfMaterialHeader
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
;