I_ScriptedPersonAddress

DDL: I_SCRIPTEDPERSONADDRESS SQL: ISCRPTPRSNADDR Type: view BASIC Package: MDC_BUPA_BO

Interational Address Version for Persons

I_ScriptedPersonAddress is a Basic CDS View that provides data about "Interational Address Version for Persons" in SAP S/4HANA. It reads from 3 data sources (adcp, adrc, adrp) and exposes 66 fields with key fields AddressNumber, AddressRepresentationCode, Person. Part of development package MDC_BUPA_BO.

Data Sources (3)

SourceAliasJoin Type
adcp adcp inner
adrc adrc inner
adrp adrp from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ISCRPTPRSNADDR 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 for Persons view

Fields (66)

KeyFieldSource TableSource FieldDescription
KEY AddressNumber adcp addrnumber Address Number
KEY AddressRepresentationCode adrp nation Country/Region
KEY Person adrp persnumber Person Number
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
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
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
FormOfAddress adrp title View Title
SearchTerm1 adrp sort1 Sort string 1
SearchTerm2 adrp sort2 Sort string 2
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
BusinessPartnerSupplementName adrp title_sppl Name Supplement
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_ScriptedPersonAddress.
-- 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: ISCRPTPRSNADDR

CREATE VIEW I_ScriptedPersonAddress AS
SELECT
  adcp.addrnumber AS AddressNumber,
  adrp.nation AS AddressRepresentationCode,
  adrp.persnumber AS Person,
  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,
  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,
  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,
  adrp.title AS FormOfAddress,
  adrp.sort1 AS SearchTerm1,
  adrp.sort2 AS SearchTerm2,
  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.title_sppl AS BusinessPartnerSupplementName,
  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 adrp
INNER JOIN adcp ON /* join condition not captured in parsed metadata */
INNER JOIN adrc ON /* join condition not captured in parsed metadata */
;