P_CctrItmDistrConsumedValue

DDL: P_CCTRITMDISTRCONSUMEDVALUE SQL: PCPCIDCONVALUE Type: view COMPOSITE

P_CctrItmDistrConsumedValue is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_CctrItmDistrSumOfConsumed) and exposes 8 fields with key fields CentralPurchaseContract, CentralPurchaseContractItem, DistributionKey.

Data Sources (1)

SourceAliasJoin Type
P_CctrItmDistrSumOfConsumed P_CctrItmDistrSumOfConsumed from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PCPCIDCONVALUE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY CentralPurchaseContract CentralPurchaseContract Purchasing Doc.
KEY CentralPurchaseContractItem CentralPurchaseContractItem Item in Central Purchase Contract
KEY DistributionKey DistributionKey Distr. Number
PurchaseContractType PurchaseContractType Order Type
ReleaseOrderItemQuantityUnit ReleaseOrderItemQuantityUnit Order Unit
CntrlPurContractGRQuantity CntrlPurContractGRQuantity
CntrlPurContractGRAmount CntrlPurContractGRAmount
ReleaseOrderCurrency ReleaseOrderCurrency Currency

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_CctrItmDistrConsumedValue.
-- 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: PCPCIDCONVALUE

CREATE VIEW P_CctrItmDistrConsumedValue AS
SELECT
  CentralPurchaseContract,
  CentralPurchaseContractItem,
  DistributionKey,
  PurchaseContractType,
  ReleaseOrderItemQuantityUnit,
  CntrlPurContractGRQuantity,
  CntrlPurContractGRAmount,
  ReleaseOrderCurrency
FROM P_CctrItmDistrSumOfConsumed
;