I_LocationText

DDL: I_LOCATIONTEXT Type: view_entity BASIC Package: VDM_LOCATION

Location Text

I_LocationText is a Basic CDS View that provides data about "Location Text" in SAP S/4HANA. It reads from 1 data source (/sapapo/loct) and exposes 5 fields with key fields LocationUUID, Language. It has 2 associations to related views. Part of development package VDM_LOCATION.

Data Sources (1)

SourceAliasJoin Type
/sapapo/loct /sapapo/loct from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language
[1..1] I_LocationBasic _LocationBasic $projection.LocationUUID = _LocationBasic.LocationUUID

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.dataCategory #TEXT view
Analytics.technicalName ILOCATIONTEXT view
ObjectModel.representativeKey LocationUUID view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
VDM.lifecycle.contract.type #NONE view
VDM.viewType #BASIC view
EndUserText.label Location Text view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY LocationUUID
KEY Language spras
LocationDescription descr40
_Language _Language
_LocationBasic _LocationBasic
@AccessControl.authorizationCheck:      #MANDATORY
@AccessControl.personalData.blocking:   #REQUIRED
@ObjectModel.dataCategory:              #TEXT
@Analytics.technicalName: 'ILOCATIONTEXT'
@ObjectModel.representativeKey:         'LocationUUID'
@ObjectModel.usageType.serviceQuality:  #A
@ObjectModel.usageType.sizeCategory:    #M
@ObjectModel.usageType.dataClass:       #MASTER
@VDM.lifecycle.contract.type:           #NONE
@VDM.viewType:                          #BASIC

@EndUserText.label:                     'Location Text'

define view entity I_LocationText
  as select from /sapapo/loct
  association [0..1] to I_Language      as _Language      on $projection.Language = _Language.Language
  association [1..1] to I_LocationBasic as _LocationBasic on $projection.LocationUUID = _LocationBasic.LocationUUID
{
  key cast( locid as /sapapo/location_id preserving type ) as LocationUUID,
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key spras                                                as Language,
      @Semantics.text: true
      descr40                                              as LocationDescription,

      /* Associations */
      _Language,
      _LocationBasic
}