I_EmplHomeAddress
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)
| Source | Alias | Join Type |
|---|---|---|
| but021_fs | addresstype | inner |
| but020 | bpaddress | inner |
| P_EmplPrivCommData | commdata | left_outer |
| I_Employee | employee | from |
| P_Emplprivpostaddr | paddress | inner |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA