P_TimeVarianceLastUpdt

DDL: P_TIMEVARIANCELASTUPDT SQL: PTIMEVARLSTUPDT Type: view CONSUMPTION Package: ODATA_MM_ANALYTICS

Time Variance Last Updated

P_TimeVarianceLastUpdt is a Consumption CDS View that provides data about "Time 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 PTIMEVARLSTUPDT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Time 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_TimeVarianceLastUpdt.
-- 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: PTIMEVARLSTUPDT

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