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

P_BR_RptgOneTimePartner

DDL: P_BR_RPTGONETIMEPARTNER SQL: PBRSPED1TMEPART Type: view CONSUMPTION

EFD - One Time Partner

P_BR_RptgOneTimePartner is a Consumption CDS View that provides data about "EFD - One Time Partner" in SAP S/4HANA. It reads from 3 data sources (I_BR_BCBCountryCode, I_BR_NFDocument, I_BR_OneTimePartner) and exposes 12 fields.

Data Sources (3)

SourceAliasJoin Type
I_BR_BCBCountryCode bcb inner
I_BR_NFDocument doc inner
I_BR_OneTimePartner otp from

Annotations (14)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName PBRSPED1TMEPART view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label EFD - One Time 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 (12)

KeyFieldSource TableSource FieldDescription
BusinessPartner
BusinessPartner
BusinessPartnerName
BR_BCBCountryCode I_BR_BCBCountryCode BR_BCBCountryCode BCB Ctry/RegCod
BR_PartnerCNPJ I_BR_OneTimePartner BR_PartnerCNPJ Tax Number 1
BR_PartnerCPF I_BR_OneTimePartner BR_PartnerCPF Tax Number 2
BR_PartnerStateTaxNumberST I_BR_OneTimePartner BR_PartnerStateTaxNumberST State Tax No.
TaxJurisdiction
BR_SUFRAMACode I_BR_NFDocument BR_SUFRAMACode SUFRAMA
HouseNumber I_BR_OneTimePartner BusinessPartnerHouseNumber House Number
HouseNumberSupplementText I_BR_OneTimePartner BPHsNmbrSuplmntTxt Supplement
District I_BR_OneTimePartner BusinessPartnerDistrict District

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_RptgOneTimePartner.
-- 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: PBRSPED1TMEPART

CREATE VIEW P_BR_RptgOneTimePartner AS
SELECT
  concat(doc.BR_NFPartnerType,doc.BR_NFPartner) AS BusinessPartner,
  concat_with_space(otp.BusinessPartnerName1,otp.BusinessPartnerName2,1) AS BusinessPartnerName,
  bcb.BR_BCBCountryCode AS BR_BCBCountryCode,
  otp.BR_PartnerCNPJ AS BR_PartnerCNPJ,
  otp.BR_PartnerCPF AS BR_PartnerCPF,
  otp.BR_PartnerStateTaxNumberST AS BR_PartnerStateTaxNumberST,
  right(otp.BusinessPartnerTaxJurisdiction,7) AS TaxJurisdiction,
  doc.BR_SUFRAMACode AS BR_SUFRAMACode,
  otp.BusinessPartnerHouseNumber AS HouseNumber,
  otp.BPHsNmbrSuplmntTxt AS HouseNumberSupplementText,
  otp.BusinessPartnerDistrict AS District
FROM I_BR_OneTimePartner AS otp
INNER JOIN I_BR_NFDocument AS doc ON /* join condition not captured in parsed metadata */
INNER JOIN I_BR_BCBCountryCode AS bcb ON /* join condition not captured in parsed metadata */
;