I_LocationTypeText

DDL: I_LOCATIONTYPETEXT Type: view_entity BASIC Package: VDM_LOCATION

Location Type - Text

I_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 5 fields with key fields LocationType, Language. It has 2 associations to related views. Part of development package VDM_LOCATION.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

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

Annotations (17)

NameValueLevelField
EndUserText.label Location Type - Text view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
ObjectModel.representativeKey LocationType view
ObjectModel.dataCategory #TEXT view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
Analytics.technicalName ILOCATIONTYPET view
VDM.viewType #BASIC view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.decommissioningPlannedForYearMonth 202701 view
VDM.lifecycle.successor I_LocationTypeText_2 view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY LocationType
KEY Language ddlanguage
LocationTypeDesc ddtext
_LocationType _LocationType
_Language _Language
@EndUserText:   {label:              'Location Type - Text'}
@Analytics:     {dataExtraction:       {enabled: true},
                 internalName:         #LOCAL}
@ObjectModel:   {representativeKey:  'LocationType',
                 dataCategory:       #TEXT,
                 usageType:          {serviceQuality: #A,
                                      sizeCategory:   #S,
                                      dataClass:      #CUSTOMIZING},
                 modelingPattern:        #LANGUAGE_DEPENDENT_TEXT,
                 supportedCapabilities:[ #LANGUAGE_DEPENDENT_TEXT,
                                         #CDS_MODELING_DATA_SOURCE,
                                         #CDS_MODELING_ASSOCIATION_TARGET,
                                         #SQL_DATA_SOURCE,
                                         #EXTRACTION_DATA_SOURCE,
                                         #SEARCHABLE_ENTITY]}
@Analytics.technicalName: 'ILOCATIONTYPET'
@VDM:           {viewType:            #BASIC,
                 lifecycle.status:    #DEPRECATED,
                 lifecycle.decommissioningPlannedForYearMonth: '202701',
                 lifecycle.successor: 'I_LocationTypeText_2'}
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@AccessControl: {authorizationCheck: #NOT_REQUIRED}
@Metadata:      {ignorePropagatedAnnotations: true}

/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] } */
define view entity I_LocationTypeText
  as select from dd07t
/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ] } */
  association [0..1] to I_LocationType as _LocationType on $projection.LocationType = _LocationType.LocationType
  association [0..1] to I_Language     as _Language     on $projection.Language = _Language.Language
{
      @ObjectModel.foreignKey.association: '_LocationType'
  key cast(substring(domvalue_l, 1, 4) as /sapapo/c_loctype preserving type) as LocationType,
      @Semantics.language
      @ObjectModel.foreignKey.association: '_Language'
  key ddlanguage                                                             as Language,
      @Semantics.text
      ddtext                                                                 as LocationTypeDesc,


      /* Associations */
      _LocationType,
      _Language
}
where
      domname  = '/SAPAPO/C_LOCTYPE'
  and as4local = 'A';