I_WorkCenterLocation

DDL: I_WORKCENTERLOCATION SQL: IWKCLOCATION Type: view BASIC

Work Center Location

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

Data Sources (1)

SourceAliasJoin Type
I_Location t499s from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_Plant _Plant $projection.WorkCenterPlant = _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 (19)

NameValueLevelField
AbapCatalog.sqlViewName IWKCLOCATION view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
Analytics.dataCategory #DIMENSION 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 WorkCenterLocation 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 Work Center Location view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY WorkCenterPlant I_Location Plant
KEY WorkCenterLocation I_Location Location
AddressID I_Location AddressID
WorkCenterLocationName I_Location LocationName
_Plant _Plant
_Address _Address
_Address_2 _Address_2
@AbapCatalog.sqlViewName: 'IWKCLOCATION'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.privilegedAssociations: ['_Address', '_Address_2']
@Analytics.dataCategory: #DIMENSION
@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_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #SEARCHABLE_ENTITY]
@ObjectModel.representativeKey: 'WorkCenterLocation'
@ObjectModel.semanticKey: ['WorkCenterPlant', 'WorkCenterLocation']
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #S, dataClass: #CUSTOMIZING}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Work Center Location'

/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ]  } */
define view I_WorkCenterLocation as select from I_Location as t499s
  association [1..1] to I_Plant     as _Plant     on  $projection.WorkCenterPlant = _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.foreignKey.association: '_Plant'
  key t499s.Plant        as WorkCenterPlant,
      @Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}
      @ObjectModel.text.element: ['WorkCenterLocationName']
  key t499s.Location     as WorkCenterLocation,
      @ObjectModel.foreignKey.association: '_Address'
      t499s.AddressID    as AddressID,
      @Search: {defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8}
      @Semantics.text: true
      t499s.LocationName as WorkCenterLocationName,

      // Associations

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