P_BPProtectedAddrUsageCount

DDL: P_BPPROTECTEDADDRUSAGECOUNT SQL: PBPPROADRUC Type: view COMPOSITE

P_BPProtectedAddrUsageCount is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (but021_fs, tb008s, tb008u) and exposes 2 fields with key fields BusinessPartner, AddressID.

Data Sources (3)

SourceAliasJoin Type
but021_fs but021_fs from
tb008s tb008s left_outer
tb008u tb008u left_outer

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PBPPROADRUC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view
AccessControl.personalData.blocking #REQUIRED view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner but021_fs partner With Partner
KEY AddressID but021_fs addrnumber Address Number

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_BPProtectedAddrUsageCount.
-- 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: PBPPROADRUC

CREATE VIEW P_BPProtectedAddrUsageCount AS
SELECT
  but021_fs.partner AS BusinessPartner,
  but021_fs.addrnumber AS AddressID
FROM but021_fs
LEFT OUTER JOIN tb008u ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tb008s ON /* join condition not captured in parsed metadata */
;