P_PriceVarianceOpsSEUpdated

DDL: P_PRICEVARIANCEOPSSEUPDATED SQL: PPRICEVAROSEUP Type: view CONSUMPTION Package: ODATA_MM_ANALYTICS

Price Variance Stack for Operational SE Updated

P_PriceVarianceOpsSEUpdated is a Consumption CDS View that provides data about "Price Variance Stack for Operational SE Updated" in SAP S/4HANA. It reads from 1 data source (P_PriceVarianceOpsSEUnion) and exposes 17 fields with key fields PurchaseOrder, PurchaseOrderItem. Part of development package ODATA_MM_ANALYTICS.

Data Sources (1)

SourceAliasJoin Type
P_PriceVarianceOpsSEUnion P_PriceVarianceOpsSEUnion from

Parameters (2)

NameTypeDefault
P_StartDate budat
P_EndDate budat

Annotations (8)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName PPRICEVAROSEUP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #NOT_REQUIRED view
AbapCatalog.preserveKey true view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PriceVariance PurchaseOrder Purchasing Document
KEY PurchaseOrderItem PriceVariance PurchaseOrderItem Purchasing Document Item
PurchasingOrganization PriceVariance PurchasingOrganization Purchasing Organization
PurchasingDocumentCategory PurchasingDocumentCategory Doc. Category
Supplier Supplier Supplier
CompanyCode CompanyCode Receiver Company Code
PurchasingGroup PurchasingGroup Purchasing Group
Plant Plant Valuation Area
Material Material Vehicle Model
MaterialGroup MaterialGroup Product Group
PurchaseOrderDate PurchaseOrderDate PO Date
NetAmount NetAmount Stated Amount
DocumentCurrency DocumentCurrency Document Currency
PurchasingCategory PriceVariance PurchasingCategory Purchasing Category
PurgCatName PurgCatName Purchasing Cat. Name
PurgDocMigrtnIsCmpltdForAnlyts PurgDocMigrtnIsCmpltdForAnlyts
SuplrEvalRelevantDocCategory SuplrEvalRelevantDocCategory

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_PriceVarianceOpsSEUpdated.
-- 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: PPRICEVAROSEUP
-- Parameters: P_StartDate : budat, P_EndDate : budat

CREATE VIEW P_PriceVarianceOpsSEUpdated AS
SELECT
  PriceVariance.PurchaseOrder AS PurchaseOrder,
  PriceVariance.PurchaseOrderItem AS PurchaseOrderItem,
  PriceVariance.PurchasingOrganization AS PurchasingOrganization,
  PurchasingDocumentCategory,
  Supplier,
  CompanyCode,
  PurchasingGroup,
  Plant,
  Material,
  MaterialGroup,
  PurchaseOrderDate,
  NetAmount,
  DocumentCurrency,
  PriceVariance.PurchasingCategory AS PurchasingCategory,
  PurgCatName,
  PurgDocMigrtnIsCmpltdForAnlyts,
  SuplrEvalRelevantDocCategory
FROM P_PriceVarianceOpsSEUnion
;