C_BPEmplWorkplaceAddr
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)
| Source | Alias | Join Type |
|---|---|---|
| I_BPEmplWorkplaceAddrTP | I_BPEmplWorkplaceAddrTP | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartner | BusinessPartner | ||
| BusinessPartnerUUID | BusinessPartnerUUID | |||
| AddressID | AddressID | |||
| AddressPersonID | AddressPersonID | |||
| StreetName | StreetName | |||
| HouseNumber | HouseNumber | |||
| AddressTimeZone | AddressTimeZone | |||
| CityName | CityName | |||
| Country | Country | |||
| Region | Region | |||
| PostalCode | PostalCode | |||
| EmailAddress | EmailAddress | |||
| InternationalPhoneNumber | InternationalPhoneNumber | |||
| InternationalFaxNumber | InternationalFaxNumber | |||
| InternationalMobilePhoneNumber | InternationalMobilePhoneNumber | |||
| WorkplaceBuilding | WorkplaceBuilding | |||
| WorkplaceFloor | WorkplaceFloor | |||
| WorkplaceDepartmentName | WorkplaceDepartmentName | |||
| WorkplaceFunctionalTitleName | WorkplaceFunctionalTitleName | |||
| WorkplaceRoomNumber | WorkplaceRoomNumber | |||
| AuthorizationGroup | AuthorizationGroup | |||
| IsBusinessPurposeCompleted | IsBusinessPurposeCompleted | |||
| _PersonWPAddr | _PersonWPAddr | |||
| _BusinessPartner | _BusinessPartner | |||
| _CountryText | _CountryText | |||
| _RegionText | _RegionText | |||
| _TimeZoneText | _TimeZoneText | |||
| _TimeZone | _TimeZone | |||
| _Region | _Region | |||
| _Country | _Country |
@AbapCatalog.sqlViewName: 'CBPEMPWORKADDR'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Business Partner Employee Workplace address'
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@AccessControl.personalData.blocking: #REQUIRED
@Metadata.allowExtensions: true
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel: {
semanticKey: ['BusinessPartner'],
createEnabled,
updateEnabled,
deleteEnabled
}
@Search.searchable: true
define view C_BPEmplWorkplaceAddr
as select from I_BPEmplWorkplaceAddrTP
association [1..1] to C_BusinessPartner as _BusinessPartner on $projection.BusinessPartner = _BusinessPartner.BusinessPartner
association [0..*] to C_Countrytextvhtemp as _CountryText on $projection.Country = _CountryText.Country
association [1..*] to C_RegionTextVHTemp as _RegionText on $projection.Country = _RegionText.Country
and $projection.Region = _RegionText.Region
association [0..*] to I_TimeZoneText as _TimeZoneText on $projection.AddressTimeZone = _TimeZoneText.TimeZoneID
association [0..1] to I_TimeZone as _TimeZone on $projection.AddressTimeZone = _TimeZone.TimeZoneID
association [0..1] to I_Region as _Region on $projection.Region = _Region.Region
and $projection.Country = _Region.Country
association [0..1] to I_Country as _Country on $projection.Country = _Country.Country
{
key BusinessPartner,
BusinessPartnerUUID,
AddressID,
AddressPersonID,
StreetName,
HouseNumber,
@ObjectModel.text.association: '_TimeZoneText'
@ObjectModel.foreignKey.association: '_TimeZone'
AddressTimeZone,
CityName,
@ObjectModel.foreignKey.association: '_Country'
@ObjectModel.text.association: '_CountryText'
Country,
@ObjectModel.text.association: '_RegionText'
@ObjectModel.foreignKey.association: '_Region'
Region,
PostalCode,
EmailAddress,
InternationalPhoneNumber,
InternationalFaxNumber,
InternationalMobilePhoneNumber,
WorkplaceBuilding,
WorkplaceFloor,
WorkplaceDepartmentName,
WorkplaceFunctionalTitleName,
WorkplaceRoomNumber,
@Consumption.filter.hidden : true
AuthorizationGroup,
IsBusinessPurposeCompleted,
_PersonWPAddr,
@ObjectModel.association.type: [#TO_COMPOSITION_ROOT, #TO_COMPOSITION_PARENT]
_BusinessPartner,
_CountryText,
_RegionText,
_TimeZoneText,
_TimeZone,
_Region,
_Country
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BPEMPLWORKPLACEADDRTP"
],
"ASSOCIATED":
[
"C_BUSINESSPARTNER",
"C_COUNTRYTEXTVHTEMP",
"C_REGIONTEXTVHTEMP",
"I_COUNTRY",
"I_PERSONWORKPLACEADDRESS",
"I_REGION",
"I_TIMEZONE",
"I_TIMEZONETEXT"
],
"BASE":
[
"I_BPEMPLWORKPLACEADDRTP"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA