I_ScriptedOrganizationAddress
Interational Address Version
I_ScriptedOrganizationAddress is a Basic CDS View that provides data about "Interational Address Version" in SAP S/4HANA. It reads from 1 data source (adrc) and exposes 53 fields with key fields AddressNumber, AddressRepresentationCode.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| adrc | adrc | from |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISCRPTORGADDR | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.representativeKey | AddressNumber | view | |
| Metadata.allowExtensions | true | view | |
| EndUserText.label | Interational Address Version | view |
Fields (53)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AddressNumber | adrc | addrnumber | |
| KEY | AddressRepresentationCode | adrc | nation | |
| CareOfName | name_co | |||
| AdditionalStreetSuffixName | location | |||
| CorrespondenceLanguage | langu | |||
| PrfrdCommMediumType | adrc | deflt_comm | ||
| POBox | po_box | |||
| POBoxIsWithoutNumber | po_box_num | |||
| POBoxPostalCode | post_code2 | |||
| POBoxLobbyName | po_box_lobby | |||
| POBoxDeviatingCityName | po_box_loc | |||
| POBoxDeviatingRegion | po_box_reg | |||
| POBoxDeviatingCountry | po_box_cty | |||
| DeliveryServiceTypeCode | deli_serv_type | |||
| DeliveryServiceNumber | deli_serv_number | |||
| AddressTimeZone | time_zone | |||
| CityFileTestStatus | adrc | chckstatus | ||
| AddressNonDeliverableReason | adrc | dont_use_s | ||
| PostBoxNonDeliverableReason | adrc | dont_use_p | ||
| name2180asadfullnameasFullName | ||||
| CityName | city1 | |||
| District | city2 | |||
| CityCode | city_code | |||
| HomeCityName | home_city | |||
| PostalCode | post_code1 | |||
| CompanyPostalCode | post_code3 | |||
| StreetName | street | |||
| StreetPrefixName | str_suppl1 | |||
| AdditionalStreetPrefixName | str_suppl2 | |||
| StreetSuffixName | str_suppl3 | |||
| HouseNumber | house_num1 | |||
| HouseNumberSupplementText | house_num2 | |||
| Building | adrc | building | ||
| Floor | adrc | floor | ||
| RoomNumber | adrc | roomnumber | ||
| Country | country | |||
| Region | region | |||
| County | county | |||
| CountyCode | county_code | |||
| FormOfAddress | title | |||
| BusinessPartnerName1 | name1 | |||
| BusinessPartnerName2 | name2 | |||
| BusinessPartnerName3 | name3 | |||
| BusinessPartnerName4 | name4 | |||
| PhoneNumber | adrc | tel_number | ||
| FaxNumber | adrc | fax_number | ||
| StreetSearch | mc_street | |||
| CitySearch | mc_city1 | |||
| SearchTerm1 | adrc | sort1 | ||
| SearchTerm2 | adrc | sort2 | ||
| TaxJurisdiction | taxjurcode | |||
| TransportZone | transpzone | |||
| AddressCityPostBoxCode | city_code2 |
@AbapCatalog.sqlViewName: 'ISCRPTORGADDR'
@AbapCatalog.preserveKey:true
@AbapCatalog.compiler.compareFilter:true
//@Analytics : {dataCategory: #DIMENSION}
@AccessControl.authorizationCheck:#PRIVILEGED_ONLY
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.representativeKey: 'AddressNumber'
@Metadata.allowExtensions:true
@EndUserText.label: 'Interational Address Version'
define view I_ScriptedOrganizationAddress
as select from adrc
// filteer needed to have only ADRC entries that are not included in ADCP
{
key adrc.addrnumber as AddressNumber,
key adrc.nation as AddressRepresentationCode,
name_co as CareOfName,
location as AdditionalStreetSuffixName,
langu as CorrespondenceLanguage,
adrc.deflt_comm as PrfrdCommMediumType,
po_box as POBox,
po_box_num as POBoxIsWithoutNumber,
post_code2 as POBoxPostalCode,
po_box_lobby as POBoxLobbyName,
po_box_loc as POBoxDeviatingCityName,
po_box_reg as POBoxDeviatingRegion,
po_box_cty as POBoxDeviatingCountry,
deli_serv_type as DeliveryServiceTypeCode,
deli_serv_number as DeliveryServiceNumber,
time_zone as AddressTimeZone,
adrc.chckstatus as CityFileTestStatus,
adrc.dont_use_s as AddressNonDeliverableReason,
adrc.dont_use_p as PostBoxNonDeliverableReason,
cast(substring(replace(concat(name1, concat(' &@', adrc.name2)), '&@', ''),1,80)
as adfullname ) as FullName,
city1 as CityName,
city2 as District,
city_code as CityCode,
home_city as HomeCityName,
post_code1 as PostalCode,
post_code3 as CompanyPostalCode,
street as StreetName,
str_suppl1 as StreetPrefixName,
str_suppl2 as AdditionalStreetPrefixName,
str_suppl3 as StreetSuffixName,
house_num1 as HouseNumber,
house_num2 as HouseNumberSupplementText,
adrc.building as Building,
adrc.floor as Floor,
adrc.roomnumber as RoomNumber,
country as Country,
region as Region,
county as County,
county_code as CountyCode,
title as FormOfAddress,
name1 as BusinessPartnerName1,
name2 as BusinessPartnerName2,
name3 as BusinessPartnerName3,
name4 as BusinessPartnerName4,
adrc.tel_number as PhoneNumber,
adrc.fax_number as FaxNumber,
mc_street as StreetSearch,
mc_city1 as CitySearch,
adrc.sort1 as SearchTerm1,
adrc.sort2 as SearchTerm2,
taxjurcode as TaxJurisdiction,
transpzone as TransportZone,
city_code2 as AddressCityPostBoxCode
}
where
adrc.date_from = '00010101'
and adrc.nation != ' '
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"ADRC"
],
"ASSOCIATED":
[],
"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