P_PurOrdItemTimeVar

DDL: P_PURORDITEMTIMEVAR SQL: PPURORDITMTIMV Type: view CONSUMPTION

Purchase Order Item for Time Variance

P_PurOrdItemTimeVar is a Consumption CDS View that provides data about "Purchase Order Item for Time Variance" in SAP S/4HANA. It reads from 2 data sources (I_PurchasingDocument, I_PurchasingDocumentItem) and exposes 4 fields with key fields PurchaseOrder, PurchaseOrderItem.

Data Sources (2)

SourceAliasJoin Type
I_PurchasingDocument PurOrd from
I_PurchasingDocumentItem PurOrdItem inner

Parameters (2)

NameTypeDefault
P_StartDate bedat
P_EndDate bedat

Annotations (9)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName PPURORDITMTIMV view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
VDM.private true view
EndUserText.label Purchase Order Item for Time Variance view
AccessControl.personalData.blocking #NOT_REQUIRED view
AbapCatalog.preserveKey true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder I_PurchasingDocument PurchasingDocument Purchasing Document
KEY PurchaseOrderItem I_PurchasingDocumentItem PurchasingDocumentItem Purchasing Doc. Item
IsReturnsItem I_PurchasingDocumentItem IsReturnsItem Returns Item
PurchasingDocumentCategory I_PurchasingDocument PurchasingDocumentCategory Doc. Category

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_PurOrdItemTimeVar.
-- 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: PPURORDITMTIMV
-- Parameters: P_StartDate : bedat, P_EndDate : bedat

CREATE VIEW P_PurOrdItemTimeVar AS
SELECT
  PurOrd.PurchasingDocument AS PurchaseOrder,
  PurOrdItem.PurchasingDocumentItem AS PurchaseOrderItem,
  PurOrdItem.IsReturnsItem AS IsReturnsItem,
  PurOrd.PurchasingDocumentCategory AS PurchasingDocumentCategory
FROM I_PurchasingDocument AS PurOrd
INNER JOIN I_PurchasingDocumentItem AS PurOrdItem ON /* join condition not captured in parsed metadata */
;