P_BG_SAFTSUPPLIERID

DDL: P_BG_SAFTSUPPLIERID Type: view_entity CONSUMPTION

P_BG_SAFTSUPPLIERID is a Consumption CDS View in SAP S/4HANA. It reads from 3 data sources (I_BusinessPartner, I_Businesspartnertaxnumber, I_Supplier_to_BusinessPartner) and exposes 2 fields with key field Supplier.

Data Sources (3)

SourceAliasJoin Type
I_BusinessPartner BP inner
I_Businesspartnertaxnumber BPVAT from
I_Supplier_to_BusinessPartner Sup inner

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
VDM.private true view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #MASTER view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY Supplier I_Supplier_to_BusinessPartner Supplier Supplier
BPTaxLongNumber I_Businesspartnertaxnumber BPTaxLongNumber Tax Number Long

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_BG_SAFTSUPPLIERID.
-- 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.

CREATE VIEW P_BG_SAFTSUPPLIERID AS
SELECT
  Sup.Supplier AS Supplier,
  BPVAT.BPTaxLongNumber AS BPTaxLongNumber
FROM I_Businesspartnertaxnumber AS BPVAT
INNER JOIN I_BusinessPartner AS BP ON /* join condition not captured in parsed metadata */
INNER JOIN I_Supplier_to_BusinessPartner AS Sup ON /* join condition not captured in parsed metadata */
;