I_Location

DDL: I_LOCATION SQL: IPPLOCATION Type: view BASIC

Location

I_Location is a Basic CDS View (Dimension) that provides data about "Location" in SAP S/4HANA. It reads from 1 data source (t499s) and exposes 7 fields with key fields Location, Plant. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
t499s loc from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_Address _Address $projection.AddressID = _Address.AddressID
[0..1] I_Address_2 _Address_2 $projection.AddressID = _Address_2.AddressID and _Address_2.AddressPersonID = '' and _Address_2.AddressRepresentationCode = ''

Annotations (23)

NameValueLevelField
AbapCatalog.sqlViewName IPPLOCATION view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
AbapCatalog.buffering.numberOfKeyFields 000 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Consumption.ranked true view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey Location view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Location view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Location t499s stand
KEY Plant t499s werks
AddressID t499s addrnum
LocationName
_Plant _Plant
_Address _Address
_Address_2 _Address_2
@AbapCatalog.sqlViewName: 'IPPLOCATION'
@AbapCatalog.buffering: {status: #ACTIVE, type: #FULL, numberOfKeyFields: 000}
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@AccessControl.privilegedAssociations: ['_Address', '_Address_2']
@Analytics: {dataCategory: #DIMENSION, dataExtraction.enabled: true}
@Analytics.internalName: #LOCAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@Consumption.ranked: true
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE, #SEARCHABLE_ENTITY, #EXTRACTION_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET]
@ObjectModel.representativeKey: 'Location'
@ObjectModel.semanticKey: ['Location', 'Plant']
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #S, dataClass: #CUSTOMIZING}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Location'

define view I_Location as select from t499s as loc
  association [1..1] to I_Plant     as _Plant     on  $projection.Plant     = _Plant.Plant
  association [0..1] to I_Address   as _Address   on  $projection.AddressID = _Address.AddressID
  association [0..1] to I_Address_2 as _Address_2 on  $projection.AddressID = _Address_2.AddressID
                                                  and _Address_2.AddressPersonID           = ''
                                                  and _Address_2.AddressRepresentationCode = ''
{
      @ObjectModel.text.element: ['LocationName']
      @Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}
  key loc.stand   as Location,
      @ObjectModel.foreignKey.association: '_Plant'
  key loc.werks   as Plant,
      @ObjectModel.foreignKey.association: '_Address'
      loc.addrnum as AddressID,
      @Search: {defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8}
      @Semantics.text: true
      cast(loc.ktext as locationname preserving type) as LocationName,

      // Associations

      _Plant,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor: '_Address_2'
      _Address,
      _Address_2
};
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"T499S"
],
"ASSOCIATED":
[
"I_ADDRESS",
"I_ADDRESS_2",
"I_PLANT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/