P_RU_RptCategoryParamOnDate1

DDL: P_RU_RPTCATEGORYPARAMONDATE1 SQL: PRURPTCATPARAMD1 Type: view CONSUMPTION

P_RU_RptCategoryParamOnDate1 is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (P_ReportCategoryParameters4) and exposes 4 fields with key fields StatryRptgEntity, StatryRptCategory, ParameterName.

Data Sources (1)

SourceAliasJoin Type
P_ReportCategoryParameters4 P_ReportCategoryParameters4 from

Parameters (1)

NameTypeDefault
P_Date datum

Annotations (6)

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

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY StatryRptgEntity StatryRptgEntity Reporting Entity
KEY StatryRptCategory StatryRptCategory Report ID
KEY ParameterName ParameterName Rule Parameter
ValidityStartDate

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_RU_RptCategoryParamOnDate1.
-- 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: PRURPTCATPARAMD1
-- Parameters: P_Date : datum

CREATE VIEW P_RU_RptCategoryParamOnDate1 AS
SELECT
  StatryRptgEntity,
  StatryRptCategory,
  ParameterName,
  max(ValidityStartDate) AS ValidityStartDate
FROM P_ReportCategoryParameters4
;