P_ContractItemRelQuan

DDL: P_CONTRACTITEMRELQUAN SQL: PCTRITMRELQUAN Type: view CONSUMPTION

Private view for Purchase Contract Item Released Quantity

P_ContractItemRelQuan is a Consumption CDS View that provides data about "Private view for Purchase Contract Item Released Quantity" in SAP S/4HANA. It reads from 1 data source (I_PurchaseContractItem) and exposes 3 fields with key fields PurchaseContract, PurchaseContractItem.

Data Sources (1)

SourceAliasJoin Type
I_PurchaseContractItem I_PurchaseContractItem from

Annotations (7)

NameValueLevelField
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName PCTRITMRELQUAN view
ClientDependent true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
EndUserText.label Private view for Purchase Contract Item Released Quantity view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY PurchaseContract I_PurchaseContractItem PurchaseContract Purchasing Doc.
KEY PurchaseContractItem I_PurchaseContractItem PurchaseContractItem Item
ReleasedQuantity

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_ContractItemRelQuan.
-- 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: PCTRITMRELQUAN

CREATE VIEW P_ContractItemRelQuan AS
SELECT
  I_PurchaseContractItem.PurchaseContract AS PurchaseContract,
  I_PurchaseContractItem.PurchaseContractItem AS PurchaseContractItem,
  sum (_PurchaseContractHistory.ReleaseOrderItemOrderQuantity) AS ReleasedQuantity
FROM I_PurchaseContractItem
;