C_BPEmplWorkplaceAddr

DDL: C_BPEMPLWORKPLACEADDR SQL: CBPEMPWORKADDR Type: view CONSUMPTION

Business Partner Employee Workplace address

C_BPEmplWorkplaceAddr is a Consumption CDS View that provides data about "Business Partner Employee Workplace address" in SAP S/4HANA. It reads from 1 data source (I_BPEmplWorkplaceAddrTP) and exposes 30 fields with key field BusinessPartner. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_BPEmplWorkplaceAddrTP I_BPEmplWorkplaceAddrTP from

Associations (7)

CardinalityTargetAliasCondition
[1..1] C_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[0..*] C_Countrytextvhtemp _CountryText $projection.Country = _CountryText.Country
[1..*] C_RegionTextVHTemp _RegionText $projection.Country = _RegionText.Country and $projection.Region = _RegionText.Region
[0..*] I_TimeZoneText _TimeZoneText $projection.AddressTimeZone = _TimeZoneText.TimeZoneID
[0..1] I_TimeZone _TimeZone $projection.AddressTimeZone = _TimeZone.TimeZoneID
[0..1] I_Region _Region $projection.Region = _Region.Region and $projection.Country = _Region.Country
[0..1] I_Country _Country $projection.Country = _Country.Country

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CBPEMPWORKADDR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Business Partner Employee Workplace address view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #REQUIRED view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
Search.searchable true view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner BusinessPartner Issuing Authority
BusinessPartnerUUID BusinessPartnerUUID UUID
AddressID AddressID Ship-to address
AddressPersonID AddressPersonID Person Number
StreetName StreetName Text
HouseNumber HouseNumber House Number
AddressTimeZone AddressTimeZone Time Zone
CityName CityName Name
Country Country Venue: Ctry/Reg
Region Region Venue Region
PostalCode PostalCode Postal Code
EmailAddress EmailAddress E-Mail Address
InternationalPhoneNumber InternationalPhoneNumber Telephone no.
InternationalFaxNumber InternationalFaxNumber Fax Number
InternationalMobilePhoneNumber InternationalMobilePhoneNumber
WorkplaceBuilding WorkplaceBuilding Building code
WorkplaceFloor WorkplaceFloor
WorkplaceDepartmentName WorkplaceDepartmentName
WorkplaceFunctionalTitleName WorkplaceFunctionalTitleName
WorkplaceRoomNumber WorkplaceRoomNumber
AuthorizationGroup AuthorizationGroup AuthorizGroup
IsBusinessPurposeCompleted IsBusinessPurposeCompleted Purpose Completed
_PersonWPAddr _PersonWPAddr
_BusinessPartner _BusinessPartner
_CountryText _CountryText
_RegionText _RegionText
_TimeZoneText _TimeZoneText
_TimeZone _TimeZone
_Region _Region
_Country _Country

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_BPEmplWorkplaceAddr.
-- 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: CBPEMPWORKADDR

CREATE VIEW C_BPEmplWorkplaceAddr AS
SELECT
  BusinessPartner,
  BusinessPartnerUUID,
  AddressID,
  AddressPersonID,
  StreetName,
  HouseNumber,
  AddressTimeZone,
  CityName,
  Country,
  Region,
  PostalCode,
  EmailAddress,
  InternationalPhoneNumber,
  InternationalFaxNumber,
  InternationalMobilePhoneNumber,
  WorkplaceBuilding,
  WorkplaceFloor,
  WorkplaceDepartmentName,
  WorkplaceFunctionalTitleName,
  WorkplaceRoomNumber,
  AuthorizationGroup,
  IsBusinessPurposeCompleted
FROM I_BPEmplWorkplaceAddrTP
LEFT OUTER JOIN C_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN C_Countrytextvhtemp AS _CountryText ON Country = _CountryText.Country  -- association [0..*]
LEFT OUTER JOIN C_RegionTextVHTemp AS _RegionText ON Country = _RegionText.Country AND Region = _RegionText.Region  -- association [1..*]
LEFT OUTER JOIN I_TimeZoneText AS _TimeZoneText ON AddressTimeZone = _TimeZoneText.TimeZoneID  -- association [0..*]
LEFT OUTER JOIN I_TimeZone AS _TimeZone ON AddressTimeZone = _TimeZone.TimeZoneID  -- association [0..1]
LEFT OUTER JOIN I_Region AS _Region ON Region = _Region.Region AND Country = _Region.Country  -- association [0..1]
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country  -- association [0..1]
;