I_LocationType

DDL: I_LOCATIONTYPE Type: view BASIC

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.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Annotations (17)

NameValueLevelField
EndUserText.label Location Type view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL 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
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName ILOCATIONTYPE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY LocationType
_Text _Text
@EndUserText:   {label:              'Location Type'}
@Analytics:     {dataCategory:       #DIMENSION, 
                 dataExtraction:     {enabled: true},
                 internalName:       #LOCAL}
@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 }
@AbapCatalog:   {compiler:           {compareFilter: true},
                 preserveKey:        true,
                 sqlViewName:        'ILOCATIONTYPE'}
@AccessControl: {authorizationCheck: #NOT_REQUIRED}
@ClientHandling.algorithm:           #SESSION_VARIABLE
@Metadata:      {allowExtensions:    true,
                 ignorePropagatedAnnotations: true}
                 
define view I_LocationType
as select from dd07l
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';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07L"
],
"ASSOCIATED":
[
"I_LOCATIONTYPETEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/