P_EngmntProjPlannedData
P_EngmntProjPlannedData is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_EngmntProjAssgmtToSessionUsr, I_FinancialPlanningEntryItem) and exposes 37 fields with key fields FinancialPlanningReqTransSqnc, FinancialPlanningDataPacket, FinancialPlanningEntryItem.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_EngmntProjAssgmtToSessionUsr | A | from |
| I_FinancialPlanningEntryItem | D | inner |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PEPPLANNEDDATA | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| VDM.lifecycle.contract.type | #NONE | view |
Fields (37)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FinancialPlanningReqTransSqnc | I_FinancialPlanningEntryItem | FinancialPlanningReqTransSqnc | Request TSN |
| KEY | FinancialPlanningDataPacket | I_FinancialPlanningEntryItem | FinancialPlanningDataPacket | Data packet number |
| KEY | FinancialPlanningEntryItem | I_FinancialPlanningEntryItem | FinancialPlanningEntryItem | |
| ControllingArea | I_FinancialPlanningEntryItem | ControllingArea | Controlling Area | |
| CompanyCode | I_FinancialPlanningEntryItem | CompanyCode | Receiver Company Code | |
| Ledger | I_FinancialPlanningEntryItem | Ledger | Ledger | |
| FiscalYear | I_FinancialPlanningEntryItem | FiscalYear | G/L Fiscal Year | |
| ProfitCenter | I_FinancialPlanningEntryItem | ProfitCenter | Profit Center | |
| CostCenter | I_FinancialPlanningEntryItem | CostCenter | Cost Center | |
| Project | I_FinancialPlanningEntryItem | Project | WBS Element | |
| WBSElement | _WBSElementBasicData | WBSElement | WBS Internal ID | |
| WBSElementInternalID | I_FinancialPlanningEntryItem | WBSElementInternalID | WBS Internal ID | |
| CostCtrActivityType | I_FinancialPlanningEntryItem | CostCtrActivityType | Activity Type | |
| WorkPackage | I_FinancialPlanningEntryItem | WorkPackage | Plan Item | |
| WorkItem | I_FinancialPlanningEntryItem | WorkItem | Work Item ID | |
| BillableControl | I_FinancialPlanningEntryItem | BillableControl | Billable Control | |
| MaterialendasEngagementProjectResource | ||||
| TransactionCurrency | I_FinancialPlanningEntryItem | TransactionCurrency | Transaction Currency | |
| AmountInTransactionCurrency | I_FinancialPlanningEntryItem | AmountInTransactionCurrency | Pt Crcy Amt | |
| CompanyCodeCurrency | I_FinancialPlanningEntryItem | CompanyCodeCurrency | Local Currency | |
| AmountInCompanyCodeCurrency | I_FinancialPlanningEntryItem | AmountInCompanyCodeCurrency | Local Crcy Amt | |
| GlobalCurrency | I_FinancialPlanningEntryItem | GlobalCurrency | GM Billing Element: Global Currency | |
| AmountInGlobalCurrency | I_FinancialPlanningEntryItem | AmountInGlobalCurrency | Amount in Global Currency | |
| UnitOfMeasure | I_FinancialPlanningEntryItem | CostSourceUnit | ||
| ValuationQuantityelse0endasPlndEffortQty | ||||
| FiscalPeriod | I_FinancialPlanningEntryItem | FiscalPeriod | Tax period | |
| FiscalYearPeriod | I_FinancialPlanningEntryItem | FiscalYearPeriod | Period/Year | |
| SalesOrder | I_FinancialPlanningEntryItem | SalesDocument | SD Document | |
| SalesOrderItem | I_FinancialPlanningEntryItem | SalesDocumentItem | Sales Document Item | |
| Product | I_FinancialPlanningEntryItem | Product | Product Sold | |
| ProductGroup | I_FinancialPlanningEntryItem | ProductGroup | Product Sold Group | |
| Customer | I_FinancialPlanningEntryItem | Customer | Sold-to Party | |
| PlanningCategory | I_FinancialPlanningEntryItem | PlanningCategory | Plan Category | |
| AccountAssignmentType | I_FinancialPlanningEntryItem | AccountAssignmentType | Sndr AcctAssgmt Type | |
| PersonnelNumber | I_FinancialPlanningEntryItem | PersonnelNumber | Personnel No. | |
| IsMyProject | I_EngmntProjAssgmtToSessionUsr | IsMyProject | ||
| ProjectManagerName | I_EngmntProjAssgmtToSessionUsr | ProjectManagerName |
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_EngmntProjPlannedData.
-- 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 P_EngmntProjPlannedData AS
SELECT
D.FinancialPlanningReqTransSqnc AS FinancialPlanningReqTransSqnc,
D.FinancialPlanningDataPacket AS FinancialPlanningDataPacket,
D.FinancialPlanningEntryItem AS FinancialPlanningEntryItem,
D.ControllingArea AS ControllingArea,
D.CompanyCode AS CompanyCode,
D.Ledger AS Ledger,
D.FiscalYear AS FiscalYear,
D.ProfitCenter AS ProfitCenter,
D.CostCenter AS CostCenter,
D.Project AS Project,
_WBSElementBasicData.WBSElement AS WBSElement,
D.WBSElementInternalID AS WBSElementInternalID,
D.CostCtrActivityType AS CostCtrActivityType,
D.WorkPackage AS WorkPackage,
D.WorkItem AS WorkItem,
D.BillableControl AS BillableControl,
case when D.PartnerCostCtrActivityType <> '' then D.PartnerCostCtrActivityType when Cost.EngagementProjectResource <> '' then Cost.EngagementProjectResource when D.Material <> '' then D.Material end as EngagementProjectResource AS MaterialendasEngagementProjectResource,
D.TransactionCurrency AS TransactionCurrency,
D.AmountInTransactionCurrency AS AmountInTransactionCurrency,
D.CompanyCodeCurrency AS CompanyCodeCurrency,
D.AmountInCompanyCodeCurrency AS AmountInCompanyCodeCurrency,
D.GlobalCurrency AS GlobalCurrency,
D.AmountInGlobalCurrency AS AmountInGlobalCurrency,
D.CostSourceUnit AS UnitOfMeasure,
case when D.PlanningCategory = 'PRO02' then D.ValuationQuantity else 0 end as PlndEffortQty AS ValuationQuantityelse0endasPlndEffortQty,
D.FiscalPeriod AS FiscalPeriod,
D.FiscalYearPeriod AS FiscalYearPeriod,
D.SalesDocument AS SalesOrder,
D.SalesDocumentItem AS SalesOrderItem,
D.Product AS Product,
D.ProductGroup AS ProductGroup,
D.Customer AS Customer,
D.PlanningCategory AS PlanningCategory,
D.AccountAssignmentType AS AccountAssignmentType,
D.PersonnelNumber AS PersonnelNumber,
A.IsMyProject AS IsMyProject,
A.ProjectManagerName AS ProjectManagerName
FROM I_EngmntProjAssgmtToSessionUsr AS A
INNER JOIN I_FinancialPlanningEntryItem AS D 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