C_Cpbupafaxvh

DDL: C_CPBUPAFAXVH SQL: CCPBUPAFAXVH Type: view CONSUMPTION Package: ODATA_CORRESPONDENCE

Contact Information Fax

C_Cpbupafaxvh is a Consumption CDS View that provides data about "Contact Information Fax" in SAP S/4HANA. It reads from 1 data source (P_Cpbupafaxunique) and exposes 13 fields with key fields BusinessPartner, ContactPerson, AddressNumber. It has 2 associations to related views. Part of development package ODATA_CORRESPONDENCE.

Data Sources (1)

SourceAliasJoin Type
P_Cpbupafaxunique P_Cpbupafaxunique from

Associations (2)

CardinalityTargetAliasCondition
[1] P_Cpbupafaxall _fax _fax.BusinessPartner = $projection.BusinessPartner and _fax.ContactPerson = $projection.ContactPerson and _fax.AddressNumber = $projection.AddressNumber and _fax.BusinessPartnerCategory = $projection.BusinessPartnerCategory
[1] I_BusinessPartner _BusinessPartner _BusinessPartner.BusinessPartner = $projection.BusinessPartner

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CCPBUPAFAXVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey BusinessPartner view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
EndUserText.label Contact Information Fax view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner P_Cpbupafaxunique BusinessPartner Issuing Authority
KEY ContactPerson P_Cpbupafaxunique ContactPerson Contact Person Key
KEY AddressNumber P_Cpbupafaxunique AddressNumber Src Address No
BusinessPartnerCategory P_Cpbupafaxunique BusinessPartnerCategory Partner Cat.
FirstName _fax FirstName First Name
LastName _fax LastName Last Name
FaxNumber _fax FaxNumber Fax Number
FaxCountry _fax FaxCountry Country/Region
FaxNumberExtension _fax FaxNumberExtension Extension
InternationalFaxNumber _fax InternationalFaxNumber Fax Number
AuthorizationGroup _fax AuthorizationGroup AuthorizGroup
RelationshipCategory _fax RelationshipCategory Relationsh.Cat.
_BusinessPartner _BusinessPartner

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 C_Cpbupafaxvh.
-- 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: CCPBUPAFAXVH

CREATE VIEW C_Cpbupafaxvh AS
SELECT
  P_Cpbupafaxunique.BusinessPartner AS BusinessPartner,
  P_Cpbupafaxunique.ContactPerson AS ContactPerson,
  P_Cpbupafaxunique.AddressNumber AS AddressNumber,
  P_Cpbupafaxunique.BusinessPartnerCategory AS BusinessPartnerCategory,
  _fax.FirstName AS FirstName,
  _fax.LastName AS LastName,
  _fax.FaxNumber AS FaxNumber,
  _fax.FaxCountry AS FaxCountry,
  _fax.FaxNumberExtension AS FaxNumberExtension,
  _fax.InternationalFaxNumber AS InternationalFaxNumber,
  _fax.AuthorizationGroup AS AuthorizationGroup,
  _fax.RelationshipCategory AS RelationshipCategory
FROM P_Cpbupafaxunique
LEFT OUTER JOIN P_Cpbupafaxall AS _fax ON _fax.BusinessPartner = BusinessPartner AND _fax.ContactPerson = ContactPerson AND _fax.AddressNumber = AddressNumber AND _fax.BusinessPartnerCategory = BusinessPartnerCategory  -- association [1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON _BusinessPartner.BusinessPartner = BusinessPartner  -- association [1]
;