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

P_BR_ReportingNFPartner

DDL: P_BR_REPORTINGNFPARTNER SQL: PBRSPEDNFPTNR Type: view CONSUMPTION

EFD - Nota Fiscal Partner

P_BR_ReportingNFPartner is a Consumption CDS View that provides data about "EFD - Nota Fiscal Partner" in SAP S/4HANA. It reads from 3 data sources (C_BR_ReportingNFHeaderCube, C_BR_ReportingRefNFCube, C_BR_RptgTranspNFHeaderCube) and exposes 15 fields.

Data Sources (3)

SourceAliasJoin Type
C_BR_ReportingNFHeaderCube C_BR_ReportingNFHeaderCube from
C_BR_ReportingRefNFCube C_BR_ReportingRefNFCube union
C_BR_RptgTranspNFHeaderCube C_BR_RptgTranspNFHeaderCube union

Parameters (5)

NameTypeDefault
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_StatryRptRunID srf_report_run_id
P_ReportingPeriodStartDate fibrrptg_initial_date_de
P_ReportingPeriodEndDate fibrrptg_final_date_de

Annotations (14)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName PBRSPEDNFPTNR view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label EFD - Nota Fiscal Partner view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.private true view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor view

Fields (15)

KeyFieldSource TableSource FieldDescription
BR_NotaFiscal
CompanyCode hdr CompanyCode Receiver Company Code
BusinessPlace hdr BusinessPlace Business place
P_StatryRptgEntity
P_StatryRptCategory
P_StatryRptRunIDasrefasBR_NotaFiscal
CompanyCode ref CompanyCode Receiver Company Code
BusinessPlace ref BusinessPlace Business place
P_StatryRptgEntity
P_StatryRptCategory
P_StatryRptRunID
P_ReportingPeriodStartDate
CompanyCode transp CompanyCode Receiver Company Code
BusinessPlace transp BusinessPlace Business place
BusinessPartner transp BusinessPartner Issuing Authority

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_ReportingNFPartner.
-- 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: PBRSPEDNFPTNR
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id, P_ReportingPeriodStartDate : fibrrptg_initial_date_de, P_ReportingPeriodEndDate : fibrrptg_final_date_de

CREATE VIEW P_BR_ReportingNFPartner AS
SELECT
  '' AS BR_NotaFiscal,
  hdr.CompanyCode AS CompanyCode,
  hdr.BusinessPlace AS BusinessPlace,
  hdr.BusinessPartner AS P_StatryRptgEntity,
  P_StatryRptCategory : $parameters.P_StatryRptCategory AS P_StatryRptCategory,
  P_StatryRptRunID : $parameters.P_StatryRptRunID AS P_StatryRptRunID,
  P_FromPostingDate: $parameters.P_ReportingPeriodStartDate AS P_ReportingPeriodStartDate,
  transp.BusinessPartner AS BusinessPartner
FROM C_BR_ReportingNFHeaderCube
-- UNION with additional select branch(es): C_BR_ReportingRefNFCube, C_BR_RptgTranspNFHeaderCube
;