sepm_sddl_businesspartner

DDL: SEPM_SDDL_BUSINESSPARTNER SQL: SEPM_V_BPA Type: view

sepm_sddl_businesspartner is a CDS View in SAP S/4HANA. It reads from 1 data source (snwd_bpa) and exposes 10 fields. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
snwd_bpa snwd_bpa from

Associations (5)

CardinalityTargetAliasCondition
[1] sepm_sddl_employees created_by_employee $projection.created_by_employee_key = created_by_employee.employee_key
[1] sepm_sddl_employees changed_by_employee $projection.changed_by_employee_key = changed_by_employee.employee_key
[1] sepm_sddl_address address $projection.address_key = address.address_key
[0..*] sepm_sddl_contact contacts $projection.business_partner_key = contacts.business_partner_key
[1] tcurc currency currency_code = waers

Annotations (1)

NameValueLevelField
AbapCatalog.sqlViewName SEPM_V_BPA view

Fields (10)

KeyFieldSource TableSource FieldDescription
phone_number phone_number Phone
fax_number fax_number Fax Number
web_address web_address URI
address_key address_guid UUID
company_name company_name Company
legal_form legal_form Legal Form
created_at created_at Uploaded On
changed_at changed_at Timestamp
address address Subscription address
contacts contacts Contacts

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 sepm_sddl_businesspartner.
-- 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: SEPM_V_BPA

CREATE VIEW sepm_sddl_businesspartner AS
SELECT
  phone_number,
  fax_number,
  web_address,
  address_guid AS address_key,
  company_name,
  legal_form,
  created_at,
  changed_at,
  address,
  contacts
FROM snwd_bpa
LEFT OUTER JOIN sepm_sddl_employees AS created_by_employee ON created_by_employee_key = created_by_employee.employee_key  -- association [1]
LEFT OUTER JOIN sepm_sddl_employees AS changed_by_employee ON changed_by_employee_key = changed_by_employee.employee_key  -- association [1]
LEFT OUTER JOIN sepm_sddl_address AS address ON address_key = address.address_key  -- association [1]
LEFT OUTER JOIN sepm_sddl_contact AS contacts ON business_partner_key = contacts.business_partner_key  -- association [0..*]
LEFT OUTER JOIN tcurc AS currency ON currency_code = waers  -- association [1]
;