P_NL_SAFTBusinessPartnerCntct

DDL: P_NL_SAFTBUSINESSPARTNERCNTCT SQL: PNLSAFTBPCONTACT Type: view COMPOSITE

P_NL_SAFTBusinessPartnerCntct is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_BusinessPartnerContact, I_BusinessPartner) and exposes 5 fields with key field BusinessPartner.

Data Sources (2)

SourceAliasJoin Type
I_BusinessPartnerContact BPContact inner
I_BusinessPartner BusinessPartner from

Parameters (2)

NameTypeDefault
P_EndDate dats
P_StartDate dats

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PNLSAFTBPCONTACT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
ObjectModel.usageType.serviceQuality #P view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.private true view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner I_BusinessPartner BusinessPartner Issuing Authority
BusinessPartnerUUID I_BusinessPartner BusinessPartnerUUID UUID
ContactPersonDepartment
FirstName
LastName

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_NL_SAFTBusinessPartnerCntct.
-- 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: PNLSAFTBPCONTACT
-- Parameters: P_EndDate : dats, P_StartDate : dats

CREATE VIEW P_NL_SAFTBusinessPartnerCntct AS
SELECT
  BusinessPartner.BusinessPartner AS BusinessPartner,
  BusinessPartner.BusinessPartnerUUID AS BusinessPartnerUUID,
  max(BPContact.ContactPersonDepartment) AS ContactPersonDepartment,
  max(BPContact.FirstName) AS FirstName,
  max(BPContact.LastName) AS LastName
FROM I_BusinessPartner AS BusinessPartner
INNER JOIN I_BusinessPartnerContact AS BPContact ON /* join condition not captured in parsed metadata */
;