I_AddressDefaultRepresentation
Dflt Addr Rprstn of an Org or a Person
I_AddressDefaultRepresentation (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Cross Applications
I_AddressDefaultRepresentation is a Composite CDS View (Dimension) that provides data about "Dflt Addr Rprstn of an Org or a Person" in SAP S/4HANA. It reads from 1 data source (I_Address_2) and exposes 91 fields with key field AddressID. It has 1 association to related views.
SAP Help Documentation
| Category | CDS Views for Business Address Service |
|---|---|
| Data Category | Dimension |
| Status | Test Status of City File |
This CDS view returns the address representation of an organization or a person in the default or space version. This CDS view provides the data to answer the following business questions: What is the address representation of an organization or a person in the default or space version?
Prerequisites
Authorizations Users who want to use this CDS view need to access it via another CDS view (privileged mode).
Structure
Important Fields Important fields in this view include the following: Field Name Description AddressID AddressPersonID AddressRepresentationCode AddressObjectType Address Number Person Number Version ID for International Addresses Address Type (1=Organization, 2=Person, 3=Contact person) CorrespondenceLanguage Language Key PrfrdCommMediumType Communication Method Key AddresseeFullName Full Name of a Person PersonGivenName PersonFamilyName First Name Last Name OrganizationName1 OrganizationName2 OrganizationName3 OrganizationName4 Name 1 Name 2 Name 3 Name 4 AddressSearchTerm1 AddressSearchTerm2 Search Term 1 Search Term 2 CityNumber CityName City Code for City/Street File City DistrictName District VillageName City (different from postal city) PostalCode CompanyPostalCode City Postal Code Company Postal Code Street StreetName StreetAddrNonDeliverableReason StreetPrefixName1 StreetPrefixName2 StreetSuffixName1 StreetSuffixName2 Street Number for City/Street File Street Street Address Non-Deliverable Reason Street 2 Street 3 Street 4 Street 5 HouseNumber HouseNumberSupplementText House Number House Number Supplement Building Floor RoomNumber Building Code Floor Room or Apartment Number Country Country/Region Key Region Region (State, Province, County) FormOfAddress Form of Address Key TaxJurisdiction Tax Jurisdiction TransportZone Transportation zone to or from which the goods are delivered POBox POBoxAddrNonDeliverableReason POBoxIsWithoutNumber POBoxPostalCode POBoxLobbyName POBoxDeviatingCityName POBoxDeviatingCityCode POBoxDeviatingRegion POBoxDeviatingCountry PO Box PO Box Address Non-Deliverable Reason PO Box without Number PO Box Postal Code PO Box Lobby PO Box City City PO Box Code (City file) PO Box Region (Country/Region, State, Province) PO Box of Country/Region CareOfName Care of Name DeliveryServiceTypeCode DeliveryServiceNumber Delivery Service Type Delivery Service Number AddressTimeZone Address Time Zone SecondaryRegion SecondaryRegionName County Code County TertiaryRegion TertiaryRegionName Township Code Township RegionalStructureCheckStatus Test Status of City File AddressGroup Address Group Key
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Cross Applications |
| Application Component | BC-SRV-ADR |
| Capabilities | Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source in SQL Select |
| Package | Cross Applications for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Address_2 | Address | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_Address_2 | _AddrAdditionalRepresentation | $projection.AddressID = _AddrAdditionalRepresentation.AddressID and $projection.AddressPersonID = _AddrAdditionalRepresentation.AddressPersonID and _AddrAdditionalRepresentation.AddressRepresentationCode is not initial |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.technicalName | I_AddressDefaultRprstn | view | |
| EndUserText.label | Dflt Addr Rprstn of an Org or a Person | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.representativeKey | AddressID | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view |
Fields (91)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AddressID | I_Address_2 | AddressID | Ship-to address |
| AddressPersonID | I_Address_2 | AddressPersonID | Person Number | |
| AddressRepresentationCode | I_Address_2 | AddressRepresentationCode | Version ID for International Addresses | |
| AddressObjectType | I_Address_2 | AddressObjectType | Address type (1=Organization, 2=Person, 3=Contact person) | |
| CorrespondenceLanguage | I_Address_2 | CorrespondenceLanguage | Language Key | |
| PrfrdCommMediumType | I_Address_2 | PrfrdCommMediumType | Communication Method (Key) (Business Address Services) | |
| AddresseeFullName | I_Address_2 | AddresseeFullName | Full Name of Person | |
| PersonGivenName | I_Address_2 | PersonGivenName | First Name | |
| PersonFamilyName | I_Address_2 | PersonFamilyName | Last Name | |
| OrganizationName1 | I_Address_2 | OrganizationName1 | Name 1 | |
| OrganizationName2 | I_Address_2 | OrganizationName2 | Name 2 | |
| OrganizationName3 | I_Address_2 | OrganizationName3 | Name 3 | |
| OrganizationName4 | I_Address_2 | OrganizationName4 | Name 4 | |
| AddressSearchTerm1 | I_Address_2 | AddressSearchTerm1 | Search Term 1 | |
| AddressSearchTerm2 | I_Address_2 | AddressSearchTerm2 | Search Term 2 | |
| CityNumber | I_Address_2 | CityNumber | City code for city/street file | |
| CityName | I_Address_2 | CityName | Name | |
| DistrictName | I_Address_2 | DistrictName | District | |
| VillageName | I_Address_2 | VillageName | City (different from postal city) | |
| PostalCode | I_Address_2 | PostalCode | City postal code | |
| CompanyPostalCode | I_Address_2 | CompanyPostalCode | Company Postal Code (for Large Customers) | |
| Street | I_Address_2 | Street | Street Number for City/Street File | |
| StreetName | I_Address_2 | StreetName | Street | |
| StreetAddrNonDeliverableReason | I_Address_2 | StreetAddrNonDeliverableReason | Street Address Non-Deliverable Reason | |
| StreetPrefixName1 | I_Address_2 | StreetPrefixName1 | Street 2 | |
| StreetPrefixName2 | I_Address_2 | StreetPrefixName2 | Street 3 | |
| StreetSuffixName1 | I_Address_2 | StreetSuffixName1 | Street 4 | |
| StreetSuffixName2 | I_Address_2 | StreetSuffixName2 | Street 5 | |
| HouseNumber | I_Address_2 | HouseNumber | House Number | |
| HouseNumberSupplementText | I_Address_2 | HouseNumberSupplementText | House number supplement | |
| Building | I_Address_2 | Building | Building (Number or Code) | |
| Floor | I_Address_2 | Floor | Floor in building | |
| RoomNumber | I_Address_2 | RoomNumber | Room or Apartment Number | |
| Country | I_Address_2 | Country | Country/Region Key | |
| Region | I_Address_2 | Region | Region (State, Province, County) | |
| FormOfAddress | I_Address_2 | FormOfAddress | Form-of-Address Key | |
| TaxJurisdiction | I_Address_2 | TaxJurisdiction | Tax Jurisdiction | |
| TransportZone | I_Address_2 | TransportZone | Transportation zone to or from which the goods are delivered | |
| POBox | I_Address_2 | POBox | PO Box | |
| POBoxAddrNonDeliverableReason | I_Address_2 | POBoxAddrNonDeliverableReason | PO Box Address Non-Deliverable Reason | |
| POBoxIsWithoutNumber | I_Address_2 | POBoxIsWithoutNumber | Flag: PO Box Without Number | |
| POBoxPostalCode | I_Address_2 | POBoxPostalCode | PO Box Postal Code | |
| POBoxLobbyName | I_Address_2 | POBoxLobbyName | PO Box Lobby | |
| POBoxDeviatingCityName | I_Address_2 | POBoxDeviatingCityName | PO Box City | |
| POBoxDeviatingCityCode | I_Address_2 | POBoxDeviatingCityCode | City PO box code (City file) | |
| POBoxDeviatingRegion | I_Address_2 | POBoxDeviatingRegion | Region for PO Box (Country/Region, State, Province, ...) | |
| POBoxDeviatingCountry | I_Address_2 | POBoxDeviatingCountry | PO Box of Country/Region | |
| CareOfName | I_Address_2 | CareOfName | c/o name | |
| DeliveryServiceTypeCode | I_Address_2 | DeliveryServiceTypeCode | Type of Delivery Service | |
| DeliveryServiceNumber | I_Address_2 | DeliveryServiceNumber | Number of Delivery Service | |
| AddressTimeZone | I_Address_2 | AddressTimeZone | Address Time Zone | |
| SecondaryRegion | I_Address_2 | SecondaryRegion | County code for county | |
| SecondaryRegionName | I_Address_2 | SecondaryRegionName | County | |
| TertiaryRegion | I_Address_2 | TertiaryRegion | Township code for Township | |
| TertiaryRegionName | I_Address_2 | TertiaryRegionName | Township | |
| RegionalStructureCheckStatus | I_Address_2 | RegionalStructureCheckStatus | City file test status | |
| AddressGroup | I_Address_2 | AddressGroup | Address Group (Key) (Business Address Services) | |
| _AddressGroup | I_Address_2 | _AddressGroup | ||
| _AddressObjectType | I_Address_2 | _AddressObjectType | ||
| _AddressPersonName | I_Address_2 | _AddressPersonName | ||
| _AddressRepresentationCode | I_Address_2 | _AddressRepresentationCode | ||
| _CorrespondenceLanguage | I_Address_2 | _CorrespondenceLanguage | ||
| _Country | I_Address_2 | _Country | ||
| _CurrentDfltEmailAddress | I_Address_2 | _CurrentDfltEmailAddress | ||
| _CurrentDfltFaxNumber | I_Address_2 | _CurrentDfltFaxNumber | ||
| _CurrentDfltLandlinePhoneNmbr | I_Address_2 | _CurrentDfltLandlinePhoneNmbr | ||
| _CurrentDfltMobilePhoneNumber | I_Address_2 | _CurrentDfltMobilePhoneNumber | ||
| _DeliveryServiceTypeCode | I_Address_2 | _DeliveryServiceTypeCode | ||
| _EmailAddress | I_Address_2 | _EmailAddress | ||
| _FaxNumber | I_Address_2 | _FaxNumber | ||
| _FormOfAddress | I_Address_2 | _FormOfAddress | ||
| _MainWebsiteURL | I_Address_2 | _MainWebsiteURL | ||
| _OrganizationAddress | I_Address_2 | _OrganizationAddress | ||
| _PersonAddress | I_Address_2 | _PersonAddress | ||
| _PhoneNumber | I_Address_2 | _PhoneNumber | ||
| _POBoxAddrNonDeliverableReason | I_Address_2 | _POBoxAddrNonDeliverableReason | ||
| _POBoxDeviatingCityCode | I_Address_2 | _POBoxDeviatingCityCode | ||
| _POBoxDeviatingCountry | I_Address_2 | _POBoxDeviatingCountry | ||
| _POBoxDeviatingRegion | I_Address_2 | _POBoxDeviatingRegion | ||
| _PostalCity | I_Address_2 | _PostalCity | ||
| _PrfrdCommMediumType | I_Address_2 | _PrfrdCommMediumType | ||
| _Region | I_Address_2 | _Region | ||
| _RegionalStructureCheckStatus | I_Address_2 | _RegionalStructureCheckStatus | ||
| _SecondaryRegion | I_Address_2 | _SecondaryRegion | ||
| _Street | I_Address_2 | _Street | ||
| _StreetAddrNonDeliverableRsn | I_Address_2 | _StreetAddrNonDeliverableRsn | ||
| _TertiaryRegion | I_Address_2 | _TertiaryRegion | ||
| _TimeZone | I_Address_2 | _TimeZone | ||
| _TransportationZone | I_Address_2 | _TransportationZone | ||
| _UniformResourceIdentifier | I_Address_2 | _UniformResourceIdentifier | ||
| _AddrAdditionalRepresentation | _AddrAdditionalRepresentation |
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_AddressDefaultRepresentation.
-- 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.
CREATE VIEW I_AddressDefaultRepresentation AS
SELECT
Address.AddressID AS AddressID,
Address.AddressPersonID AS AddressPersonID,
Address.AddressRepresentationCode AS AddressRepresentationCode,
Address.AddressObjectType AS AddressObjectType,
Address.CorrespondenceLanguage AS CorrespondenceLanguage,
Address.PrfrdCommMediumType AS PrfrdCommMediumType,
Address.AddresseeFullName AS AddresseeFullName,
Address.PersonGivenName AS PersonGivenName,
Address.PersonFamilyName AS PersonFamilyName,
Address.OrganizationName1 AS OrganizationName1,
Address.OrganizationName2 AS OrganizationName2,
Address.OrganizationName3 AS OrganizationName3,
Address.OrganizationName4 AS OrganizationName4,
Address.AddressSearchTerm1 AS AddressSearchTerm1,
Address.AddressSearchTerm2 AS AddressSearchTerm2,
Address.CityNumber AS CityNumber,
Address.CityName AS CityName,
Address.DistrictName AS DistrictName,
Address.VillageName AS VillageName,
Address.PostalCode AS PostalCode,
Address.CompanyPostalCode AS CompanyPostalCode,
Address.Street AS Street,
Address.StreetName AS StreetName,
Address.StreetAddrNonDeliverableReason AS StreetAddrNonDeliverableReason,
Address.StreetPrefixName1 AS StreetPrefixName1,
Address.StreetPrefixName2 AS StreetPrefixName2,
Address.StreetSuffixName1 AS StreetSuffixName1,
Address.StreetSuffixName2 AS StreetSuffixName2,
Address.HouseNumber AS HouseNumber,
Address.HouseNumberSupplementText AS HouseNumberSupplementText,
Address.Building AS Building,
Address.Floor AS Floor,
Address.RoomNumber AS RoomNumber,
Address.Country AS Country,
Address.Region AS Region,
Address.FormOfAddress AS FormOfAddress,
Address.TaxJurisdiction AS TaxJurisdiction,
Address.TransportZone AS TransportZone,
Address.POBox AS POBox,
Address.POBoxAddrNonDeliverableReason AS POBoxAddrNonDeliverableReason,
Address.POBoxIsWithoutNumber AS POBoxIsWithoutNumber,
Address.POBoxPostalCode AS POBoxPostalCode,
Address.POBoxLobbyName AS POBoxLobbyName,
Address.POBoxDeviatingCityName AS POBoxDeviatingCityName,
Address.POBoxDeviatingCityCode AS POBoxDeviatingCityCode,
Address.POBoxDeviatingRegion AS POBoxDeviatingRegion,
Address.POBoxDeviatingCountry AS POBoxDeviatingCountry,
Address.CareOfName AS CareOfName,
Address.DeliveryServiceTypeCode AS DeliveryServiceTypeCode,
Address.DeliveryServiceNumber AS DeliveryServiceNumber,
Address.AddressTimeZone AS AddressTimeZone,
Address.SecondaryRegion AS SecondaryRegion,
Address.SecondaryRegionName AS SecondaryRegionName,
Address.TertiaryRegion AS TertiaryRegion,
Address.TertiaryRegionName AS TertiaryRegionName,
Address.RegionalStructureCheckStatus AS RegionalStructureCheckStatus,
Address.AddressGroup AS AddressGroup,
Address._AddressGroup AS _AddressGroup,
Address._AddressObjectType AS _AddressObjectType,
Address._AddressPersonName AS _AddressPersonName,
Address._AddressRepresentationCode AS _AddressRepresentationCode,
Address._CorrespondenceLanguage AS _CorrespondenceLanguage,
Address._Country AS _Country,
Address._CurrentDfltEmailAddress AS _CurrentDfltEmailAddress,
Address._CurrentDfltFaxNumber AS _CurrentDfltFaxNumber,
Address._CurrentDfltLandlinePhoneNmbr AS _CurrentDfltLandlinePhoneNmbr,
Address._CurrentDfltMobilePhoneNumber AS _CurrentDfltMobilePhoneNumber,
Address._DeliveryServiceTypeCode AS _DeliveryServiceTypeCode,
Address._EmailAddress AS _EmailAddress,
Address._FaxNumber AS _FaxNumber,
Address._FormOfAddress AS _FormOfAddress,
Address._MainWebsiteURL AS _MainWebsiteURL,
Address._OrganizationAddress AS _OrganizationAddress,
Address._PersonAddress AS _PersonAddress,
Address._PhoneNumber AS _PhoneNumber,
Address._POBoxAddrNonDeliverableReason AS _POBoxAddrNonDeliverableReason,
Address._POBoxDeviatingCityCode AS _POBoxDeviatingCityCode,
Address._POBoxDeviatingCountry AS _POBoxDeviatingCountry,
Address._POBoxDeviatingRegion AS _POBoxDeviatingRegion,
Address._PostalCity AS _PostalCity,
Address._PrfrdCommMediumType AS _PrfrdCommMediumType,
Address._Region AS _Region,
Address._RegionalStructureCheckStatus AS _RegionalStructureCheckStatus,
Address._SecondaryRegion AS _SecondaryRegion,
Address._Street AS _Street,
Address._StreetAddrNonDeliverableRsn AS _StreetAddrNonDeliverableRsn,
Address._TertiaryRegion AS _TertiaryRegion,
Address._TimeZone AS _TimeZone,
Address._TransportationZone AS _TransportationZone,
Address._UniformResourceIdentifier AS _UniformResourceIdentifier
FROM I_Address_2 AS Address
LEFT OUTER JOIN I_Address_2 AS _AddrAdditionalRepresentation ON AddressID = _AddrAdditionalRepresentation.AddressID AND AddressPersonID = _AddrAdditionalRepresentation.AddressPersonID AND _AddrAdditionalRepresentation.AddressRepresentationCode is not initial -- association [0..*]
;
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