I_ProductionLine

DDL: I_PRODUCTIONLINE SQL: IPPPRODNLINE Type: view_entity BASIC

Production Line

I_ProductionLine is a Basic CDS View (Dimension) that provides data about "Production Line" in SAP S/4HANA. It reads from 1 data source (I_WorkCenterBySemanticKey) and exposes 6 fields with key fields ProductionLine, Plant.

Data Sources (1)

SourceAliasJoin Type
I_WorkCenterBySemanticKey I_WorkCenterBySemanticKey from

Annotations (13)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Metadata.allowExtensions true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey ProductionLine view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Production Line view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ProductionLine WorkCenter
KEY Plant Plant
ValidityStartDate ValidityStartDate
ValidityEndDate ValidityEndDate
_Plant _Plant
_WorkCenterTextBySemanticKey _WorkCenterTextBySemanticKey
//@AbapCatalog.sqlViewName: 'IPPPRODNLINE'

//@AbapCatalog.compiler.compareFilter: true

//@AbapCatalog.preserveKey: true

@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #NOT_REQUIRED
@Analytics.dataCategory: #DIMENSION
//@ClientHandling.algorithm: #SESSION_VARIABLE

//@ClientHandling.type: #CLIENT_DEPENDENT

@Metadata.allowExtensions: true
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #SEARCHABLE_ENTITY]
@ObjectModel.representativeKey: 'ProductionLine'
@ObjectModel.semanticKey: ['Plant', 'ProductionLine']
@ObjectModel.usageType: {serviceQuality: #B, sizeCategory: #S, dataClass: #MASTER}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Production Line'

//define view I_ProductionLine

define view entity I_ProductionLine
  as select from I_WorkCenterBySemanticKey
{
      @ObjectModel.text.association: '_WorkCenterTextBySemanticKey'
      // Key

      @Search: {defaultSearchElement: true, fuzzinessThreshold: 0.8}
  key WorkCenter as ProductionLine,    
      @ObjectModel.foreignKey.association: '_Plant'
  key Plant,

      // Dates

      @Semantics.businessDate.from
      ValidityStartDate,
      @Semantics.businessDate.to
      ValidityEndDate,

      // Associations

      _Plant,
      _WorkCenterTextBySemanticKey

} where WorkCenterCategoryCode = '0007';