I_WBSBillOfMaterialHeader
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)
| Source | Alias | Join Type |
|---|---|---|
| P_WBSBillOfMaterialHeader | P_WBSBillOfMaterialHeader | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA