R_LocationAddressTP

DDL: R_LOCATIONADDRESSTP Type: view_entity TRANSACTIONAL

R_LocationAddressTP is a Transactional CDS View in SAP S/4HANA. It reads from 1 data source (I_LocationBasic) and exposes 17 fields with key fields LocationUUID, AddressPersonID, AddressRepresentationCode. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_LocationBasic _LocationBasic from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Address_2 _Address_2 _Address_2.AddressID = _LocationBasic.AddressID and _Address_2.AddressPersonID = ' ' and _Address_2.AddressRepresentationCode = ' '

Annotations (7)

NameValueLevelField
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.transactionalProcessingEnabled true view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY LocationUUID I_LocationBasic LocationUUID UUID
KEY AddressPersonID _Address_2 AddressPersonID Person Number
KEY AddressRepresentationCode _Address_2 AddressRepresentationCode Address Version
AddressID _Address_2 AddressID Ship-to address
AddressTimeZone _Address_2 AddressTimeZone Time Zone
CityName _Address_2 CityName Name
PostalCode _Address_2 PostalCode Postal Code
StreetName _Address_2 StreetName Text
HouseNumber _Address_2 HouseNumber House Number
Country _Address_2 Country Venue: Ctry/Reg
Region _Address_2 Region Venue Region
SearchTerm1 _Address_2 AddressSearchTerm1 Search Term 1
SearchTerm2 _Address_2 AddressSearchTerm2 Search Term 2
_Country _Address_2 _Country
_Region _Address_2 _Region
_TimeZone _Address_2 _TimeZone
_LocationTP _LocationTP

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 R_LocationAddressTP.
-- 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.

CREATE VIEW R_LocationAddressTP AS
SELECT
  _LocationBasic.LocationUUID AS LocationUUID,
  _Address_2.AddressPersonID AS AddressPersonID,
  _Address_2.AddressRepresentationCode AS AddressRepresentationCode,
  _Address_2.AddressID AS AddressID,
  _Address_2.AddressTimeZone AS AddressTimeZone,
  _Address_2.CityName AS CityName,
  _Address_2.PostalCode AS PostalCode,
  _Address_2.StreetName AS StreetName,
  _Address_2.HouseNumber AS HouseNumber,
  _Address_2.Country AS Country,
  _Address_2.Region AS Region,
  _Address_2.AddressSearchTerm1 AS SearchTerm1,
  _Address_2.AddressSearchTerm2 AS SearchTerm2,
  _Address_2._Country AS _Country,
  _Address_2._Region AS _Region,
  _Address_2._TimeZone AS _TimeZone
FROM I_LocationBasic AS _LocationBasic
LEFT OUTER JOIN I_Address_2 AS _Address_2 ON _Address_2.AddressID = _LocationBasic.AddressID AND _Address_2.AddressPersonID = ' ' AND _Address_2.AddressRepresentationCode = ' '  -- association [0..1]
;