I_MaterialBOMValidItemsSearch
CDS based search model view for BOM Item
I_MaterialBOMValidItemsSearch is a Basic CDS View that provides data about "CDS based search model view for BOM Item" in SAP S/4HANA. It reads from 2 data sources (stas, stpo) and exposes 23 fields with key fields BillOfMaterial, BillOfMaterialVariant, BillOfMaterialCategory, BillOfMaterialItemNodeNumber, BillOfMaterialItemUUID. It has 1 association to related views. Part of development package CS_MODEL.
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MaterialText | _MaterialText | ( $projection.BillOfMaterialComponent = _MaterialText.Material and _MaterialText.Language = $session.system_language ) |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IBOMITEMSEARCH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | CDS based search model view for BOM Item | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillOfMaterial | stas | stlnr | BOM |
| KEY | BillOfMaterialVariant | stas | stlal | AlternativeBOM |
| KEY | BillOfMaterialCategory | stas | stlty | Single-Character Flag |
| KEY | BillOfMaterialItemNodeNumber | stas | stlkn | Single-Character Flag |
| KEY | BillOfMaterialItemUUID | stpo | guidx | Guid |
| InheritedNodeNumberForBOMItem | stas | stvkn | Nodes | |
| InheritedNodeNumberVersionBOM | stpo | stvkn_versn | Nodes | |
| BillOfMaterialVersion | stas | bom_versn | BOM Version | |
| ValidityStartDate | stpo | datuv | Valid-from date | |
| ValidityEndDate | stpo | valid_to | Validity End Time | |
| EngineeringChangeDocument | stpo | aennr | Change Number | |
| BOMItemRecordCreationDate | stpo | andat | Created On | |
| BOMItemCreatedByUser | stpo | annam | Created By | |
| BOMItemLastChangeDate | stpo | aedat | Obsolete | |
| BOMItemLastChangedByUser | stpo | aenam | User Name | |
| BillOfMaterialComponent | stpo | idnrk | Component | |
| ComponentDescription | _MaterialText | MaterialName | Component Description | |
| BillOfMaterialItemCategory | stpo | postp | Item Category | |
| BillOfMaterialItemNumber | stpo | posnr | WBS Element | |
| BillOfMaterialItemUnit | stpo | meins | Valuation Unit | |
| BillOfMaterialItemQuantity | stpo | menge | WarrCountValue | |
| BOMItemDescription | stpo | potx1 | Item Text | |
| BOMItemText2 | stpo | potx2 | Item Text |
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_MaterialBOMValidItemsSearch.
-- 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: IBOMITEMSEARCH
CREATE VIEW I_MaterialBOMValidItemsSearch AS
SELECT
stas.stlnr AS BillOfMaterial,
stas.stlal AS BillOfMaterialVariant,
stas.stlty AS BillOfMaterialCategory,
stas.stlkn AS BillOfMaterialItemNodeNumber,
stpo.guidx AS BillOfMaterialItemUUID,
stas.stvkn AS InheritedNodeNumberForBOMItem,
stpo.stvkn_versn AS InheritedNodeNumberVersionBOM,
stas.bom_versn AS BillOfMaterialVersion,
stpo.datuv AS ValidityStartDate,
stpo.valid_to AS ValidityEndDate,
stpo.aennr AS EngineeringChangeDocument,
stpo.andat AS BOMItemRecordCreationDate,
stpo.annam AS BOMItemCreatedByUser,
stpo.aedat AS BOMItemLastChangeDate,
stpo.aenam AS BOMItemLastChangedByUser,
stpo.idnrk AS BillOfMaterialComponent,
_MaterialText.MaterialName AS ComponentDescription,
stpo.postp AS BillOfMaterialItemCategory,
stpo.posnr AS BillOfMaterialItemNumber,
stpo.meins AS BillOfMaterialItemUnit,
stpo.menge AS BillOfMaterialItemQuantity,
stpo.potx1 AS BOMItemDescription,
stpo.potx2 AS BOMItemText2
FROM stas
INNER JOIN stpo ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON ( BillOfMaterialComponent = _MaterialText.Material AND _MaterialText.Language = $session.system_language ) -- 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