P_EngmntProjPlnDataDrftUnion
Engagement Project Plan Data Draft Union
P_EngmntProjPlnDataDrftUnion is a Composite CDS View that provides data about "Engagement Project Plan Data Draft Union" in SAP S/4HANA. It reads from 3 data sources (I_EngmntProjectPlnDataVersion, I_EngmntProjPlanDrftData, I_EngmntProjPlanDrftData) and exposes 61 fields. Part of development package CPD_CDS.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_EngmntProjectPlnDataVersion | Active | from |
| I_EngmntProjPlanDrftData | Draft | left_outer |
| I_EngmntProjPlanDrftData | Draft | union_all |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPLNDATADFTUNION | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view |
Fields (61)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| EngmntProjPlanDataDraftUUID | ||||
| EngagementProjFinPlanUUID | I_EngmntProjectPlnDataVersion | EngagementProjFinPlanUUID | Engagement Project | |
| WorkPackageUUID | I_EngmntProjectPlnDataVersion | WorkPackageUUID | Work Package UUID | |
| EngmtProjFinPlanVersion | I_EngmntProjectPlnDataVersion | EngmtProjFinPlanVersion | Plan Version ID | |
| EngagementProjectResourceType | I_EngmntProjectPlnDataVersion | EngagementProjectResourceType | ResourceTypeID | |
| EngagementProjectResource | I_EngmntProjectPlnDataVersion | EngagementProjectResource | Resource ID | |
| WorkPackage | I_EngmntProjectPlnDataVersion | WorkPackage | Plan Item | |
| FiscalPeriod | I_EngmntProjectPlnDataVersion | FiscalPeriod | Tax period | |
| FiscalYear | I_EngmntProjectPlnDataVersion | FiscalYear | G/L Fiscal Year | |
| EmploymentInternalID | I_EngmntProjectPlnDataVersion | EmploymentInternalID | WorkForce Assgmt ID | |
| EngmtProjEmployeeIsStaffed | I_EngmntProjectPlnDataVersion | EngmtProjEmployeeIsStaffed | Confirmation of staffed Employee | |
| WorkItem | I_EngmntProjectPlnDataVersion | WorkItem | Work Item ID | |
| ResourceDemandUUID | I_EngmntProjectPlnDataVersion | ResourceDemandUUID | Demand Key | |
| ResourceDemand | I_EngmntProjectPlnDataVersion | ResourceDemand | Resource Demand | |
| ResourceSupply | I_EngmntProjectPlnDataVersion | ResourceSupply | Resource Supply | |
| EngagementProjectServiceOrg | I_EngmntProjectPlnDataVersion | EngagementProjectServiceOrg | Service Org. | |
| EngagementProjectUUID | ||||
| Currency | I_EngmntProjectPlnDataVersion | Currency | Valuation Crcy | |
| PlndCostAmt | I_EngmntProjectPlnDataVersion | PlndCostAmt | Amount | |
| UnitOfMeasure | I_EngmntProjectPlnDataVersion | UnitOfMeasure | Unit Protected Qty | |
| PlndEffortQty | I_EngmntProjectPlnDataVersion | PlndEffortQty | Total Quantity | |
| PlndRevnAmt | I_EngmntProjectPlnDataVersion | PlndRevnAmt | Amount | |
| ActualPlanDeviationCost | I_EngmntProjectPlnDataVersion | ActualPlanDeviationCost | Cost Deviation | |
| ActualPlanDeviationEffort | I_EngmntProjectPlnDataVersion | ActualPlanDeviationEffort | Effort Deviation | |
| ActualPlanDeviationRevenue | I_EngmntProjectPlnDataVersion | ActualPlanDeviationRevenue | Revenue Deviation | |
| EngmntProjPlanLineType | I_EngmntProjectPlnDataVersion | EngmntProjPlanLineType | Line type | |
| SourceOfSupply | I_EngmntProjectPlnDataVersion | SupplySource | Supply source | |
| BillingControlCategory | I_EngmntProjectPlnDataVersion | BillingControlCategory | Billing Category | |
| IsActiveEntity | ||||
| HasActiveEntity | TRUE | |||
| DraftUUIDasEngmntProjPlanDataDraftUUID | ||||
| EngagementProjFinPlanUUID | I_EngmntProjPlanDrftData | EngagementProjFinPlanUUID | Engagement Project | |
| WorkPackageUUID | I_EngmntProjPlanDrftData | WorkPackageUUID | Work Package UUID | |
| EngmtProjFinPlanVersion | I_EngmntProjPlanDrftData | EngmtProjFinPlanVersion | Plan Version ID | |
| EngagementProjectResourceType | I_EngmntProjPlanDrftData | EngagementProjectResourceType | ResourceTypeID | |
| EngagementProjectResource | I_EngmntProjPlanDrftData | EngagementProjectResource | Resource ID | |
| WorkPackage | I_EngmntProjPlanDrftData | WorkPackage | Plan Item | |
| FiscalPeriod | I_EngmntProjPlanDrftData | FiscalPeriod | Tax period | |
| FiscalYear | I_EngmntProjPlanDrftData | FiscalYear | G/L Fiscal Year | |
| EmploymentInternalID | I_EngmntProjPlanDrftData | EmploymentInternalID | WorkForce Assgmt ID | |
| EngmtProjEmployeeIsStaffed | I_EngmntProjPlanDrftData | EngmtProjEmployeeIsStaffed | Confirmation of staffed Employee | |
| WorkItem | I_EngmntProjPlanDrftData | WorkItem | Work Item ID | |
| ResourceDemandUUID | I_EngmntProjPlanDrftData | ResourceDemandUUID | Demand Key | |
| ResourceDemand | I_EngmntProjPlanDrftData | ResourceDemand | Resource Demand | |
| ResourceSupply | I_EngmntProjPlanDrftData | ResourceSupply | Resource Supply | |
| EngagementProjectServiceOrg | I_EngmntProjPlanDrftData | EngagementProjectServiceOrg | Service Org. | |
| EngagementProjectUUID | ||||
| Currency | I_EngmntProjPlanDrftData | Currency | Valuation Crcy | |
| PlndCostAmt | I_EngmntProjPlanDrftData | PlndCostAmt | Amount | |
| UnitOfMeasure | I_EngmntProjPlanDrftData | UnitOfMeasure | Unit Protected Qty | |
| PlndEffortQty | I_EngmntProjPlanDrftData | PlndEffortQty | Total Quantity | |
| PlndRevnAmt | I_EngmntProjPlanDrftData | PlndRevnAmt | Amount | |
| ActualPlanDeviationCost | I_EngmntProjPlanDrftData | ActualPlanDeviationCost | Cost Deviation | |
| ActualPlanDeviationEffort | I_EngmntProjPlanDrftData | ActualPlanDeviationEffort | Effort Deviation | |
| ActualPlanDeviationRevenue | I_EngmntProjPlanDrftData | ActualPlanDeviationRevenue | Revenue Deviation | |
| EngmntProjPlanLineType | I_EngmntProjPlanDrftData | EngmntProjPlanLineType | Line type | |
| SourceOfSupply | I_EngmntProjPlanDrftData | SupplySource | Supply source | |
| BillingControlCategory | I_EngmntProjPlanDrftData | BillingControlCategory | Billing Category | |
| IsActiveEntity | ||||
| HasActiveEntity | I_EngmntProjPlanDrftData | HasActiveEntity | TRUE | |
| HasDraftEntity |
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_EngmntProjPlnDataDrftUnion.
-- 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: PPLNDATADFTUNION
CREATE VIEW P_EngmntProjPlnDataDrftUnion AS
SELECT
cast ( hextobin('00000000000000000000000000000000') as /cpd/eng_pfp_db_key ) AS EngmntProjPlanDataDraftUUID,
Active.EngagementProjFinPlanUUID AS EngagementProjFinPlanUUID,
Active.WorkPackageUUID AS WorkPackageUUID,
Active.EngmtProjFinPlanVersion AS EngmtProjFinPlanVersion,
Active.EngagementProjectResourceType AS EngagementProjectResourceType,
Active.EngagementProjectResource AS EngagementProjectResource,
Active.WorkPackage AS WorkPackage,
Active.FiscalPeriod AS FiscalPeriod,
Active.FiscalYear AS FiscalYear,
Active.EmploymentInternalID AS EmploymentInternalID,
Active.EngmtProjEmployeeIsStaffed AS EngmtProjEmployeeIsStaffed,
Active.WorkItem AS WorkItem,
Active.ResourceDemandUUID AS ResourceDemandUUID,
Active.ResourceDemand AS ResourceDemand,
Active.ResourceSupply AS ResourceSupply,
Active.EngagementProjectServiceOrg AS EngagementProjectServiceOrg,
cast ( hextobin('00000000000000000000000000000000') as /cpd/eng_db_key ) AS EngagementProjectUUID,
Active.Currency AS Currency,
Active.PlndCostAmt AS PlndCostAmt,
Active.UnitOfMeasure AS UnitOfMeasure,
Active.PlndEffortQty AS PlndEffortQty,
Active.PlndRevnAmt AS PlndRevnAmt,
Active.ActualPlanDeviationCost AS ActualPlanDeviationCost,
Active.ActualPlanDeviationEffort AS ActualPlanDeviationEffort,
Active.ActualPlanDeviationRevenue AS ActualPlanDeviationRevenue,
Active.EngmntProjPlanLineType AS EngmntProjPlanLineType,
Active.SupplySource AS SourceOfSupply,
Active.BillingControlCategory AS BillingControlCategory,
cast( 'X' as sdraft_is_active preserving type ) AS IsActiveEntity,
cast( ' ' as sdraft_has_active preserving type ) AS HasActiveEntity,
cast( case when Draft.DraftUUID is null then ' ' else 'X' end as sdraft_has_draft preserving type ) as HasDraftEntity AS DraftUUIDasEngmntProjPlanDataDraftUUID,
cast( ' ' as sdraft_has_draft preserving type ) AS HasDraftEntity
FROM I_EngmntProjectPlnDataVersion AS Active
LEFT OUTER JOIN I_EngmntProjPlanDrftData AS Draft ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): I_EngmntProjPlanDrftData
;
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