I_BatchDistinctText

DDL: I_BATCHDISTINCTTEXT Type: view_entity COMPOSITE

Batch information by batch key - Text

I_BatchDistinctText is a Composite CDS View that provides data about "Batch information by batch key - Text" in SAP S/4HANA. It reads from 1 data source (R_BatchText) and exposes 8 fields with key fields Language, Material, Plant, Batch. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
R_BatchText R_BatchText from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[1..1] I_Product _Product $projection.Material = _Product.Product

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Batch information by batch key - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.dataCategory #TEXT view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.representativeKey Batch view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Language Language
KEY Material Material
KEY Plant BatchIdentifyingPlant
KEY Batch Batch
BatchDescription BatchDescription
_Batch _Batch
_Product _Product
_Plant _Plant
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Batch information by batch key - Text'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #A,
  sizeCategory: #L,
  dataClass: #MASTER
}
@ObjectModel.dataCategory: #TEXT
@VDM.viewType: #COMPOSITE
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@ObjectModel.representativeKey: 'Batch'
@ObjectModel.supportedCapabilities: [
  #LANGUAGE_DEPENDENT_TEXT,
  #SQL_DATA_SOURCE,
  #CDS_MODELING_DATA_SOURCE,
  #CDS_MODELING_ASSOCIATION_TARGET
]
define view entity I_BatchDistinctText
  as select from R_BatchText
  association [0..1] to I_Plant as _Plant     on $projection.Plant = _Plant.Plant
  association [1..1] to I_Product as _Product on $projection.Material = _Product.Product
{
  @Semantics.language: true
  key Language,
  @ObjectModel.foreignKey.association: '_Product'
  key Material,
  @ObjectModel.foreignKey.association: '_Plant'
  key BatchIdentifyingPlant as Plant,
  @ObjectModel.foreignKey.association: '_Batch'
  key Batch,
   
  @Semantics.text: true
  BatchDescription,

  _Batch,
  _Product,
  _Plant
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"R_BATCHTEXT"
],
"ASSOCIATED":
[
"I_BATCHDISTINCT",
"I_PLANT",
"I_PRODUCT"
],
"BASE":
[
"R_BATCHTEXT"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/