P_EBPAO_WIPTrend
P_EBPAO_WIPTrend is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_EBPAO_AdjustedOrder4Cost, P_EBPAO_WIPTrend2) and exposes 13 fields with key fields CompanyCode, OrderID, OrderItem, FiscalYearPeriod, OrderType.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_EBPAO_AdjustedOrder4Cost | OrderContext | from |
| P_EBPAO_WIPTrend2 | P_EBPAO_WIPTrend2 | inner |
Parameters (7)
| Name | Type | Default |
|---|---|---|
| P_Ledger | fins_ledger | |
| P_ToFiscalYearPeriod | fins_fyearperiod | |
| P_ToFiscalYearPeriod2 | fins_fyearperiod | |
| P_ToFiscalYearPeriod3 | fins_fyearperiod | |
| P_ToFiscalYearPeriod4 | fins_fyearperiod | |
| P_ToFiscalYearPeriod5 | fins_fyearperiod | |
| P_CurrencyRole | fis_curtp |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PEBPAOWIPTREND | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | 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 (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | P_EBPAO_AdjustedOrder4Cost | CompanyCode | Receiver Company Code |
| KEY | OrderID | P_EBPAO_AdjustedOrder4Cost | OrderID | Order ID |
| KEY | OrderItem | WIPCost | OrderItem | |
| KEY | FiscalYearPeriod | WIPCost | FiscalYearPeriod | Period/Year |
| 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 |
| Period01AmountInDisplayCrcy |
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_WIPTrend.
-- 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_ToFiscalYearPeriod2 : fins_fyearperiod, P_ToFiscalYearPeriod3 : fins_fyearperiod, P_ToFiscalYearPeriod4 : fins_fyearperiod, P_ToFiscalYearPeriod5 : fins_fyearperiod, P_CurrencyRole : fis_curtp
CREATE VIEW P_EBPAO_WIPTrend AS
SELECT
OrderContext.CompanyCode AS CompanyCode,
OrderContext.OrderID AS OrderID,
WIPCost.OrderItem AS OrderItem,
WIPCost.FiscalYearPeriod AS FiscalYearPeriod,
OrderContext.OrderType AS OrderType,
OrderContext.OrderCategory AS OrderCategory,
OrderContext.ControllingArea AS ControllingArea,
OrderContext.Plant AS Plant,
OrderContext.StorageLocation AS StorageLocation,
OrderContext.ProfitCenter AS ProfitCenter,
OrderContext.Product AS Product,
OrderContext.ProductGroup AS ProductGroup,
cast(WIPCost.AmountInDisplayCurrency as abgbesges) AS Period01AmountInDisplayCrcy
FROM P_EBPAO_AdjustedOrder4Cost AS OrderContext
INNER JOIN P_EBPAO_WIPTrend2 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