I_BillOfMaterialAPITP_1
Bill of Material Header(Transactional Processing)
I_BillOfMaterialAPITP_1 is a Transactional CDS View that provides data about "Bill of Material Header(Transactional Processing)" in SAP S/4HANA. It reads from 1 data source (I_MaterialBOM) and exposes 45 fields with key fields BillOfMaterial, BillOfMaterialCategory, BillOfMaterialVariant, BillOfMaterialVersion, EngineeringChangeDocument. It has 3 associations to related views. Part of development package CS_MODEL_API.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaterialBOM | bom_header | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ProductDescription | _ProductDescription | $projection.Material = _ProductDescription.Product and _ProductDescription.Language = $session.system_language |
| [0..1] | I_PlantStdVH | _Plants | $projection.Plant = _Plants.Plant |
| [0..*] | I_BillOfMaterialItemAPITP_1 | _BillOfMaterialItem | |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Bill of Material Header(Transactional Processing) | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (45)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillOfMaterial | I_MaterialBOM | BillOfMaterial | BOM |
| KEY | BillOfMaterialCategory | I_MaterialBOM | BillOfMaterialCategory | BOM category |
| KEY | BillOfMaterialVariant | I_MaterialBOM | BillOfMaterialVariant | AlternativeBOM |
| KEY | BillOfMaterialVersion | I_MaterialBOM | BillOfMaterialVersion | BOM Version |
| KEY | EngineeringChangeDocument | I_MaterialBOM | EngineeringChangeDocument | Change Number |
| KEY | Material | I_MaterialBOM | Material | Vehicle Model |
| KEY | Plant | I_MaterialBOM | Plant | Valuation Area |
| BillOfMaterialHeaderUUID | I_MaterialBOM | BillOfMaterialHeaderUUID | Guid | |
| BillOfMaterialVariantUsage | I_MaterialBOM | BillOfMaterialVariantUsage | Usage | |
| EngineeringChangeDocForEdit | I_MaterialBOM | EngineeringChangeDocument | Change Number | |
| IsMultipleBOMAlt | I_MaterialBOM | IsMultipleBOMAlt | Alt.det. MBOM | |
| BOMHeaderInternalChangeCount | I_MaterialBOM | BOMHeaderInternalChangeCount | Counter | |
| BOMUsagePriority | I_MaterialBOM | BOMUsagePriority | Sel. priority | |
| BillOfMaterialAuthsnGrp | I_MaterialBOM | BillOfMaterialAuthsnGrp | Auth group | |
| BOMVersionStatus | I_MaterialBOM | BOMVersionStatus | BOM Version Status | |
| IsVersionBillOfMaterial | I_MaterialBOM | IsVersionBillOfMaterial | Versioning Relevant | |
| IsLatestBOMVersion | I_MaterialBOM | IsLatestBOMVersion | Latest Rel Version | |
| IsConfiguredMaterial | I_MaterialBOM | IsConfiguredMaterial | Configured matl | |
| BOMTechnicalType | ||||
| BOMGroup | I_MaterialBOM | BOMGroup | BOM group | |
| BOMHeaderText | I_MaterialBOM | BOMHeaderText | BOM Description | |
| BOMAlternativeText | I_MaterialBOM | BOMAlternativeText | Alt Text | |
| BillOfMaterialStatus | I_MaterialBOM | BillOfMaterialStatus | BOM Status | |
| HeaderValidityStartDate | I_MaterialBOM | HeaderValidityStartDate | Valid From | |
| HeaderValidityEndDate | I_MaterialBOM | HeaderValidityEndDate | to | |
| ChgToEngineeringChgDocument | I_MaterialBOM | ChgToEngineeringChgDocument | Change No. To | |
| IsMarkedForDeletion | I_MaterialBOM | IsMarkedForDeletion | Purch.org. data | |
| IsALE | I_MaterialBOM | IsALE | ALE indicator | |
| MatFromLotSizeQuantity | I_MaterialBOM | MatFromLotSizeQuantity | From Lot Size | |
| MaterialToLotSizeQuantity | I_MaterialBOM | MaterialToLotSizeQuantity | To Lot Size | |
| BOMHeaderBaseUnit | I_MaterialBOM | BOMHeaderBaseUnit | Base UoM | |
| BOMHeaderQuantityInBaseUnit | I_MaterialBOM | BOMHeaderQuantityInBaseUnit | Base quantity | |
| RecordCreationDate | I_MaterialBOM | RecordCreationDate | Created On | |
| LastChangeDate | I_MaterialBOM | LastChangeDate | Time Stamp | |
| CreatedByUser | I_MaterialBOM | CreatedByUser | User Name | |
| LastChangedByUser | I_MaterialBOM | LastChangedByUser | User Name | |
| BOMIsToBeDeleted | I_MaterialBOM | BOMIsToBeDeleted | Handling Del. Flag | |
| DocumentIsCreatedByCAD | I_MaterialBOM | DocumentIsCreatedByCAD | CAD Indicator | |
| LaboratoryOrDesignOffice | I_MaterialBOM | LaboratoryOrDesignOffice | Lab/Office | |
| ProductDescription | _ProductDescription | ProductDescription | Description | |
| PlantName | _Plant | PlantName | Plant Name | |
| SelectedBillOfMaterialVersion | ||||
| BillOfMaterialHdrDetailsText | ||||
| _BillOfMaterialItem | _BillOfMaterialItem | |||
| _UnitOfMeasure | _UnitOfMeasure |
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_BillOfMaterialAPITP_1.
-- 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: IBOMHEADERAPITP
CREATE VIEW I_BillOfMaterialAPITP_1 AS
SELECT
bom_header.BillOfMaterial AS BillOfMaterial,
bom_header.BillOfMaterialCategory AS BillOfMaterialCategory,
bom_header.BillOfMaterialVariant AS BillOfMaterialVariant,
bom_header.BillOfMaterialVersion AS BillOfMaterialVersion,
bom_header.EngineeringChangeDocument AS EngineeringChangeDocument,
bom_header.Material AS Material,
bom_header.Plant AS Plant,
bom_header.BillOfMaterialHeaderUUID AS BillOfMaterialHeaderUUID,
bom_header.BillOfMaterialVariantUsage AS BillOfMaterialVariantUsage,
bom_header.EngineeringChangeDocument AS EngineeringChangeDocForEdit,
bom_header.IsMultipleBOMAlt AS IsMultipleBOMAlt,
bom_header.BOMHeaderInternalChangeCount AS BOMHeaderInternalChangeCount,
bom_header.BOMUsagePriority AS BOMUsagePriority,
bom_header.BillOfMaterialAuthsnGrp AS BillOfMaterialAuthsnGrp,
bom_header.BOMVersionStatus AS BOMVersionStatus,
bom_header.IsVersionBillOfMaterial AS IsVersionBillOfMaterial,
bom_header.IsLatestBOMVersion AS IsLatestBOMVersion,
bom_header.IsConfiguredMaterial AS IsConfiguredMaterial,
cast ( bom_header.BOMTechnicalType as tetyp_d preserving type) AS BOMTechnicalType,
bom_header.BOMGroup AS BOMGroup,
bom_header.BOMHeaderText AS BOMHeaderText,
bom_header.BOMAlternativeText AS BOMAlternativeText,
bom_header.BillOfMaterialStatus AS BillOfMaterialStatus,
bom_header.HeaderValidityStartDate AS HeaderValidityStartDate,
bom_header.HeaderValidityEndDate AS HeaderValidityEndDate,
bom_header.ChgToEngineeringChgDocument AS ChgToEngineeringChgDocument,
bom_header.IsMarkedForDeletion AS IsMarkedForDeletion,
bom_header.IsALE AS IsALE,
bom_header.MatFromLotSizeQuantity AS MatFromLotSizeQuantity,
bom_header.MaterialToLotSizeQuantity AS MaterialToLotSizeQuantity,
bom_header.BOMHeaderBaseUnit AS BOMHeaderBaseUnit,
bom_header.BOMHeaderQuantityInBaseUnit AS BOMHeaderQuantityInBaseUnit,
bom_header.RecordCreationDate AS RecordCreationDate,
bom_header.LastChangeDate AS LastChangeDate,
bom_header.CreatedByUser AS CreatedByUser,
bom_header.LastChangedByUser AS LastChangedByUser,
bom_header.BOMIsToBeDeleted AS BOMIsToBeDeleted,
bom_header.DocumentIsCreatedByCAD AS DocumentIsCreatedByCAD,
bom_header.LaboratoryOrDesignOffice AS LaboratoryOrDesignOffice,
_ProductDescription.ProductDescription AS ProductDescription,
_Plant.PlantName AS PlantName,
cast(' ' as abap.char( 4 ) ) AS SelectedBillOfMaterialVersion,
cast(' ' as abap.char( 255 ) ) AS BillOfMaterialHdrDetailsText
FROM I_MaterialBOM AS bom_header
LEFT OUTER JOIN I_ProductDescription AS _ProductDescription ON Material = _ProductDescription.Product AND _ProductDescription.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_PlantStdVH AS _Plants ON Plant = _Plants.Plant -- association [0..1]
LEFT OUTER JOIN I_BillOfMaterialItemAPITP_1 AS _BillOfMaterialItem ON /* condition not available in parsed metadata */ -- association [0..*]
;
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