P_LatestGIRltdMatDocDateTime

DDL: P_LATESTGIRLTDMATDOCDATETIME SQL: PLTSTGIRLTDTIME Type: view BASIC

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

Data Sources (2)

SourceAliasJoin Type
I_SDDocumentProcessFlow Flow from
P_LatestGIRltdMatDocDate MaxDate inner

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PLTSTGIRLTDTIME 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 (4)

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

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_LatestGIRltdMatDocDateTime.
-- 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: PLTSTGIRLTDTIME

CREATE VIEW P_LatestGIRltdMatDocDateTime AS
SELECT
  Flow.PrecedingDocument AS PrecedingDocument,
  Flow.PrecedingDocumentCategory AS PrecedingDocumentCategory,
  MaxDate.MaxCreationDate AS MaxCreationDate,
  max(CreationTime) AS MaxCreationTime
FROM I_SDDocumentProcessFlow AS Flow
INNER JOIN P_LatestGIRltdMatDocDate AS MaxDate ON /* join condition not captured in parsed metadata */
;