P_LatestGIRltdMatDocDate

DDL: P_LATESTGIRLTDMATDOCDATE SQL: PLTSTGIRLTDDAT Type: view BASIC

P_LatestGIRltdMatDocDate is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (I_SDDocumentProcessFlow) and exposes 3 fields with key fields PrecedingDocument, PrecedingDocumentCategory.

Data Sources (1)

SourceAliasJoin Type
I_SDDocumentProcessFlow Flow from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PLTSTGIRLTDDAT view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #BASIC view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY PrecedingDocument I_SDDocumentProcessFlow PrecedingDocument SD Document
KEY PrecedingDocumentCategory I_SDDocumentProcessFlow PrecedingDocumentCategory
MaxCreationDate

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_LatestGIRltdMatDocDate.
-- 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: PLTSTGIRLTDDAT

CREATE VIEW P_LatestGIRltdMatDocDate AS
SELECT
  Flow.PrecedingDocument AS PrecedingDocument,
  Flow.PrecedingDocumentCategory AS PrecedingDocumentCategory,
  max(CreationDate) AS MaxCreationDate
FROM I_SDDocumentProcessFlow AS Flow
;