P_PCCEvtBsdWIPVarc
WIP and Variance for Event-Based PCC
P_PCCEvtBsdWIPVarc is a Composite CDS View that provides data about "WIP and Variance for Event-Based PCC" in SAP S/4HANA. It reads from 2 data sources (P_RTPC_PCC_OrderBasic, I_LedgerCompanyCodeCrcyRolesVH) and exposes 13 fields with key fields Ledger, CompanyCode, OrderID, OrderType, OrderCategory. Part of development package FINS_PCC_RTPC_REM.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_RTPC_PCC_OrderBasic | _EvtBsdOrderAndItem | from |
| I_LedgerCompanyCodeCrcyRolesVH | _LdgrCompCodeCrcy | inner |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_Ledger | fins_ledger | |
| P_FromFiscalYearPeriod | fins_fyearperiod | |
| P_ToFiscalYearPeriod | fins_fyearperiod | |
| P_CurrencyRole | fac_crcyrole |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPCCEBWIPVRC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | |||
| KEY | CompanyCode | P_RTPC_PCC_OrderBasic | CompanyCode | Receiver Company Code |
| KEY | OrderID | P_RTPC_PCC_OrderBasic | OrderID | Order ID |
| KEY | OrderType | P_RTPC_PCC_OrderBasic | OrderType | Order Type |
| KEY | OrderCategory | P_RTPC_PCC_OrderBasic | OrderCategory | Order Category |
| KEY | ChartOfAccounts | _WIPVariance | ChartOfAccounts | Node Class |
| KEY | GLAccount | _WIPVariance | GLAccount | General Ledger |
| KEY | Plant | P_RTPC_PCC_OrderBasic | Plant | Valuation Area |
| KEY | ProducedProduct | P_RTPC_PCC_OrderBasic | Material | Vehicle Model |
| KEY | OriginProduct | _WIPVariance | OriginProduct | |
| KEY | OriginCostCenter | _WIPVariance | OriginCostCenter | |
| KEY | OriginCostCtrActivityType | _WIPVariance | OriginCostCtrActivityType | |
| DisplayCurrency | I_LedgerCompanyCodeCrcyRolesVH | Currency | Valuation Crcy |
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_PCCEvtBsdWIPVarc.
-- 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: PPCCEBWIPVRC
-- Parameters: P_Ledger : fins_ledger, P_FromFiscalYearPeriod : fins_fyearperiod, P_ToFiscalYearPeriod : fins_fyearperiod, P_CurrencyRole : fac_crcyrole
CREATE VIEW P_PCCEvtBsdWIPVarc AS
SELECT
cast(:P_Ledger as fins_ledger preserving type) AS Ledger,
_EvtBsdOrderAndItem.CompanyCode AS CompanyCode,
_EvtBsdOrderAndItem.OrderID AS OrderID,
_EvtBsdOrderAndItem.OrderType AS OrderType,
_EvtBsdOrderAndItem.OrderCategory AS OrderCategory,
_WIPVariance.ChartOfAccounts AS ChartOfAccounts,
_WIPVariance.GLAccount AS GLAccount,
_EvtBsdOrderAndItem.Plant AS Plant,
_EvtBsdOrderAndItem.Material AS ProducedProduct,
_WIPVariance.OriginProduct AS OriginProduct,
_WIPVariance.OriginCostCenter AS OriginCostCenter,
_WIPVariance.OriginCostCtrActivityType AS OriginCostCtrActivityType,
_LdgrCompCodeCrcy.Currency AS DisplayCurrency
FROM P_RTPC_PCC_OrderBasic AS _EvtBsdOrderAndItem
INNER JOIN I_LedgerCompanyCodeCrcyRolesVH AS _LdgrCompCodeCrcy 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