P_ChangeDocumentItem3

DDL: P_CHANGEDOCUMENTITEM3 SQL: PMMCDPOS3 Type: view CONSUMPTION

P_ChangeDocumentItem3 is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (P_ChangeDocumentItem2) and exposes 4 fields with key fields ChangeDocObject, Item, DatabaseTable.

Data Sources (1)

SourceAliasJoin Type
P_ChangeDocumentItem2 P_ChangeDocumentItem2 from

Parameters (2)

NameTypeDefault
P_StartDate vdm_validitystart
P_EndDate vdm_validityend

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PMMCDPOS3 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
VDM.viewType #CONSUMPTION view
VDM.private true view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ChangeDocObject ChangeDocObject Object Value
KEY Item Item Task ID
KEY DatabaseTable DatabaseTable Table Name
NumberOfPriceChanges

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_ChangeDocumentItem3.
-- 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: PMMCDPOS3
-- Parameters: P_StartDate : vdm_validitystart, P_EndDate : vdm_validityend

CREATE VIEW P_ChangeDocumentItem3 AS
SELECT
  ChangeDocObject,
  Item,
  DatabaseTable,
  sum( NumberOfPriceChanges ) AS NumberOfPriceChanges
FROM P_ChangeDocumentItem2
;