I_LocationGroup

DDL: I_LOCATIONGROUP SQL: ILOCATIONGRP Type: view BASIC

Location Group Code

I_LocationGroup is a Basic CDS View (Dimension) that provides data about "Location Group Code" in SAP S/4HANA. It reads from 1 data source (tc28) and exposes 4 fields with key fields LocationGroup, Plant. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
tc28 tc28 from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..*] I_LocationGroupText _Text $projection.LocationGroup = _Text.LocationGroup and $projection.Plant = _Text.Plant

Annotations (21)

NameValueLevelField
AbapCatalog.sqlViewName ILOCATIONGRP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #GENERIC view
AbapCatalog.buffering.numberOfKeyFields 001 view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey LocationGroup view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #ORGANIZATIONAL view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Location Group Code view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY LocationGroup tc28 ortgr
KEY Plant tc28 werks
_Plant _Plant
_Text _Text
@AbapCatalog.sqlViewName: 'ILOCATIONGRP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.buffering: {status: #ACTIVE, type: #GENERIC, numberOfKeyFields: 001}
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.dataCategory: #DIMENSION
@Analytics.internalName: #LOCAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.supportedCapabilities:  [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #SEARCHABLE_ENTITY]
@ObjectModel.representativeKey: 'LocationGroup'
@ObjectModel.semanticKey: ['LocationGroup', 'Plant']
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #S, dataClass: #ORGANIZATIONAL}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Location Group Code'

define view I_LocationGroup
  as select from tc28 as tc28
  association [1..1] to I_Plant             as _Plant on  $projection.Plant = _Plant.Plant
  association [0..*] to I_LocationGroupText as _Text  on  $projection.LocationGroup = _Text.LocationGroup
                                                      and $projection.Plant = _Text.Plant
{
      @ObjectModel.text.association: '_Text'
      // Key

      @Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}  
  key tc28.ortgr as LocationGroup,
      @ObjectModel.foreignKey.association: '_Plant'
  key tc28.werks as Plant,

      // Associations

      _Plant,
      _Text
};
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"TC28"
],
"ASSOCIATED":
[
"I_LOCATIONGROUPTEXT",
"I_PLANT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/