I_ScriptedAddress
Interational Address Version
I_ScriptedAddress is a Basic CDS View that provides data about "Interational Address Version" in SAP S/4HANA. It reads from 3 data sources (adcp, adrc, adrp) and exposes 70 fields with key fields AddressNumber, AddressRepresentationCode. Part of development package MDC_BUPA_BO.
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISCRPTEDADDR | 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 | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.representativeKey | AddressNumber | view | |
| Metadata.allowExtensions | true | view | |
| EndUserText.label | Interational Address Version | view |
Fields (70)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AddressNumber | adrc | addrnumber | Address Number |
| KEY | AddressRepresentationCode | adrc | nation | Country/Region |
| CareOfName | name_co | c/o | ||
| AdditionalStreetSuffixName | location | Text | ||
| CorrespondenceLanguage | adrc | langu | Primary lang. | |
| PrfrdCommMediumType | adrc | deflt_comm | Comm. Method | |
| POBox | po_box | PO Box | ||
| POBoxIsWithoutNumber | po_box_num | PO Box w/o No. | ||
| POBoxPostalCode | post_code2 | PO Box Post Cde | ||
| POBoxLobbyName | po_box_lobby | PO Box Lobby | ||
| POBoxDeviatingCityName | po_box_loc | PO Box City | ||
| POBoxDeviatingRegion | po_box_reg | PO Region | ||
| POBoxDeviatingCountry | po_box_cty | PO Box C/R | ||
| DeliveryServiceTypeCode | deli_serv_type | Delvry Serv Type | ||
| DeliveryServiceNumber | deli_serv_number | Delivery Service No. | ||
| AddressTimeZone | time_zone | TimeZone | ||
| CityFileTestStatus | adrc | chckstatus | Check Status | |
| AddressNonDeliverableReason | adrc | dont_use_s | Undeliverable | |
| PostBoxNonDeliverableReason | adrc | dont_use_p | Undeliverable | |
| name2180asadfullnameasFullName | ||||
| CityName | city1 | City | ||
| District | city2 | District | ||
| CityCode | city_code | Japan City Code | ||
| HomeCityName | home_city | Different City | ||
| PostalCode | post_code1 | Postal Code | ||
| CompanyPostalCode | post_code3 | Company Post Cd | ||
| StreetName | street | Street Code | ||
| StreetPrefixName | str_suppl1 | Street 2 | ||
| AdditionalStreetPrefixName | str_suppl2 | Street 3 | ||
| StreetSuffixName | str_suppl3 | Street 4 | ||
| HouseNumber | house_num1 | House Number | ||
| HouseNumberSupplementText | house_num2 | Supplement | ||
| Building | adrc | building | Building code | |
| Floor | adrc | floor | Floor | |
| RoomNumber | adrc | roomnumber | Room Number | |
| Country | country | Venue: Ctry/Reg | ||
| Region | region | Venue Region | ||
| County | county | Wyoming County | ||
| CountyCode | county_code | County code | ||
| BusinessPartnerName1 | name1 | PA text | ||
| BusinessPartnerName2 | adrc | name2 | Name2/First nme | |
| BusinessPartnerName3 | name3 | Name 3 | ||
| BusinessPartnerName4 | name4 | Name 4 | ||
| PhoneNumber | adrc | tel_number | Telephone | |
| FaxNumber | adrc | fax_number | Fax Number | |
| StreetSearch | mc_street | Street | ||
| CitySearch | mc_city1 | City | ||
| TaxJurisdiction | taxjurcode | Tax Jurisdiction | ||
| TransportZone | transpzone | Transport Zone | ||
| AddressCityPostBoxCode | city_code2 | City Code | ||
| Person | adcp | persnumber | Person Number | |
| titleendasFormOfAddress | ||||
| sort1endasSearchTerm1 | ||||
| sort2endasSearchTerm2 | ||||
| FirstName | adrp | name_first | First Name | |
| LastName | adrp | name_last | Last Name | |
| BusinessPartnerBirthName | adrp | name2 | Name2/First nme | |
| MiddleName | adrp | namemiddle | Middle Name | |
| AdditionalLastName | adrp | name_last2 | Name at Birth | |
| PersonFullName | adrp | name_text | Full Name | |
| AcademicTitle | adrp | title_aca1 | Academic Title | |
| AcademicTitle2 | adrp | title_aca2 | 2nd Academic | |
| LastNamePrefix | adrp | prefix1 | Prefix Key | |
| LastNameSecondPrefix | adrp | prefix2 | 2nd prefix | |
| BusinessPartnerNicknameLabel | adrp | nickname | Nickname | |
| Initials | adrp | initials | Initials | |
| NameFormat | adrp | nameformat | Name Format | |
| NameCountry | adrp | namcountry | Country/Region | |
| BPFirstNameSearchHelp | adrp | mc_namefir | First Name | |
| BPLastNameSearchHelp | adrp | mc_namelas | Last Name |
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_ScriptedAddress.
-- 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: ISCRPTEDADDR
CREATE VIEW I_ScriptedAddress AS
SELECT
adrc.addrnumber AS AddressNumber,
adrc.nation AS AddressRepresentationCode,
name_co AS CareOfName,
location AS AdditionalStreetSuffixName,
adrc.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 AS name2180asadfullnameasFullName,
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,
Region,
County,
county_code AS CountyCode,
name1 AS BusinessPartnerName1,
adrc.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,
taxjurcode AS TaxJurisdiction,
transpzone AS TransportZone,
city_code2 AS AddressCityPostBoxCode,
adcp.persnumber AS Person,
case when adcp.persnumber is null then adrc.title else adrp.title end as FormOfAddress AS titleendasFormOfAddress,
case when adcp.persnumber is null then adrc.sort1 else adrp.sort1 end as SearchTerm1 AS sort1endasSearchTerm1,
case when adcp.persnumber is null then adrc.sort2 else adrp.sort2 end as SearchTerm2 AS sort2endasSearchTerm2,
adrp.name_first AS FirstName,
adrp.name_last AS LastName,
adrp.name2 AS BusinessPartnerBirthName,
adrp.namemiddle AS MiddleName,
adrp.name_last2 AS AdditionalLastName,
adrp.name_text AS PersonFullName,
adrp.title_aca1 AS AcademicTitle,
adrp.title_aca2 AS AcademicTitle2,
adrp.prefix1 AS LastNamePrefix,
adrp.prefix2 AS LastNameSecondPrefix,
adrp.nickname AS BusinessPartnerNicknameLabel,
adrp.initials AS Initials,
adrp.nameformat AS NameFormat,
adrp.namcountry AS NameCountry,
adrp.mc_namefir AS BPFirstNameSearchHelp,
adrp.mc_namelas AS BPLastNameSearchHelp
FROM adrc
LEFT OUTER JOIN adcp ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN adrp 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