P_PlanningScopeExplodedBOM
VMP Planning scope expanded materials
P_PlanningScopeExplodedBOM is a Basic CDS View that provides data about "VMP Planning scope expanded materials" in SAP S/4HANA. It reads from 3 data sources (vmp_exploded_mat, I_PlanningScopeHeaderDetail, vmp_plnscp_hdr) and exposes 20 fields with key fields DocumentId, PlanningScopeAlternative, SourceMaterial, PlanningScopeItemCount, PlanningScopeAlternative. Part of development package VEP_HFE_MODEL.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| vmp_exploded_mat | PlanningScopeExplodedBOM | from |
| I_PlanningScopeHeaderDetail | PlanningScopeHeader | inner |
| vmp_plnscp_hdr | PlanningScopeHeader | union_all |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPLNSCPEXPLBOM | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DocumentId | vmp_exploded_mat | documentid | Routing slip doc. ID |
| KEY | PlanningScopeAlternative | vmp_exploded_mat | plan_scope_alt | Plan Scope Alternate |
| KEY | SourceMaterial | vmp_plnscp_hdr | SourceMaterial | Material |
| KEY | PlanningScopeItemCount | vmp_exploded_mat | item_counter | INT4 |
| Material | vmp_exploded_mat | material_id | Material | |
| ExplosionType | vmp_exploded_mat | explosion_type | VMP Explosion type | |
| SourceBOMType | vmp_exploded_mat | source_bom_type | EBom Type | |
| EBOMPlant | vmp_exploded_mat | source_bom_plant | Source plant | |
| SourceBOMUsage | vmp_exploded_mat | source_bom_usage | Usage | |
| SourceBOMAlternative | vmp_exploded_mat | source_bom_alt | Source BOM alt | |
| documentidasDocumentId | ||||
| KEY | PlanningScopeAlternative | vmp_plnscp_hdr | plan_scope_alt | Plan Scope Alternate |
| KEY | SourceMaterial | vmp_plnscp_hdr | src_matnr | Material |
| KEY | PlanningScopeItemCount | INT4 | ||
| Material | vmp_plnscp_hdr | src_matnr | Material | |
| SourceBOMType | vmp_plnscp_hdr | source_bom_type | EBom Type | |
| EBOMPlant | vmp_plnscp_hdr | source_plant | Source plant | |
| SourceBOMUsage | vmp_plnscp_hdr | source_bom_usage | Usage | |
| SourceBOMAlternative | vmp_plnscp_hdr | source_bom_alt | Source BOM alt | |
| psm_explosion_dateendasEBOMValidity |
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 P_PlanningScopeExplodedBOM.
-- 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: PPLNSCPEXPLBOM
CREATE VIEW P_PlanningScopeExplodedBOM AS
SELECT
PlanningScopeExplodedBOM.documentid AS DocumentId,
PlanningScopeExplodedBOM.plan_scope_alt AS PlanningScopeAlternative,
PlanningScopeHeader.SourceMaterial AS SourceMaterial,
PlanningScopeExplodedBOM.item_counter AS PlanningScopeItemCount,
PlanningScopeExplodedBOM.material_id AS Material,
PlanningScopeExplodedBOM.explosion_type AS ExplosionType,
PlanningScopeExplodedBOM.source_bom_type AS SourceBOMType,
PlanningScopeExplodedBOM.source_bom_plant AS EBOMPlant,
PlanningScopeExplodedBOM.source_bom_usage AS SourceBOMUsage,
PlanningScopeExplodedBOM.source_bom_alt AS SourceBOMAlternative,
case PlanningScopeHeader.ProductStructureUsage when '' then PlanningScopeHeader.EBOMValidity else PlanningScopeHeader.ConfigurationSimulationDate end as EBOMValidity AS documentidasDocumentId,
case PlanningScopeHeader.psm_usage when '' then PlanningScopeHeader.source_validity else PlanningScopeHeader.psm_explosion_date end as EBOMValidity AS psm_explosion_dateendasEBOMValidity
FROM vmp_exploded_mat AS PlanningScopeExplodedBOM
INNER JOIN I_PlanningScopeHeaderDetail AS PlanningScopeHeader ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): vmp_plnscp_hdr
;
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