P_QuantityVarianceLastUpdt

DDL: P_QUANTITYVARIANCELASTUPDT SQL: PQTYVARLSTUPDT Type: view CONSUMPTION Package: ODATA_MM_ANALYTICS

Quantity Variance Last Updated

P_QuantityVarianceLastUpdt is a Consumption CDS View that provides data about "Quantity Variance Last Updated" in SAP S/4HANA. It reads from 1 data source (I_SuplrEvalAdjmtScore) and exposes 3 fields with key fields PurchaseOrder, PurchaseOrderItem. Part of development package ODATA_MM_ANALYTICS.

Data Sources (1)

SourceAliasJoin Type
I_SuplrEvalAdjmtScore SupplierScore from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PQTYVARLSTUPDT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Quantity Variance Last Updated view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder I_SuplrEvalAdjmtScore PurchaseOrder Purchasing Document
KEY PurchaseOrderItem I_SuplrEvalAdjmtScore PurchaseOrderItem Purchasing Document Item
LastChangeDateTime

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_QuantityVarianceLastUpdt.
-- 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: PQTYVARLSTUPDT

CREATE VIEW P_QuantityVarianceLastUpdt AS
SELECT
  SupplierScore.PurchaseOrder AS PurchaseOrder,
  SupplierScore.PurchaseOrderItem AS PurchaseOrderItem,
  max( SupplierScore.LastChangeDateTime ) AS LastChangeDateTime
FROM I_SuplrEvalAdjmtScore AS SupplierScore
;