I_BPStreetValueHelpTmp

DDL: I_BPSTREETVALUEHELPTMP SQL: IBPSTREETVHTMP Type: view BASIC

Street Code

I_BPStreetValueHelpTmp is a Basic CDS View that provides data about "Street Code" in SAP S/4HANA. It reads from 1 data source (adrstreet) and exposes 9 fields with key fields Country, BusinessPartnerStreetCode. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
adrstreet adrstreet from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_Country _Country $projection.Country = _Country.Country
[0..1] I_BPStreetTextTmp _Text $projection.Country = _Text.Country and $projection.BusinessPartnerStreetCode = _Text.BusinessPartnerStreetCode and _Text.Language = $session.system_language
[1..1] I_BPCityValueHelpTmp _City $projection.Country = _City.Country and $projection.BusinessPartnerCityCode = _City.BusinessPartnerCityCode

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IBPSTREETVHTMP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Street Code view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.representativeKey BusinessPartnerStreetCode view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.dataCategory #VALUE_HELP view
Search.searchable true view
Consumption.ranked true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY Country country Venue: Ctry/Reg
KEY BusinessPartnerStreetCode strt_code Street Number
BusinessPartnerCityCode city_code Japan City Code
StreetName _Text StreetName Text
CityName _City CityName Name
Region _City Region Venue Region
_Country _Country
_City _City
_Text _Text

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_BPStreetValueHelpTmp.
-- 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: IBPSTREETVHTMP

CREATE VIEW I_BPStreetValueHelpTmp AS
SELECT
  Country,
  strt_code AS BusinessPartnerStreetCode,
  city_code AS BusinessPartnerCityCode,
  _Text.StreetName AS StreetName,
  _City.CityName AS CityName,
  _City.Region AS Region
FROM adrstreet
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country  -- association [1..1]
LEFT OUTER JOIN I_BPStreetTextTmp AS _Text ON Country = _Text.Country AND BusinessPartnerStreetCode = _Text.BusinessPartnerStreetCode AND _Text.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_BPCityValueHelpTmp AS _City ON Country = _City.Country AND BusinessPartnerCityCode = _City.BusinessPartnerCityCode  -- association [1..1]
;