P_Mpwbs
WBS Details for Master Project List
P_Mpwbs is a Composite CDS View that provides data about "WBS Details for Master Project List" in SAP S/4HANA. It reads from 4 data sources (I_MasterProjectItemList, I_Project, I_SalesDocumentItem, P_WBSObject) and exposes 11 fields. Part of development package VDM_CPM_WS.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_MasterProjectItemList | MasterProject | from |
| I_Project | ProjectDefinition | inner |
| I_SalesDocumentItem | SDItem | left_outer |
| P_WBSObject | WBSObject | inner |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMPWBS | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| MasterProjectUUID | I_MasterProjectItemList | MasterProjectUUID | NodeID | |
| MasterProject | I_MasterProjectItemList | MasterProject | Project ID | |
| MasterProjectIsConfidential | I_MasterProjectItemList | MasterProjectIsConfidential | ||
| MasterProjectOrganization | I_MasterProjectItemList | MasterProjectOrganization | ||
| MasterProjectType | I_MasterProjectItemList | MasterProjectType | ||
| Project | I_Project | Project | WBS Element | |
| WBSElement | P_WBSObject | WBSElement | WBS Internal ID | |
| WBSElementInternalID | P_WBSObject | WBSElementInternalID | WBS Internal ID | |
| WBSElementObject | P_WBSObject | WBSElementObject | Object number | |
| SalesDocument | I_SalesDocumentItem | SalesDocument | SD Document | |
| SalesDocumentItem | I_SalesDocumentItem | SalesDocumentItem | Sales Document Item |
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_Mpwbs.
-- 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: PMPWBS
CREATE VIEW P_Mpwbs AS
SELECT
MasterProject.MasterProjectUUID AS MasterProjectUUID,
MasterProject.MasterProject AS MasterProject,
MasterProject.MasterProjectIsConfidential AS MasterProjectIsConfidential,
MasterProject.MasterProjectOrganization AS MasterProjectOrganization,
MasterProject.MasterProjectType AS MasterProjectType,
ProjectDefinition.Project AS Project,
WBSObject.WBSElement AS WBSElement,
WBSObject.WBSElementInternalID AS WBSElementInternalID,
WBSObject.WBSElementObject AS WBSElementObject,
SDItem.SalesDocument AS SalesDocument,
SDItem.SalesDocumentItem AS SalesDocumentItem
FROM I_MasterProjectItemList AS MasterProject
INNER JOIN I_Project AS ProjectDefinition ON /* join condition not captured in parsed metadata */
INNER JOIN P_WBSObject AS WBSObject ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SalesDocumentItem AS SDItem 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
- 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