I_MfgProcgExecBatch

DDL: I_MFGPROCGEXECBATCH SQL: IMPEBATCH Type: view COMPOSITE

Batch in Manufacturing Processing Execution

I_MfgProcgExecBatch is a Composite CDS View (Dimension) that provides data about "Batch in Manufacturing Processing Execution" in SAP S/4HANA. It reads from 2 data sources (P_MfgProcgExecBatch, I_BatchConfiguration) and exposes 7 fields with key fields Plant, Material, Batch. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
P_MfgProcgExecBatch batch from
I_BatchConfiguration tcuch inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_Batch _Batch $projection.Plant = _Batch.Plant and $projection.Material = _Batch.Material and $projection.Batch = _Batch.Batch

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IMPEBATCH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
Analytics.dataCategory #DIMENSION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.representativeKey Batch view
VDM.viewType #COMPOSITE view
Search.searchable true view
EndUserText.label Batch in Manufacturing Processing Execution view
Metadata.allowExtensions true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Plant P_MfgProcgExecBatch Plant
KEY Material P_MfgProcgExecBatch Material
KEY Batch P_MfgProcgExecBatch Batch
DefinitionOfBatchLevel I_BatchConfiguration DefinitionOfBatchLevel
_Plant _Plant
_Material _Material
_Batch _Batch
@AbapCatalog.sqlViewName: 'IMPEBATCH'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@Analytics.dataCategory: #DIMENSION
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #L, dataClass: #MIXED}
@ObjectModel.representativeKey: 'Batch'
@VDM.viewType: #COMPOSITE
@Search.searchable: true
@EndUserText.label: 'Batch in Manufacturing Processing Execution'
@Metadata.allowExtensions:true
// If one batch exists twice due to a prior change of the batch definition level (= duplicate records), 

// an additional inner join reduces the result set to the batches of the present batch definition level


/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ]  } */
define view I_MfgProcgExecBatch as
  select from  P_MfgProcgExecBatch  as batch
    inner join I_BatchConfiguration as tcuch on tcuch.DefinitionOfBatchLevel = batch.DefinitionOfBatchLevel
    
    association [1..1] to I_Batch as _Batch on  $projection.Plant    = _Batch.Plant
                                            and $projection.Material = _Batch.Material
                                            and $projection.Batch    = _Batch.Batch
{
      @ObjectModel.foreignKey.association: '_Plant'
  key batch.Plant,
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_MaterialStdVH', element: 'Material' } } ]
      @ObjectModel.foreignKey.association: '_Material'
      @Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7}
  key batch.Material,
      @Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}
  key batch.Batch,
      // Batch Level

      tcuch.DefinitionOfBatchLevel,

      // Associations

      _Plant,
      _Material,
      _Batch
};
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BATCHCONFIGURATION",
"P_MFGPROCGEXECBATCH"
],
"ASSOCIATED":
[
"I_BATCH",
"I_MATERIAL",
"I_PLANT"
],
"BASE":
[
"P_MFGPROCGEXECBATCH"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/