C_EvtBsdProdnOvwVarianceTrend
Event-Based Production Accounting Overview Variance Trend
C_EvtBsdProdnOvwVarianceTrend is a Consumption CDS View that provides data about "Event-Based Production Accounting Overview Variance Trend" in SAP S/4HANA. It reads from 1 data source (P_EBPAO_VarianceTrend) and exposes 22 fields with key fields CompanyCode, OrderID, OrderItem, FiscalYearPeriod, OrderType.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_EBPAO_VarianceTrend | P_EBPAO_VarianceTrend | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_Ledger | fins_ledger | |
| P_FromFiscalYearPeriod | fins_fyearperiod | |
| P_ToFiscalYearPeriod | fins_fyearperiod | |
| P_CurrencyRole | fis_curtp |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CEBPAOVARCTRD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Event-Based Production Accounting Overview Variance Trend | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | OrderID | OrderID | Order ID | |
| KEY | OrderItem | OrderItem | ||
| KEY | FiscalYearPeriod | FiscalYearPeriod | Period/Year | |
| KEY | OrderType | OrderType | Order Type | |
| KEY | OrderCategory | OrderCategory | Order Category | |
| KEY | ControllingArea | ControllingArea | Controlling Area | |
| KEY | Plant | Plant | Valuation Area | |
| KEY | StorageLocation | StorageLocation | StorageLocation | |
| KEY | ProfitCenter | ProfitCenter | Profit Center | |
| KEY | Product | Product | Product Sold | |
| KEY | ProductGroup | ProductGroup | Product Sold Group | |
| KEY | SubLedgerAcctLineItemType | SubLedgerAcctLineItemType | SLALineItemType | |
| DisplayCurrency | ||||
| InptPrVarcAmtInDspCrcy | ||||
| InptQtyVarcAmtInDspCrcy | ||||
| RsceUsgeVarcAmtInDspCrcy | ||||
| ScrapVarcAmtInDspCrcy | ||||
| MixedPrVarcAmtInDspCrcy | ||||
| OutpPrVarcAmtInDspCrcy | ||||
| LotSizeVarcAmtInDspCrcy | ||||
| RmngVarcAmtInDspCrcy |
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 C_EvtBsdProdnOvwVarianceTrend.
-- 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_FromFiscalYearPeriod : fins_fyearperiod, P_ToFiscalYearPeriod : fins_fyearperiod, P_CurrencyRole : fis_curtp
CREATE VIEW C_EvtBsdProdnOvwVarianceTrend AS
SELECT
CompanyCode,
OrderID,
OrderItem,
FiscalYearPeriod,
OrderType,
OrderCategory,
ControllingArea,
Plant,
StorageLocation,
ProfitCenter,
Product,
ProductGroup,
SubLedgerAcctLineItemType,
cast('' as waers) AS DisplayCurrency,
cast(InptPrVarcAmtInDspCrcy as fis_inptprvarcamt_in_dspcrcy preserving type) AS InptPrVarcAmtInDspCrcy,
cast(InptQtyVarcAmtInDspCrcy as fis_inptqtyvarcamt_in_dspcrcy preserving type) AS InptQtyVarcAmtInDspCrcy,
cast(RsceUsgeVarcAmtInDspCrcy as fis_rsceusgevarcamt_in_dspcrcy preserving type) AS RsceUsgeVarcAmtInDspCrcy,
cast(ScrapVarcAmtInDspCrcy as fco_eb_scrapvarcamt_in_dspcrcy preserving type) AS ScrapVarcAmtInDspCrcy,
cast(MixedPrVarcAmtInDspCrcy as fco_eb_mixprvarcamt_in_dspcrcy preserving type) AS MixedPrVarcAmtInDspCrcy,
cast(OutpPrVarcAmtInDspCrcy as fco_eb_outprvarcamt_in_dspcrcy preserving type) AS OutpPrVarcAmtInDspCrcy,
cast(LotSizeVarcAmtInDspCrcy as fis_lotsizevarcamt_in_dspcrcy preserving type) AS LotSizeVarcAmtInDspCrcy,
cast(RmngVarcAmtInDspCrcy as fco_eb_rmngvarcamt_in_dspcrcy preserving type) AS RmngVarcAmtInDspCrcy
FROM P_EBPAO_VarianceTrend
;
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