I_EmplHomeAddress

DDL: I_EMPLHOMEADDRESS SQL: IEMPLHOMEADDRESS Type: view BASIC

Obsolete - DONOT USE_Employee Home Address

I_EmplHomeAddress is a Basic CDS View that provides data about "Obsolete - DONOT USE_Employee Home Address" in SAP S/4HANA. It reads from 5 data sources (but021_fs, but020, P_EmplPrivCommData, I_Employee, P_Emplprivpostaddr) and exposes 31 fields with key field AddressID.

Data Sources (5)

SourceAliasJoin Type
but021_fs addresstype inner
but020 bpaddress inner
P_EmplPrivCommData commdata left_outer
I_Employee employee from
P_Emplprivpostaddr paddress inner

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IEMPLHOMEADDRESS view
EndUserText.label Obsolete - DONOT USE_Employee Home Address view
VDM.viewType #BASIC view
AccessControl.personalData.blocking #REQUIRED view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view

Fields (31)

KeyFieldSource TableSource FieldDescription
KEY AddressID but020 addrnumber Address Number
PersonnelNumber I_Employee PersonnelNumber Personnel No.
Employee I_Employee Employee Object ID
EmployeeInternalID but020 partner With Partner
StartDate but020 addr_valid_from Valid From
EndDate but020 addr_valid_to Valid To
Country P_Emplprivpostaddr Country Venue: Ctry/Reg
Region P_Emplprivpostaddr Region Venue Region
District P_Emplprivpostaddr District District Court
PostalCode P_Emplprivpostaddr PostalCode Postal Code
CityName P_Emplprivpostaddr CityName Name
HomeCityName P_Emplprivpostaddr HomeCityName Different City
StreetName P_Emplprivpostaddr StreetName Text
StreetPrefixName P_Emplprivpostaddr StreetPrefixName Street 2
StreetSuffixName P_Emplprivpostaddr StreetSuffixName Street 4
AdditionalStreetPrefixName P_Emplprivpostaddr AdditionalStreetPrefixName Street 3
AdditionalStreetSuffixName P_Emplprivpostaddr AdditionalStreetSuffixName Street 5
HouseNumber P_Emplprivpostaddr HouseNumber House Number
HouseNumberSupplementText P_Emplprivpostaddr HouseNumberSupplementText Supplement
CareOfName P_Emplprivpostaddr CareOfName c/o
Person P_EmplPrivCommData Person Person/ Farm/ Field
DestinationLocationCountry P_EmplPrivCommData DestinationLocationCountry Country/Region
PhoneNumber P_EmplPrivCommData PhoneNumber Telephone no.
PhoneNumberExtension P_EmplPrivCommData PhoneNumberExtension Extension
MblPhoneDestinationLocCountry P_EmplPrivCommData MblPhoneDestinationLocCountry
MobilePhoneNumber P_EmplPrivCommData MobilePhoneNumber Telephone
DefaultEmailAddress P_EmplPrivCommData DefaultEmailAddress
_Region P_Emplprivpostaddr _Region
_Country P_Emplprivpostaddr _Country
AuthorizationGroup
_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 I_EmplHomeAddress.
-- 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: IEMPLHOMEADDRESS

CREATE VIEW I_EmplHomeAddress AS
SELECT
  bpaddress.addrnumber AS AddressID,
  employee.PersonnelNumber AS PersonnelNumber,
  employee.Employee AS Employee,
  bpaddress.partner AS EmployeeInternalID,
  bpaddress.addr_valid_from AS StartDate,
  bpaddress.addr_valid_to AS EndDate,
  paddress.Country AS Country,
  paddress.Region AS Region,
  paddress.District AS District,
  paddress.PostalCode AS PostalCode,
  paddress.CityName AS CityName,
  paddress.HomeCityName AS HomeCityName,
  paddress.StreetName AS StreetName,
  paddress.StreetPrefixName AS StreetPrefixName,
  paddress.StreetSuffixName AS StreetSuffixName,
  paddress.AdditionalStreetPrefixName AS AdditionalStreetPrefixName,
  paddress.AdditionalStreetSuffixName AS AdditionalStreetSuffixName,
  paddress.HouseNumber AS HouseNumber,
  paddress.HouseNumberSupplementText AS HouseNumberSupplementText,
  paddress.CareOfName AS CareOfName,
  commdata.Person AS Person,
  commdata.DestinationLocationCountry AS DestinationLocationCountry,
  commdata.PhoneNumber AS PhoneNumber,
  commdata.PhoneNumberExtension AS PhoneNumberExtension,
  commdata.MblPhoneDestinationLocCountry AS MblPhoneDestinationLocCountry,
  commdata.MobilePhoneNumber AS MobilePhoneNumber,
  commdata.DefaultEmailAddress AS DefaultEmailAddress,
  paddress._Region AS _Region,
  paddress._Country AS _Country,
  '0060' AS AuthorizationGroup
FROM I_Employee AS employee
INNER JOIN but020 AS bpaddress ON /* join condition not captured in parsed metadata */
INNER JOIN P_Emplprivpostaddr AS paddress ON /* join condition not captured in parsed metadata */
INNER JOIN but021_fs AS addresstype ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_EmplPrivCommData AS commdata ON /* join condition not captured in parsed metadata */
;