P_CmplRqSubstanceListMaxDate

DDL: P_CMPLRQSUBSTANCELISTMAXDATE SQL: PRQSUBLSTMXDATE Type: view COMPOSITE

P_CmplRqSubstanceListMaxDate is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_CmplRqVers, I_CmplRqVersSubstanceList) and exposes 3 fields.

Data Sources (2)

SourceAliasJoin Type
I_CmplRqVers I_CmplRqVers inner
I_CmplRqVersSubstanceList I_CmplRqVersSubstanceList from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PRQSUBLSTMXDATE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (3)

KeyFieldSource TableSource FieldDescription
SubstanceList I_CmplRqVersSubstanceList SubstanceList Internal List ID
ComplianceRequirement I_CmplRqVers ComplianceRequirement Compliance Requirement
EffectiveDate

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_CmplRqSubstanceListMaxDate.
-- 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: PRQSUBLSTMXDATE

CREATE VIEW P_CmplRqSubstanceListMaxDate AS
SELECT
  I_CmplRqVersSubstanceList.SubstanceList AS SubstanceList,
  I_CmplRqVers.ComplianceRequirement AS ComplianceRequirement,
  max( I_CmplRqVers.EffectiveDate ) AS EffectiveDate
FROM I_CmplRqVersSubstanceList
INNER JOIN I_CmplRqVers ON /* join condition not captured in parsed metadata */
;