P_DGR_StatusCD_MaxChangeNumber

DDL: P_DGR_STATUSCD_MAXCHANGENUMBER SQL: PSCDMAXCHANGENO Type: view COMPOSITE

P_DGR_StatusCD_MaxChangeNumber is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_SystemUserChangeDocuments) and exposes 3 fields with key fields ApplicationStatusObject, ApplicationStatus, MaxChangeNumber.

Data Sources (1)

SourceAliasJoin Type
I_SystemUserChangeDocuments I_SystemUserChangeDocuments from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PSCDMAXCHANGENO view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY ApplicationStatusObject ApplicationStatusObject Val. Obj. No.
KEY ApplicationStatus ApplicationStatus Status of Time-Dependent Document Linkage
KEY MaxChangeNumber

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_DGR_StatusCD_MaxChangeNumber.
-- 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: PSCDMAXCHANGENO

CREATE VIEW P_DGR_StatusCD_MaxChangeNumber AS
SELECT
  ApplicationStatusObject,
  ApplicationStatus,
  max(ChangeNumber) AS MaxChangeNumber
FROM I_SystemUserChangeDocuments
;