Deprecated
This CDS view is deprecated in S/4HANA. View all deprecated CDS views →

P_BR_RptgReportedMaterial

DDL: P_BR_RPTGREPORTEDMATERIAL SQL: PBRRPTDMATERIAL Type: view CONSUMPTION

EFD - Reported Material

P_BR_RptgReportedMaterial is a Consumption CDS View that provides data about "EFD - Reported Material" in SAP S/4HANA. It reads from 2 data sources (C_BR_ReportingInventoryCube, C_BR_ReportingNFItemCube) and exposes 17 fields with key fields CompanyCode, BusinessPlace, BusinessPlace.

Data Sources (2)

SourceAliasJoin Type
C_BR_ReportingInventoryCube C_BR_ReportingInventoryCube union
C_BR_ReportingNFItemCube C_BR_ReportingNFItemCube from

Parameters (6)

NameTypeDefault
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_StatryRptRunID srf_report_run_id
P_ToPostingDate fis_budat_to
P_InventoryDate calendardate
P_NumberOfDays int4

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName PBRRPTDMATERIAL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label EFD - Reported Material view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
VDM.private true view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY BusinessPlace BusinessPlace Business place
BR_NFPostingDate BR_NFPostingDate
Product Material Vehicle Model
BaseUnit BaseUnit Valuation Unit
MaterialType MaterialType Material Type
P_StatryRptgEntity
P_StatryRptCategory
P_StatryRptRunID
P_InventoryDate
P_NumberOfDayskeyCompanyCode
KEY BusinessPlace BusinessPlace Business place
BR_NFPostingDate
Product Material Vehicle Model
BaseUnit MaterialBaseUnit Valuation Unit
MaterialType MaterialType Material Type
MaterialName MaterialName Material Description

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_BR_RptgReportedMaterial.
-- 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: PBRRPTDMATERIAL
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id, P_ToPostingDate : fis_budat_to, P_InventoryDate : calendardate, P_NumberOfDays : int4

CREATE VIEW P_BR_RptgReportedMaterial AS
SELECT
  CompanyCode,
  BusinessPlace,
  BR_NFPostingDate,
  Material AS Product,
  BaseUnit,
  MaterialType,
  MaterialName AS P_StatryRptgEntity,
  P_StatryRptCategory : $parameters.P_StatryRptCategory AS P_StatryRptCategory,
  P_StatryRptRunID : $parameters.P_StatryRptRunID AS P_StatryRptRunID,
  P_InventoryDate : $parameters.P_InventoryDate AS P_InventoryDate,
  MaterialName
FROM C_BR_ReportingNFItemCube
-- UNION with additional select branch(es): C_BR_ReportingInventoryCube
;