I_LocationType

DDL: I_LOCATIONTYPE Type: view_entity BASIC Package: VDM_LOCATION

Location Type

I_LocationType is a Basic CDS View (Dimension) that provides data about "Location Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field LocationType. Part of development package VDM_LOCATION.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Annotations (19)

NameValueLevelField
EndUserText.label Location Type view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
Analytics.technicalName ILOCATIONTYPE view
ObjectModel.representativeKey LocationType view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
VDM.viewType #BASIC view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.decommissioningPlannedForYearMonth 202701 view
VDM.lifecycle.successor I_LocationType_2 view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.sapObjectNodeType.name LocationType view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY LocationType
_Text _Text
@EndUserText:   {label:              'Location Type'}
@Analytics:     {dataCategory:       #DIMENSION, 
                 dataExtraction:     {enabled: true},
                 internalName:       #LOCAL}
@Analytics.technicalName: 'ILOCATIONTYPE'
@ObjectModel:   {representativeKey:  'LocationType',
                 usageType:          {serviceQuality: #A,
                                      sizeCategory:   #S,
                                      dataClass:      #CUSTOMIZING},
                                      modelingPattern:#ANALYTICAL_DIMENSION,
                 supportedCapabilities:  [ #ANALYTICAL_DIMENSION,
                                           #CDS_MODELING_DATA_SOURCE,
                                           #CDS_MODELING_ASSOCIATION_TARGET,
                                           #SQL_DATA_SOURCE,
                                           #EXTRACTION_DATA_SOURCE,
                                           #VALUE_HELP_PROVIDER,
                                           #SEARCHABLE_ENTITY]}
@VDM:           {viewType:            #BASIC,
                 lifecycle.status:    #DEPRECATED,
                 lifecycle.decommissioningPlannedForYearMonth: '202701',
                 lifecycle.successor: 'I_LocationType_2'}
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@AccessControl: {authorizationCheck: #NOT_REQUIRED}
@Metadata:      {allowExtensions:    true,
                 ignorePropagatedAnnotations: true}
  
@ObjectModel.sapObjectNodeType.name: 'LocationType'
  
 /*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] } */                
define view entity I_LocationType
as select from dd07l
/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ] } */
association[0..*] to I_LocationTypeText as _Text on $projection.LocationType = _Text.LocationType
{
    @ObjectModel.text.association: '_Text'
key cast(substring(domvalue_l, 1, 4) as /sapapo/c_loctype preserving type) as LocationType,
    
    /* Associations */
    _Text
}
where domname = '/SAPAPO/C_LOCTYPE'
  and as4local = 'A';