I_Street

DDL: I_STREET Type: view_entity BASIC

Street

I_Street is a Basic CDS View that provides data about "Street" in SAP S/4HANA. It reads from 1 data source (adrstreet) and exposes 6 fields with key fields Country, Street. 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..*] I_StreetText _Text $projection.Street = _Text.Street
[1..1] I_PostalCity _PostalCity $projection.Country = _PostalCity.Country and $projection.CityNumber = _PostalCity.CityNumber

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Street view
ObjectModel.representativeKey Street view
Analytics.technicalName ISTREET view
ObjectModel.sapObjectNodeType.name Street view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Country country
KEY Street strt_code
CityNumber city_code
_Country _Country
_Text _Text
_PostalCity _PostalCity
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Street'
@ObjectModel.representativeKey: 'Street'
@Analytics.technicalName: 'ISTREET'
@ObjectModel.sapObjectNodeType.name: 'Street'
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.supportedCapabilities: [#CDS_MODELING_ASSOCIATION_TARGET, #CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE]
@VDM.viewType: #BASIC
define view entity I_Street
  as select from adrstreet
  association [1..1] to I_Country    as _Country on $projection.Country = _Country.Country
  
  association [0..*] to I_StreetText as _Text    on $projection.Street  = _Text.Street
  
  association [1..1] to I_PostalCity as _PostalCity on  $projection.Country    = _PostalCity.Country
                                                    and $projection.CityNumber = _PostalCity.CityNumber
{
      @ObjectModel.foreignKey.association: '_Country'
  key country   as Country,
      @ObjectModel.text.association: '_Text'
  key strt_code as Street,
      @ObjectModel.foreignKey.association: '_PostalCity'
      city_code as CityNumber,
      _Country,
      _Text,
      _PostalCity
}