A_BusinessPartnerContact

DDL: A_BUSINESSPARTNERCONTACT SQL: ABUPACONTACT Type: view BASIC

Contact

A_BusinessPartnerContact is a Basic CDS View that provides data about "Contact" in SAP S/4HANA. It reads from 1 data source (I_BPContact) and exposes 11 fields with key fields RelationshipNumber, BusinessPartnerCompany, BusinessPartnerPerson, ValidityEndDate. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_BPContact I_BPContact from

Associations (4)

CardinalityTargetAliasCondition
[1..1] A_BusinessPartner _BusinessPartnerCompany _BusinessPartnerCompany.BusinessPartner = $projection.BusinessPartnerCompany
[1..1] A_BusinessPartner _BusinessPartnerPerson _BusinessPartnerPerson.BusinessPartner = $projection.BusinessPartnerPerson
[1..*] A_BPContactToAddress _ContactAddress $projection.RelationshipNumber = _ContactAddress.RelationshipNumber and $projection.BusinessPartnerCompany = _ContactAddress.BusinessPartnerCompany and $projection.BusinessPartnerPerson = _ContactAddress.BusinessPartnerPerson
[0..1] A_BPContactToFuncAndDept _ContactRelationship $projection.RelationshipNumber = _ContactRelationship.RelationshipNumber and $projection.BusinessPartnerCompany = _ContactRelationship.BusinessPartnerCompany and $projection.BusinessPartnerPerson = _ContactRelationship.BusinessPartnerPerson and $projection.ValidityEndDate = _ContactRelationship.ValidityEndDate

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ABUPACONTACT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Contact view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY RelationshipNumber RelationshipNumber BP Rel. Number
KEY BusinessPartnerCompany BusinessPartnerCompany Busn. Partner
KEY BusinessPartnerPerson BusinessPartnerPerson Busn. Partner
KEY ValidityEndDate ValidityEndDate ValidTo
ValidityStartDate ValidityStartDate Validity Start Date
IsStandardRelationship IsStandardRelationship Standard
RelationshipCategory RelationshipCategory Relationsh.Cat.
_ContactAddress _ContactAddress
_ContactRelationship _ContactRelationship
_BusinessPartnerCompany _BusinessPartnerCompany
_BusinessPartnerPerson _BusinessPartnerPerson

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 A_BusinessPartnerContact.
-- 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: ABUPACONTACT

CREATE VIEW A_BusinessPartnerContact AS
SELECT
  RelationshipNumber,
  BusinessPartnerCompany,
  BusinessPartnerPerson,
  ValidityEndDate,
  ValidityStartDate,
  IsStandardRelationship,
  RelationshipCategory
FROM I_BPContact
LEFT OUTER JOIN A_BusinessPartner AS _BusinessPartnerCompany ON _BusinessPartnerCompany.BusinessPartner = BusinessPartnerCompany  -- association [1..1]
LEFT OUTER JOIN A_BusinessPartner AS _BusinessPartnerPerson ON _BusinessPartnerPerson.BusinessPartner = BusinessPartnerPerson  -- association [1..1]
LEFT OUTER JOIN A_BPContactToAddress AS _ContactAddress ON RelationshipNumber = _ContactAddress.RelationshipNumber AND BusinessPartnerCompany = _ContactAddress.BusinessPartnerCompany AND BusinessPartnerPerson = _ContactAddress.BusinessPartnerPerson  -- association [1..*]
LEFT OUTER JOIN A_BPContactToFuncAndDept AS _ContactRelationship ON RelationshipNumber = _ContactRelationship.RelationshipNumber AND BusinessPartnerCompany = _ContactRelationship.BusinessPartnerCompany AND BusinessPartnerPerson = _ContactRelationship.BusinessPartnerPerson AND ValidityEndDate = _ContactRelationship.ValidityEndDate  -- association [0..1]
;