A_StockLevelPrpslBOM
Longest Path in BOM
A_StockLevelPrpslBOM is a Composite CDS View that provides data about "Longest Path in BOM" in SAP S/4HANA. It reads from 2 data sources (I_StockLevelPrpslBOM, A_ProductBufferSizing) and exposes 22 fields with key fields Material, Plant, MRPArea, ProposalStartDate, ProposalVersion. It is exposed through 1 OData service (API_BUFFERSIZING_SRV). Part of development package ODATA_PP_DD_BUFFERSIZING_API.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_StockLevelPrpslBOM | _BOMProposal | left_outer |
| A_ProductBufferSizing | _ProdBufLvlPrpslData | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | Longest Path in BOM | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| API_BUFFERSIZING_SRV | API_BUFFERSIZING_SRV | V2 | C2 | C1 |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | A_ProductBufferSizing | Material | Vehicle Model |
| KEY | Plant | A_ProductBufferSizing | Plant | Valuation Area |
| KEY | MRPArea | A_ProductBufferSizing | MRPArea | MRP Area |
| KEY | ProposalStartDate | A_ProductBufferSizing | ProposalStartDate | |
| KEY | ProposalVersion | A_ProductBufferSizing | ProposalVersion | |
| KEY | BillOfMaterialUUID | I_StockLevelPrpslBOM | BillOfMaterialUUID | Character Field of Length 12 |
| KEY | ParentComponent | I_StockLevelPrpslBOM | ParentComponent | Parent BOM Comp |
| KEY | ParentPlant | I_StockLevelPrpslBOM | ParentPlant | Parent Plant |
| KEY | BillOfMaterialComponent | I_StockLevelPrpslBOM | BillOfMaterialComponent | Component |
| KEY | ComponentPlant | I_StockLevelPrpslBOM | ComponentPlant | Component Plant |
| ParentMRPArea | I_StockLevelPrpslBOM | ParentMRPArea | Parent MRP Area | |
| ComponentMRPArea | I_StockLevelPrpslBOM | ComponentMRPArea | Component MRP Area | |
| ComponentLeadTime | I_StockLevelPrpslBOM | ComponentLeadTime | Individual Lead Time | |
| LeadTimeCalculationMethod | I_StockLevelPrpslBOM | LeadTimeCalculationMethod | ||
| ComponentSOS | I_StockLevelPrpslBOM | ComponentSOS | Source of Supply | |
| ComponentSOSType | I_StockLevelPrpslBOM | ComponentSOSType | Source Type | |
| SOSTypeDescription | I_StockLevelPrpslBOM | SOSTypeDescription | ||
| CreatedByUser | I_StockLevelPrpslBOM | CreatedByUser | User Name | |
| LastChangedByUser | I_StockLevelPrpslBOM | LastChangedByUser | User Name | |
| CreationDateTime | I_StockLevelPrpslBOM | CreationDateTime | Timestamp | |
| LastChangeDateTime | I_StockLevelPrpslBOM | LastChangeDateTime | Timestamp | |
| _ProposalHdr | _ProposalHdr |
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 A_StockLevelPrpslBOM.
-- 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 A_StockLevelPrpslBOM AS
SELECT
_ProdBufLvlPrpslData.Material AS Material,
_ProdBufLvlPrpslData.Plant AS Plant,
_ProdBufLvlPrpslData.MRPArea AS MRPArea,
_ProdBufLvlPrpslData.ProposalStartDate AS ProposalStartDate,
_ProdBufLvlPrpslData.ProposalVersion AS ProposalVersion,
_BOMProposal.BillOfMaterialUUID AS BillOfMaterialUUID,
_BOMProposal.ParentComponent AS ParentComponent,
_BOMProposal.ParentPlant AS ParentPlant,
_BOMProposal.BillOfMaterialComponent AS BillOfMaterialComponent,
_BOMProposal.ComponentPlant AS ComponentPlant,
_BOMProposal.ParentMRPArea AS ParentMRPArea,
_BOMProposal.ComponentMRPArea AS ComponentMRPArea,
_BOMProposal.ComponentLeadTime AS ComponentLeadTime,
_BOMProposal.LeadTimeCalculationMethod AS LeadTimeCalculationMethod,
_BOMProposal.ComponentSOS AS ComponentSOS,
_BOMProposal.ComponentSOSType AS ComponentSOSType,
_BOMProposal.SOSTypeDescription AS SOSTypeDescription,
_BOMProposal.CreatedByUser AS CreatedByUser,
_BOMProposal.LastChangedByUser AS LastChangedByUser,
_BOMProposal.CreationDateTime AS CreationDateTime,
_BOMProposal.LastChangeDateTime AS LastChangeDateTime
FROM A_ProductBufferSizing AS _ProdBufLvlPrpslData
LEFT OUTER JOIN I_StockLevelPrpslBOM AS _BOMProposal ON /* join condition not captured in parsed metadata */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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