P_EBPAO_WIPOverview
P_EBPAO_WIPOverview is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_EBPAO_AdjustedOrder4Cost, P_EBPAO_WIPOverview2) and exposes 18 fields with key fields Ledger, CompanyCode, OrderID, OrderItem, OrderType. It has 5 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_EBPAO_AdjustedOrder4Cost | EvtBsdOrderAndItem | from |
| P_EBPAO_WIPOverview2 | P_EBPAO_WIPOverview2 | inner |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_Ledger | fins_ledger | |
| P_ToFiscalYearPeriod | fins_fyearperiod | |
| P_CurrencyRole | fis_curtp |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Plant | _Plant | _Plant.Plant = $projection.Plant |
| [0..*] | I_ProfitCenterText | _ProfitCenterText | _ProfitCenterText.ControllingArea = $projection.ControllingArea and _ProfitCenterText.ProfitCenter = $projection.ProfitCenter and _ProfitCenterText.ValidityStartDate <= $session.system_date and _ProfitCenterText.ValidityEndDate >= $session.system_date |
| [0..*] | I_ProductText | _ProductText | _ProductText.Product = $projection.Product |
| [0..*] | I_ProductGroupText | _ProductGroupText | _ProductGroupText.MaterialGroup = $projection.ProductGroup |
| [0..1] | I_StorageLocation | _StorageLocation | _StorageLocation.Plant = $projection.Plant and _StorageLocation.StorageLocation = $projection.StorageLocation |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PEBPAOWIPOVW | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | _WIPCost | Ledger | Ledger |
| KEY | CompanyCode | P_EBPAO_AdjustedOrder4Cost | CompanyCode | Receiver Company Code |
| KEY | OrderID | P_EBPAO_AdjustedOrder4Cost | OrderID | Order ID |
| KEY | OrderItem | _WIPCost | OrderItem | |
| KEY | OrderType | P_EBPAO_AdjustedOrder4Cost | OrderType | Order Type |
| KEY | OrderCategory | P_EBPAO_AdjustedOrder4Cost | OrderCategory | Order Category |
| KEY | ControllingArea | P_EBPAO_AdjustedOrder4Cost | ControllingArea | Controlling Area |
| KEY | Plant | P_EBPAO_AdjustedOrder4Cost | Plant | Valuation Area |
| KEY | StorageLocation | P_EBPAO_AdjustedOrder4Cost | StorageLocation | StorageLocation |
| KEY | ProfitCenter | P_EBPAO_AdjustedOrder4Cost | ProfitCenter | Profit Center |
| KEY | Product | P_EBPAO_AdjustedOrder4Cost | Product | Product Sold |
| KEY | ProductGroup | P_EBPAO_AdjustedOrder4Cost | ProductGroup | Product Sold Group |
| TotalWIPAmountInDspCrcy | ||||
| _Plant | _Plant | |||
| _ProfitCenterText | _ProfitCenterText | |||
| _ProductText | _ProductText | |||
| _ProductGroupText | _ProductGroupText | |||
| _StorageLocation | _StorageLocation |
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_EBPAO_WIPOverview.
-- 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.
-- Parameters: P_Ledger : fins_ledger, P_ToFiscalYearPeriod : fins_fyearperiod, P_CurrencyRole : fis_curtp
CREATE VIEW P_EBPAO_WIPOverview AS
SELECT
_WIPCost.Ledger AS Ledger,
EvtBsdOrderAndItem.CompanyCode AS CompanyCode,
EvtBsdOrderAndItem.OrderID AS OrderID,
_WIPCost.OrderItem AS OrderItem,
EvtBsdOrderAndItem.OrderType AS OrderType,
EvtBsdOrderAndItem.OrderCategory AS OrderCategory,
EvtBsdOrderAndItem.ControllingArea AS ControllingArea,
EvtBsdOrderAndItem.Plant AS Plant,
EvtBsdOrderAndItem.StorageLocation AS StorageLocation,
EvtBsdOrderAndItem.ProfitCenter AS ProfitCenter,
EvtBsdOrderAndItem.Product AS Product,
EvtBsdOrderAndItem.ProductGroup AS ProductGroup,
cast(_WIPCost.AmountInDisplayCurrency as abgbesges) AS TotalWIPAmountInDspCrcy
FROM P_EBPAO_AdjustedOrder4Cost AS EvtBsdOrderAndItem
INNER JOIN P_EBPAO_WIPOverview2 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Plant AS _Plant ON _Plant.Plant = Plant -- association [0..1]
LEFT OUTER JOIN I_ProfitCenterText AS _ProfitCenterText ON _ProfitCenterText.ControllingArea = ControllingArea AND _ProfitCenterText.ProfitCenter = ProfitCenter AND _ProfitCenterText.ValidityStartDate <= $session.system_date AND _ProfitCenterText.ValidityEndDate >= $session.system_date -- association [0..*]
LEFT OUTER JOIN I_ProductText AS _ProductText ON _ProductText.Product = Product -- association [0..*]
LEFT OUTER JOIN I_ProductGroupText AS _ProductGroupText ON _ProductGroupText.MaterialGroup = ProductGroup -- association [0..*]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON _StorageLocation.Plant = Plant AND _StorageLocation.StorageLocation = StorageLocation -- association [0..1]
;
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