I_AddressPostalAddress
Postal Address
I_AddressPostalAddress is a Basic CDS View that provides data about "Postal Address" in SAP S/4HANA. It reads from 1 data source (I_AddrOrgNamePostalAddress) and exposes 63 fields with key fields AddressID, AddressRepresentationCode. It has 17 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AddrOrgNamePostalAddress | I_AddrOrgNamePostalAddress | from |
Associations (17)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Region | _Region | $projection.Region = _Region.Region and $projection.Country = _Region.Country |
| [0..1] | I_Country | _Country | $projection.Country = _Country.Country |
| [0..1] | I_AddressNonDeliverableReason | _POBoxAddrNonDeliverableReason | $projection.POBoxAddrNonDeliverableReason = _POBoxAddrNonDeliverableReason.AddressNonDeliverableReason |
| [0..1] | I_AddressNonDeliverableReason | _StreetAddrNonDeliverableRsn | $projection.StreetAddrNonDeliverableReason = _StreetAddrNonDeliverableRsn.AddressNonDeliverableReason |
| [0..1] | I_TransportationZone | _TransportationZone | $projection.TransportZone = _TransportationZone.TransportZone and $projection.Country = _TransportationZone.CountryCode |
| [0..1] | I_Region | _POBoxDeviatingRegion | $projection.POBoxDeviatingRegion = _POBoxDeviatingRegion.Region and $projection.POBoxDeviatingCountry = _POBoxDeviatingRegion.Country |
| [0..1] | I_Country | _POBoxDeviatingCountry | $projection.POBoxDeviatingCountry = _POBoxDeviatingCountry.Country |
| [0..1] | I_AddressCommunicationMethod | _PrfrdCommMediumType | $projection.PrfrdCommMediumType = _PrfrdCommMediumType.CommunicationMediumType |
| [0..1] | I_AddressDeliveryServiceType | _DeliveryServiceTypeCode | $projection.DeliveryServiceTypeCode = _DeliveryServiceTypeCode.DeliveryServiceTypeCode |
| [0..1] | I_Language | _CorrespondenceLanguage | $projection.CorrespondenceLanguage = _CorrespondenceLanguage.Language |
| [0..1] | I_AddressRepresentation | _AddressRepresentationCode | $projection.AddressRepresentationCode = _AddressRepresentationCode.AddressRepresentationCode |
| [0..1] | I_TimeZone | _TimeZone | $projection.AddressTimeZone = _TimeZone.TimeZoneID |
| [0..1] | I_SecondaryRegion | _SecondaryRegion | $projection.SecondaryRegion = _SecondaryRegion.SecondaryRegion and $projection.Country = _SecondaryRegion.Country and $projection.Region = _SecondaryRegion.Region |
| [0..1] | I_TertiaryRegion | _TertiaryRegion | $projection.TertiaryRegion = _TertiaryRegion.TertiaryRegion and $projection.SecondaryRegion = _TertiaryRegion.SecondaryRegion and $projection.Country = _TertiaryRegion.Country and $projection.Region = _TertiaryRegion.Region |
| [0..1] | I_PostalCity | _PostalCity | $projection.CityNumber = _PostalCity.CityNumber and $projection.Country = _PostalCity.Country |
| [0..1] | I_RegionalStructureCheckStatus | _RegionalStructureCheckStatus | $projection.RegionalStructureCheckStatus = _RegionalStructureCheckStatus.RegionalStructureCheckStatus |
| [0..1] | I_Street | _Street | $projection.Country = _Street.Country and $projection.Street = _Street.Street |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Postal Address | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.representativeKey | AddressID | view | |
| Analytics.technicalName | IADPOSTALADDRESS | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #BASIC | view |
Fields (63)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AddressID | AddressID | ||
| KEY | AddressRepresentationCode | AddressRepresentationCode | ||
| AddressIsPersonAddress | AddressIsPersonAddress | |||
| CorrespondenceLanguage | CorrespondenceLanguage | |||
| PrfrdCommMediumType | PrfrdCommMediumType | |||
| CityNumber | CityNumber | |||
| CityName | CityName | |||
| DistrictName | DistrictName | |||
| VillageName | VillageName | |||
| PostalCode | PostalCode | |||
| CompanyPostalCode | CompanyPostalCode | |||
| POBox | POBox | |||
| POBoxAddrNonDeliverableReason | POBoxAddrNonDeliverableReason | |||
| POBoxIsWithoutNumber | POBoxIsWithoutNumber | |||
| POBoxPostalCode | POBoxPostalCode | |||
| POBoxLobbyName | POBoxLobbyName | |||
| POBoxDeviatingCityName | POBoxDeviatingCityName | |||
| POBoxDeviatingRegion | POBoxDeviatingRegion | |||
| POBoxDeviatingCountry | POBoxDeviatingCountry | |||
| Street | Street | |||
| StreetName | StreetName | |||
| StreetAddrNonDeliverableReason | StreetAddrNonDeliverableReason | |||
| StreetPrefixName1 | StreetPrefixName1 | |||
| StreetPrefixName2 | StreetPrefixName2 | |||
| StreetSuffixName1 | StreetSuffixName1 | |||
| StreetSuffixName2 | StreetSuffixName2 | |||
| HouseNumber | HouseNumber | |||
| HouseNumberSupplementText | HouseNumberSupplementText | |||
| Building | Building | |||
| Floor | Floor | |||
| RoomNumber | RoomNumber | |||
| Country | Country | |||
| Region | Region | |||
| CareOfName | CareOfName | |||
| TaxJurisdiction | TaxJurisdiction | |||
| TransportZone | TransportZone | |||
| DeliveryServiceTypeCode | DeliveryServiceTypeCode | |||
| DeliveryServiceNumber | DeliveryServiceNumber | |||
| AddressTimeZone | AddressTimeZone | |||
| SecondaryRegion | SecondaryRegion | |||
| SecondaryRegionName | SecondaryRegionName | |||
| TertiaryRegion | TertiaryRegion | |||
| TertiaryRegionName | TertiaryRegionName | |||
| AddressSearchTerm1 | AddressSearchTerm1 | |||
| AddressSearchTerm2 | AddressSearchTerm2 | |||
| RegionalStructureCheckStatus | RegionalStructureCheckStatus | |||
| _Region | _Region | |||
| _Country | _Country | |||
| _StreetAddrNonDeliverableRsn | _StreetAddrNonDeliverableRsn | |||
| _POBoxAddrNonDeliverableReason | _POBoxAddrNonDeliverableReason | |||
| _TransportationZone | _TransportationZone | |||
| _POBoxDeviatingRegion | _POBoxDeviatingRegion | |||
| _POBoxDeviatingCountry | _POBoxDeviatingCountry | |||
| _PrfrdCommMediumType | _PrfrdCommMediumType | |||
| _DeliveryServiceTypeCode | _DeliveryServiceTypeCode | |||
| _CorrespondenceLanguage | _CorrespondenceLanguage | |||
| _AddressRepresentationCode | _AddressRepresentationCode | |||
| _TimeZone | _TimeZone | |||
| _SecondaryRegion | _SecondaryRegion | |||
| _TertiaryRegion | _TertiaryRegion | |||
| _PostalCity | _PostalCity | |||
| _RegionalStructureCheckStatus | _RegionalStructureCheckStatus | |||
| _Street | _Street |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Postal Address'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.supportedCapabilities: [#CDS_MODELING_ASSOCIATION_TARGET, #CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE]
@ObjectModel.representativeKey: 'AddressID'
@Analytics.technicalName: 'IADPOSTALADDRESS'
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass: #MIXED
@VDM.viewType: #BASIC
define view entity I_AddressPostalAddress
as select from I_AddrOrgNamePostalAddress
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
association [0..1] to I_AddressNonDeliverableReason as _POBoxAddrNonDeliverableReason on $projection.POBoxAddrNonDeliverableReason = _POBoxAddrNonDeliverableReason.AddressNonDeliverableReason
association [0..1] to I_AddressNonDeliverableReason as _StreetAddrNonDeliverableRsn on $projection.StreetAddrNonDeliverableReason = _StreetAddrNonDeliverableRsn.AddressNonDeliverableReason
association [0..1] to I_TransportationZone as _TransportationZone on $projection.TransportZone = _TransportationZone.TransportZone
and $projection.Country = _TransportationZone.CountryCode
association [0..1] to I_Region as _POBoxDeviatingRegion on $projection.POBoxDeviatingRegion = _POBoxDeviatingRegion.Region
and $projection.POBoxDeviatingCountry = _POBoxDeviatingRegion.Country
association [0..1] to I_Country as _POBoxDeviatingCountry on $projection.POBoxDeviatingCountry = _POBoxDeviatingCountry.Country
association [0..1] to I_AddressCommunicationMethod as _PrfrdCommMediumType on $projection.PrfrdCommMediumType = _PrfrdCommMediumType.CommunicationMediumType
association [0..1] to I_AddressDeliveryServiceType as _DeliveryServiceTypeCode on $projection.DeliveryServiceTypeCode = _DeliveryServiceTypeCode.DeliveryServiceTypeCode
association [0..1] to I_Language as _CorrespondenceLanguage on $projection.CorrespondenceLanguage = _CorrespondenceLanguage.Language
association [0..1] to I_AddressRepresentation as _AddressRepresentationCode on $projection.AddressRepresentationCode = _AddressRepresentationCode.AddressRepresentationCode
association [0..1] to I_TimeZone as _TimeZone on $projection.AddressTimeZone = _TimeZone.TimeZoneID
association [0..1] to I_SecondaryRegion as _SecondaryRegion on $projection.SecondaryRegion = _SecondaryRegion.SecondaryRegion
and $projection.Country = _SecondaryRegion.Country
and $projection.Region = _SecondaryRegion.Region
association [0..1] to I_TertiaryRegion as _TertiaryRegion on $projection.TertiaryRegion = _TertiaryRegion.TertiaryRegion
and $projection.SecondaryRegion = _TertiaryRegion.SecondaryRegion
and $projection.Country = _TertiaryRegion.Country
and $projection.Region = _TertiaryRegion.Region
association [0..1] to I_PostalCity as _PostalCity on $projection.CityNumber = _PostalCity.CityNumber
and $projection.Country = _PostalCity.Country
association [0..1] to I_RegionalStructureCheckStatus as _RegionalStructureCheckStatus on $projection.RegionalStructureCheckStatus = _RegionalStructureCheckStatus.RegionalStructureCheckStatus
association [0..1] to I_Street as _Street on $projection.Country = _Street.Country
and $projection.Street = _Street.Street
{
key AddressID,
key AddressRepresentationCode,
AddressIsPersonAddress,
CorrespondenceLanguage,
PrfrdCommMediumType,
CityNumber,
CityName,
DistrictName,
VillageName,
PostalCode,
CompanyPostalCode,
POBox,
POBoxAddrNonDeliverableReason,
POBoxIsWithoutNumber,
POBoxPostalCode,
POBoxLobbyName,
POBoxDeviatingCityName,
POBoxDeviatingRegion,
POBoxDeviatingCountry,
Street,
StreetName,
StreetAddrNonDeliverableReason,
StreetPrefixName1,
StreetPrefixName2,
StreetSuffixName1,
StreetSuffixName2,
HouseNumber,
HouseNumberSupplementText,
Building,
Floor,
RoomNumber,
Country,
Region,
CareOfName,
TaxJurisdiction,
TransportZone,
DeliveryServiceTypeCode,
DeliveryServiceNumber,
AddressTimeZone,
SecondaryRegion,
SecondaryRegionName,
TertiaryRegion,
TertiaryRegionName,
AddressSearchTerm1,
AddressSearchTerm2,
RegionalStructureCheckStatus,
/* Associations */
_Region,
_Country,
_StreetAddrNonDeliverableRsn,
_POBoxAddrNonDeliverableReason,
_TransportationZone,
_POBoxDeviatingRegion,
_POBoxDeviatingCountry,
_PrfrdCommMediumType,
_DeliveryServiceTypeCode,
_CorrespondenceLanguage,
_AddressRepresentationCode,
_TimeZone,
_SecondaryRegion,
_TertiaryRegion,
_PostalCity,
_RegionalStructureCheckStatus,
_Street
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ADDRORGNAMEPOSTALADDRESS"
],
"ASSOCIATED":
[
"I_ADDRESSCOMMUNICATIONMETHOD",
"I_ADDRESSDELIVERYSERVICETYPE",
"I_ADDRESSNONDELIVERABLEREASON",
"I_ADDRESSREPRESENTATION",
"I_COUNTRY",
"I_LANGUAGE",
"I_POSTALCITY",
"I_REGION",
"I_REGIONALSTRUCTURECHECKSTATUS",
"I_SECONDARYREGION",
"I_STREET",
"I_TERTIARYREGION",
"I_TIMEZONE",
"I_TRANSPORTATIONZONE"
],
"BASE":
[],
"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