P_CustRetLastModified

DDL: P_CUSTRETLASTMODIFIED SQL: PCRTLASTMODIFIED Type: view CONSUMPTION

P_CustRetLastModified is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentBasic) and exposes 2 fields with key field CustomerReturn.

Data Sources (1)

SourceAliasJoin Type
I_SalesDocumentBasic I_SalesDocumentBasic from

Annotations (6)

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

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CustomerReturn SalesDocument SD Document
LastChangeDateTime LastChangeDateTime Timestamp

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_CustRetLastModified.
-- 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: PCRTLASTMODIFIED

CREATE VIEW P_CustRetLastModified AS
SELECT
  SalesDocument AS CustomerReturn,
  LastChangeDateTime
FROM I_SalesDocumentBasic
;