I_EWM_LocationTypeText

DDL: I_EWM_LOCATIONTYPETEXT Type: view_entity BASIC

Location Type - Text

I_EWM_LocationTypeText is a Basic CDS View that provides data about "Location Type - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields Language, EWMLocationType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

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

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Location Type - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.representativeKey EWMLocationType view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view
Search.searchable true view
VDM.viewType #BASIC view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY EWMLocationType
DomainValue dd07t domvalue_l
EWMLocationTypeName
_EWMLocationType _EWMLocationType
_Language _Language
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Location Type - Text'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.dataCategory: #TEXT
@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.representativeKey: 'EWMLocationType'
@ObjectModel.supportedCapabilities: [#CDS_MODELING_ASSOCIATION_TARGET,
                                     #CDS_MODELING_DATA_SOURCE,
                                     #LANGUAGE_DEPENDENT_TEXT,
                                     #SQL_DATA_SOURCE]
@ObjectModel.usageType:{
  serviceQuality: #A,
  sizeCategory: #S,
  dataClass: #META
}
@Search.searchable: true
@VDM.viewType: #BASIC
define view entity I_EWM_LocationTypeText
  as select from dd07t
  association        to parent I_EWM_LocationType as _EWMLocationType on $projection.EWMLocationType = _EWMLocationType.EWMLocationType
  association [0..1] to I_Language                    as _Language            on $projection.Language = _Language.Language
{
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key cast( dd07t.ddlanguage as spras preserving type )              as Language,
      @ObjectModel.foreignKey.association: '_EWMLocationType'
      @ObjectModel.text.element: ['EWMLocationTypeName']
  key cast( dd07t.domvalue_l as /scwm/de_loc_type )                  as EWMLocationType,
      @Consumption.hidden: true
      @Analytics.hidden: true
      dd07t.domvalue_l                                               as DomainValue,
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #LOW
      @Semantics.text: true
      cast( dd07t.ddtext as ewm_de_locationtypename preserving type ) as EWMLocationTypeName,
      _EWMLocationType,
      _Language
}
where
      dd07t.domname  = '/SCWM/DO_LOC_TYPE'
  and dd07t.as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_EWM_LOCATIONTYPE",
"I_LANGUAGE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/