I_AddressTP

DDL: I_ADDRESSTP SQL: IADDRTP Type: view TRANSACTIONAL

Address Reuse Component Transactional

I_AddressTP is a Transactional CDS View that provides data about "Address Reuse Component Transactional" in SAP S/4HANA. It reads from 1 data source (I_Address_2) and exposes 73 fields with key field AddressID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_Address_2 Address from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_LanguageText _LanguageText _LanguageText.Language = $projection.CorrespondenceLanguage and _LanguageText.LanguageCode = $projection.CorrespondenceLanguage

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName IADDRTP view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #TRANSACTIONAL view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Address Reuse Component Transactional view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.compositionRoot true view
ObjectModel.semanticKey AddressID view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.draftEnabled true view
ObjectModel.writeDraftPersistence ADDR_D view
ObjectModel.entityChangeStateId LastChangeDateTime view

Fields (73)

KeyFieldSource TableSource FieldDescription
KEY AddressID I_Address_2 AddressID Ship-to address
AddressObjectType I_Address_2 AddressObjectType Address Type
CareOfName I_Address_2 CareOfName c/o
AdditionalStreetSuffixName
CorrespondenceLanguage I_Address_2 CorrespondenceLanguage Language
PrfrdCommMediumType I_Address_2 PrfrdCommMediumType Comm. Method
POBox I_Address_2 POBox PO Box
POBoxIsWithoutNumber I_Address_2 POBoxIsWithoutNumber PO Box w/o No.
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
POBoxDeviatingRegion I_Address_2 POBoxDeviatingRegion PO Region
POBoxDeviatingCountry I_Address_2 POBoxDeviatingCountry PO Box C/R
DeliveryServiceTypeCode I_Address_2 DeliveryServiceTypeCode Delvry Serv Type
DeliveryServiceNumber I_Address_2 DeliveryServiceNumber Delivery Service No.
AddressTimeZone I_Address_2 AddressTimeZone Time Zone
FullName
CityName I_Address_2 CityName Name
DistrictName I_Address_2 DistrictName District
District I_Address_2 DistrictName District
CityCode I_Address_2 CityNumber City Code
HomeCityName I_Address_2 VillageName Different City
PostalCode I_Address_2 PostalCode Postal Code
CompanyPostalCode I_Address_2 CompanyPostalCode Company Post Cd
StreetName I_Address_2 StreetName Text
StreetPrefixName I_Address_2 StreetPrefixName1 Street 2
AdditionalStreetPrefixName I_Address_2 StreetPrefixName2 Street 3
StreetSuffixName I_Address_2 StreetSuffixName1 Street 4
HouseNumber I_Address_2 HouseNumber House Number
HouseNumberSupplementText I_Address_2 HouseNumberSupplementText Supplement
Building I_Address_2 Building Building code
Floor I_Address_2 Floor Floor
RoomNumber I_Address_2 RoomNumber Room Number
Country
Region I_Address_2 Region Venue Region
SecondaryRegionName I_Address_2 SecondaryRegionName County
County I_Address_2 SecondaryRegionName County
CountyCode I_Address_2 SecondaryRegion County code
FormOfAddress I_Address_2 FormOfAddress Title Key
BusinessPartnerName1 _OrganizationAddress AddresseeName1
BusinessPartnerName2 _OrganizationAddress AddresseeName2
Nation I_Address_2 AddressRepresentationCode Address Version
PhoneNumber
FaxNumber _CurrentDfltFaxNumber FaxAreaCodeSubscriberNumber Fax
SearchTerm1 I_Address_2 AddressSearchTerm1 Search Term 1
StreetSearch
CitySearch
BusinessPartnerName3 _OrganizationAddress AddresseeName3
BusinessPartnerName4 _OrganizationAddress AddresseeName4
TaxJurisdiction I_Address_2 TaxJurisdiction Tax Jurisdiction
TransportZone I_Address_2 TransportZone Transport Zone
Person I_Address_2 AddressPersonID Person Number
AddressType
AddressOwnerObjectID
AddressIsChangedManually
ActiveAddressID
ActiveAddressIsManual
AddressOwnerTableName
AddressOwnerReferenceFieldName
AddressOwnerManualFieldName
ReferenceAddressID
ReferenceObjectID
ReferenceAddressType
EmailAddress
LastChangeDateTime
_OrganizationAddress _OrganizationAddress
_PhoneNumber _PhoneNumber
_CurrentDfltEmailAddress _CurrentDfltEmailAddress
_CurrentDfltMobilePhoneNumber _CurrentDfltMobilePhoneNumber
_CurrentDfltLandlinePhoneNmbr _CurrentDfltLandlinePhoneNmbr
_CurrentDfltFaxNumber _CurrentDfltFaxNumber
_MainWebsiteURL _MainWebsiteURL
_LanguageText _LanguageText

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_AddressTP.
-- 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: IADDRTP

CREATE VIEW I_AddressTP AS
SELECT
  Address.AddressID AS AddressID,
  Address.AddressObjectType AS AddressObjectType,
  Address.CareOfName AS CareOfName,
  cast ( Address.StreetSuffixName2 as ad_lctn preserving type ) AS AdditionalStreetSuffixName,
  Address.CorrespondenceLanguage AS CorrespondenceLanguage,
  Address.PrfrdCommMediumType AS PrfrdCommMediumType,
  Address.POBox AS POBox,
  Address.POBoxIsWithoutNumber AS POBoxIsWithoutNumber,
  Address.POBoxPostalCode AS POBoxPostalCode,
  Address.POBoxLobbyName AS POBoxLobbyName,
  Address.POBoxDeviatingCityName AS POBoxDeviatingCityName,
  Address.POBoxDeviatingRegion AS POBoxDeviatingRegion,
  Address.POBoxDeviatingCountry AS POBoxDeviatingCountry,
  Address.DeliveryServiceTypeCode AS DeliveryServiceTypeCode,
  Address.DeliveryServiceNumber AS DeliveryServiceNumber,
  Address.AddressTimeZone AS AddressTimeZone,
  cast( Address.AddresseeFullName as caaddr_fullname preserving type ) AS FullName,
  Address.CityName AS CityName,
  Address.DistrictName AS DistrictName,
  Address.DistrictName AS District,
  Address.CityNumber AS CityCode,
  Address.VillageName AS HomeCityName,
  Address.PostalCode AS PostalCode,
  Address.CompanyPostalCode AS CompanyPostalCode,
  Address.StreetName AS StreetName,
  Address.StreetPrefixName1 AS StreetPrefixName,
  Address.StreetPrefixName2 AS AdditionalStreetPrefixName,
  Address.StreetSuffixName1 AS StreetSuffixName,
  Address.HouseNumber AS HouseNumber,
  Address.HouseNumberSupplementText AS HouseNumberSupplementText,
  Address.Building AS Building,
  Address.Floor AS Floor,
  Address.RoomNumber AS RoomNumber,
  cast( Address.Country as caaddr_country preserving type ) AS Country,
  Address.Region AS Region,
  Address.SecondaryRegionName AS SecondaryRegionName,
  Address.SecondaryRegionName AS County,
  Address.SecondaryRegion AS CountyCode,
  Address.FormOfAddress AS FormOfAddress,
  _OrganizationAddress.AddresseeName1 AS BusinessPartnerName1,
  _OrganizationAddress.AddresseeName2 AS BusinessPartnerName2,
  Address.AddressRepresentationCode AS Nation,
  cast ( _CurrentDfltLandlinePhoneNmbr.PhoneAreaCodeSubscriberNumber as caaddr_phonenr preserving type ) AS PhoneNumber,
  _CurrentDfltFaxNumber.FaxAreaCodeSubscriberNumber AS FaxNumber,
  Address.AddressSearchTerm1 AS SearchTerm1,
  cast( '' as ad_mc_strt) AS StreetSearch,
  cast( '' as ad_mc_city) AS CitySearch,
  _OrganizationAddress.AddresseeName3 AS BusinessPartnerName3,
  _OrganizationAddress.AddresseeName4 AS BusinessPartnerName4,
  Address.TaxJurisdiction AS TaxJurisdiction,
  Address.TransportZone AS TransportZone,
  Address.AddressPersonID AS Person,
  cast( '' as ad_adrtype ) AS AddressType,
  cast( '' as ad_objkey ) AS AddressOwnerObjectID,
  cast( '' as boolean) AS AddressIsChangedManually,
  cast( '' as ad_addrnum ) AS ActiveAddressID,
  cast( '' as boolean ) AS ActiveAddressIsManual,
  cast( '' as ad_appltab ) AS AddressOwnerTableName,
  cast( '' as ad_applfld ) AS AddressOwnerReferenceFieldName,
  cast( '' as ad_applfld ) AS AddressOwnerManualFieldName,
  cast( '' as ad_addrnum ) AS ReferenceAddressID,
  cast( '' as ad_objkey ) AS ReferenceObjectID,
  cast( '' as caaddr_e_type ) AS ReferenceAddressType,
  cast ( _CurrentDfltEmailAddress.EmailAddress as caaddr_smtpadr preserving type ) AS EmailAddress,
  cast ( 1 as vdm_lastchangedon ) AS LastChangeDateTime
FROM I_Address_2 AS Address
LEFT OUTER JOIN I_LanguageText AS _LanguageText ON _LanguageText.Language = CorrespondenceLanguage AND _LanguageText.LanguageCode = CorrespondenceLanguage  -- association [0..1]
;