P_BR_RptgOneTimePartner
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)
| Source | Alias | Join Type |
|---|---|---|
| I_BR_BCBCountryCode | bcb | inner |
| I_BR_NFDocument | doc | inner |
| I_BR_OneTimePartner | otp | from |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
Learn More
- S/4HANA CDS View Deprecation: What You Need to Know
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA