I_BPStreetValueHelpTmp
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. Part of development package VDM_MD_BP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| adrstreet | adrstreet | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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 | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| Search.searchable | true | view | |
| Consumption.ranked | true | view |
@AbapCatalog.sqlViewName: 'IBPSTREETVHTMP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Street Code'
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #BASIC
@ObjectModel.representativeKey: 'BusinessPartnerStreetCode'
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.dataCategory: #VALUE_HELP
@Search.searchable: true
@Consumption.ranked: true
define view I_BPStreetValueHelpTmp
as select from adrstreet
association [1..1] to I_Country as _Country on $projection.Country = _Country.Country
association [0..1] to I_BPStreetTextTmp as _Text on $projection.Country = _Text.Country
and $projection.BusinessPartnerStreetCode = _Text.BusinessPartnerStreetCode
and _Text.Language = $session.system_language
association [1..1] to I_BPCityValueHelpTmp as _City on $projection.Country = _City.Country
and $projection.BusinessPartnerCityCode = _City.BusinessPartnerCityCode
{
@ObjectModel.foreignKey.association: '_Country'
key country as Country,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGH
@ObjectModel.text.element: 'StreetName'
key strt_code as BusinessPartnerStreetCode,
city_code as BusinessPartnerCityCode,
@UI.lineItem.position: 1
_Text.StreetName as StreetName,
_City.CityName as CityName,
_City.Region as Region,
_Country,
_City,
_Text
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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