P_Projectwiprevdetlbasic
P_Projectwiprevdetlbasic is a Basic CDS View in SAP S/4HANA. It reads from 11 data sources and exposes 121 fields.
Data Sources (11)
| Source | Alias | Join Type |
|---|---|---|
| P_Wipdetailbasic | a | from |
| P_Wiprevdetailbasic | a | union_all |
| prps | b | inner |
| prps | b | inner |
| proj | c | inner |
| proj | c | inner |
| tka01 | d | inner |
| tka01 | d | inner |
| cobk | e | left_outer |
| cobk | e | left_outer |
| P_Wiprevdetsrvkb | z | left_outer |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPROJ_DLIWPRV_BS | view | |
| ClientDependent | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (121)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| PostingPeriod | P_Wiprevdetailbasic | PostingPeriod | Posting Period | |
| TransactionCurrency | P_Wiprevdetailbasic | TransactionCurrency | Transaction Currency | |
| UnitOfMeasure | P_Wiprevdetailbasic | UnitOfMeasure | Unit Protected Qty | |
| CostElement | P_Wiprevdetailbasic | CostElement | G/L Account | |
| CostCenter | P_Wiprevdetailbasic | CostCenter | Cost Center | |
| CostCtrActivityType | P_Wiprevdetailbasic | CostCtrActivityType | Activity Type | |
| Material | P_Wiprevdetailbasic | Material | Vehicle Model | |
| BusinessProcess | P_Wiprevdetailbasic | BusinessProcess | Business Process | |
| PersonnelNumber | P_Wiprevdetailbasic | PersonnelNumber | Personnel No. | |
| DocumentDate | cobk | bldat | Journal Entry Date | |
| ManualInvoiceItem | ||||
| ControllingObject | P_Wiprevdetailbasic | ControllingObject | Object number | |
| TransacCrcyForInvoiceAmount | ||||
| ObjectCrcyForInvoiceAmount | ||||
| CtrlgAreaCrcyForInvoiceAmount | ||||
| ForInvoiceQuantity | ||||
| TransacCrcyForRjcnAmount | ||||
| ObjectCrcyForRjcnAmount | ||||
| CtrlgAreaCrcyForRjcnAmount | ||||
| ForRjcnQuantity | ||||
| SalesDocumentItemCurrency | P_Wiprevdetailbasic | SalesDocumentItemCurrency | ||
| TransacCrcyInvoicedAmount | ||||
| ObjectCrcyInvoicedAmount | ||||
| CtrlgAreaCrcyInvoicedAmount | ||||
| InvoicedQuantity | ||||
| TransacCrcyRejectedAmount | ||||
| ObjectCrcyRejectedAmount | ||||
| CtrlgAreaCrcyRejectedAmount | ||||
| RejectedQuantity | ||||
| TransacCrcyWIPAmount | ||||
| ObjectCrcyWIPAmount | ||||
| CtrlgAreaCrcyWIPAmount | ||||
| WIPQuantity | ||||
| TotTransacCrcyInvoiceSimlnAmt | ||||
| TotObjectCrcyInvoiceSimlnAmt | ||||
| TotCtrlgAreaCrcyInvcSimlnAmt | ||||
| RevenueCostElement | ||||
| SoldMaterial | ||||
| TransacCrcyInvoiceSimlnAmt | ||||
| ObjectCrcyInvoiceSimlnAmt | ||||
| CtrlgAreaCrcyInvoiceSimlnAmt | ||||
| ControllingObjectCurrency | P_Wiprevdetailbasic | ControllingObjectCurrency | CO Object Currency | |
| ControllingAreaCurrency | P_Wiprevdetailbasic | ControllingAreaCurrency | ||
| TransacCurrencyInvoiceSimln | P_Wiprevdetailbasic | TransacCurrencyInvoiceSimln | ||
| ResultAnalysisVersion | P_Wiprevdetailbasic | ResultAnalysisVersion | ||
| WBSElementInternalID | prps | pspnr | WBS Element | |
| WBSElement | prps | posid | WBS Element | |
| WBSDescription | prps | post1 | Update | |
| ProjectInternalID | proj | pspnr | WBS Element | |
| Project | proj | pspid | Std. proj. def. | |
| ProjectDescription | proj | post1 | Update | |
| CompanyCode | prps | pbukr | Target Company Code | |
| BusinessArea | prps | pgsbr | Bus.area | |
| ControllingArea | prps | pkokr | CO area | |
| ProfitCenter | prps | prctr | Profit Centers | |
| ResultAnalysisInternalID | Results Analysis Key | |||
| Plant | prps | werks | Receiving Plant | |
| ControllingObjectClass | Visibility | |||
| FunctionalArea | prps | func_area | Receiving Func. Area | |
| ProfitLossAccountUnbilledRev | G/L acct prf/ls | |||
| PostingPeriod | Posting Period | |||
| TransactionCurrency | P_Wiprevdetailbasic | TransactionCurrency | Transaction Currency | |
| UnitOfMeasure | P_Wiprevdetailbasic | UnitOfMeasure | Unit Protected Qty | |
| CostElement | P_Wiprevdetailbasic | CostElement | G/L Account | |
| CostCenter | P_Wiprevdetailbasic | CostCenter | Cost Center | |
| CostCtrActivityType | P_Wiprevdetailbasic | CostCtrActivityType | Activity Type | |
| Material | P_Wiprevdetailbasic | Material | Vehicle Model | |
| BusinessProcess | P_Wiprevdetailbasic | BusinessProcess | Business Process | |
| PersonnelNumber | P_Wiprevdetailbasic | PersonnelNumber | Personnel No. | |
| DocumentDate | cobk | bldat | Journal Entry Date | |
| ManualInvoiceItem | ||||
| ControllingObject | P_Wiprevdetailbasic | ControllingObject | Object number | |
| TransacCrcyForInvoiceAmount | ||||
| ObjectCrcyForInvoiceAmount | ||||
| CtrlgAreaCrcyForInvoiceAmount | ||||
| ForInvoiceQuantity | ||||
| TransacCrcyForRjcnAmount | ||||
| ObjectCrcyForRjcnAmount | ||||
| CtrlgAreaCrcyForRjcnAmount | ||||
| ForRjcnQuantity | ||||
| SalesDocumentItemCurrency | P_Wiprevdetailbasic | SalesDocumentItemCurrency | ||
| TransacCrcyInvoicedAmount | ||||
| ObjectCrcyInvoicedAmount | ||||
| CtrlgAreaCrcyInvoicedAmount | ||||
| InvoicedQuantity | ||||
| TransacCrcyRejectedAmount | ||||
| ObjectCrcyRejectedAmount | ||||
| CtrlgAreaCrcyRejectedAmount | ||||
| RejectedQuantity | ||||
| TransacCrcyWIPAmount | ||||
| ObjectCrcyWIPAmount | ||||
| CtrlgAreaCrcyWIPAmount | ||||
| WIPQuantity | ||||
| TotTransacCrcyInvoiceSimlnAmt | ||||
| TotObjectCrcyInvoiceSimlnAmt | ||||
| TotCtrlgAreaCrcyInvcSimlnAmt | ||||
| RevenueCostElement | ||||
| SoldMaterial | ||||
| TransacCrcyInvoiceSimlnAmt | ||||
| ObjectCrcyInvoiceSimlnAmt | ||||
| CtrlgAreaCrcyInvoiceSimlnAmt | ||||
| ControllingObjectCurrency | P_Wiprevdetailbasic | ControllingObjectCurrency | CO Object Currency | |
| ControllingAreaCurrency | P_Wiprevdetailbasic | ControllingAreaCurrency | ||
| TransacCurrencyInvoiceSimln | P_Wiprevdetailbasic | TransacCurrencyInvoiceSimln | ||
| ResultAnalysisVersion | P_Wiprevdetailbasic | ResultAnalysisVersion | ||
| WBSElementInternalID | prps | pspnr | WBS Element | |
| WBSElement | prps | posid | WBS Element | |
| WBSDescription | prps | post1 | Update | |
| ProjectInternalID | proj | pspnr | WBS Element | |
| Project | proj | pspid | Std. proj. def. | |
| ProjectDescription | proj | post1 | Update | |
| CompanyCode | prps | pbukr | Target Company Code | |
| BusinessArea | prps | pgsbr | Bus.area | |
| ControllingArea | prps | pkokr | CO area | |
| ProfitCenter | prps | prctr | Profit Centers | |
| ResultAnalysisInternalID | P_Wiprevdetailbasic | ResultAnalysisInternalID | Results Analysis Key | |
| Plant | prps | werks | Receiving Plant | |
| ControllingObjectClass | prps | scope | Visibility | |
| FunctionalArea | prps | func_area | Receiving Func. Area | |
| ProfitLossAccountUnbilledRev | P_Wiprevdetsrvkb | sakso | G/L acct prf/ls | |
| BlanceSheetAccountUnbilledRev | P_Wiprevdetsrvkb | sakha | G/L act balance |
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_Projectwiprevdetlbasic.
-- 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: PPROJ_DLIWPRV_BS
CREATE VIEW P_Projectwiprevdetlbasic AS
SELECT
a.PostingPeriod AS PostingPeriod,
a.TransactionCurrency AS TransactionCurrency,
a.UnitOfMeasure AS UnitOfMeasure,
a.CostElement AS CostElement,
a.CostCenter AS CostCenter,
a.CostCtrActivityType AS CostCtrActivityType,
a.Material AS Material,
a.BusinessProcess AS BusinessProcess,
a.PersonnelNumber AS PersonnelNumber,
e.bldat AS DocumentDate,
cast ( a.ManualInvoiceItem as pro_dw_man_item ) AS ManualInvoiceItem,
a.ControllingObject AS ControllingObject,
cast ( ( a.TransacCrcyForInvoiceAmount - a.TransacCrcyInvoicedAmount ) as pro_dw_in_wtgbtr ) AS TransacCrcyForInvoiceAmount,
cast ( ( a.ObjectCrcyForInvoiceAmount - a.ObjectCrcyInvoicedAmount ) as pro_dw_in_wogbtr ) AS ObjectCrcyForInvoiceAmount,
cast ( ( a.CtrlgAreaCrcyForInvoiceAmount - a.CtrlgAreaCrcyInvoicedAmount )as pro_dw_in_wkgbtr ) AS CtrlgAreaCrcyForInvoiceAmount,
cast ( ( a.ForInvoiceQuantity - a.InvoicedQuantity ) as pro_dw_in_quantity ) AS ForInvoiceQuantity,
cast ( a.TransacCrcyForRjcnAmount as pro_dw_no_wtgbtr ) AS TransacCrcyForRjcnAmount,
cast ( a.ObjectCrcyForRjcnAmount as pro_dw_no_wogbtr ) AS ObjectCrcyForRjcnAmount,
cast ( a.CtrlgAreaCrcyForRjcnAmount as pro_dw_no_wkgbtr ) AS CtrlgAreaCrcyForRjcnAmount,
cast ( a.ForRjcnQuantity as pro_dw_no_quantity ) AS ForRjcnQuantity,
a.SalesDocumentItemCurrency AS SalesDocumentItemCurrency,
cast ( a.TransacCrcyInvoicedAmount as ad01abc_wtg ) AS TransacCrcyInvoicedAmount,
cast ( a.ObjectCrcyInvoicedAmount as ad01abc_wog ) AS ObjectCrcyInvoicedAmount,
cast ( a.CtrlgAreaCrcyInvoicedAmount as ad01abc_wkg ) AS CtrlgAreaCrcyInvoicedAmount,
cast ( a.InvoicedQuantity as ad01abc_meg ) AS InvoicedQuantity,
cast ( a.TransacCrcyRejectedAmount as ad01noc_wtg ) AS TransacCrcyRejectedAmount,
cast ( a.ObjectCrcyRejectedAmount as ad01noc_wog ) AS ObjectCrcyRejectedAmount,
cast ( a.CtrlgAreaCrcyRejectedAmount as ad01noc_wkg ) AS CtrlgAreaCrcyRejectedAmount,
cast ( a.RejectedQuantity as ad01noc_meg ) AS RejectedQuantity,
cast ( a.TransacCrcyWIPAmount as ad01tbc_wtg ) AS TransacCrcyWIPAmount,
cast ( a.ObjectCrcyWIPAmount as ad01tbc_wog ) AS ObjectCrcyWIPAmount,
cast ( a.CtrlgAreaCrcyWIPAmount as ad01tbc_wkg ) AS CtrlgAreaCrcyWIPAmount,
cast ( a.WIPQuantity as ad01tbc_meg ) AS WIPQuantity,
cast ( a.TotTransacCrcyInvoiceSimlnAmt as ad01rev_wtg ) AS TotTransacCrcyInvoiceSimlnAmt,
cast ( a.TotObjectCrcyInvoiceSimlnAmt as pro_dw_revsim_wogbtr ) AS TotObjectCrcyInvoiceSimlnAmt,
cast ( a.TotCtrlgAreaCrcyInvcSimlnAmt as ad01rev_wkg ) AS TotCtrlgAreaCrcyInvcSimlnAmt,
cast ( a.RevenueCostElement as pro_dw_rev_kstar ) AS RevenueCostElement,
cast ( a.SoldMaterial as pro_dw_rev_matnr ) AS SoldMaterial,
cast ( a.TransacCrcyInvoiceSimlnAmt as ad01rev_wtg ) AS TransacCrcyInvoiceSimlnAmt,
cast ( a.ObjectCrcyInvoiceSimlnAmt as ad01rev_wog ) AS ObjectCrcyInvoiceSimlnAmt,
cast ( a.CtrlgAreaCrcyInvoiceSimlnAmt as ad01rev_wkg ) AS CtrlgAreaCrcyInvoiceSimlnAmt,
a.ControllingObjectCurrency AS ControllingObjectCurrency,
a.ControllingAreaCurrency AS ControllingAreaCurrency,
a.TransacCurrencyInvoiceSimln AS TransacCurrencyInvoiceSimln,
a.ResultAnalysisVersion AS ResultAnalysisVersion,
b.pspnr AS WBSElementInternalID,
b.posid AS WBSElement,
b.post1 AS WBSDescription,
c.pspnr AS ProjectInternalID,
c.pspid AS Project,
c.post1 AS ProjectDescription,
b.pbukr AS CompanyCode,
b.pgsbr AS BusinessArea,
b.pkokr AS ControllingArea,
b.prctr AS ProfitCenter,
cast(' ' as abgr_schl) AS ResultAnalysisInternalID,
b.werks AS Plant,
cast ( b.scope as scope preserving type ) AS ControllingObjectClass,
b.func_area AS FunctionalArea,
cast(' ' as saknr_soll) AS ProfitLossAccountUnbilledRev,
z.sakha AS BlanceSheetAccountUnbilledRev
FROM P_Wipdetailbasic AS a
INNER JOIN prps AS b ON /* join condition not captured in parsed metadata */
INNER JOIN proj AS c ON /* join condition not captured in parsed metadata */
INNER JOIN tka01 AS d ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN cobk AS e ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_Wiprevdetsrvkb AS z ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): P_Wiprevdetailbasic
;
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