P_MfgProcgExecNonSrlzdBatch

DDL: P_MFGPROCGEXECNONSRLZDBATCH SQL: PMPEEXECNSBATCH Type: view COMPOSITE

P_MfgProcgExecNonSrlzdBatch is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_MatlPlntCompAssembleControl) and exposes 8 fields with key fields Material, Batch, Plant. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_MatlPlntCompAssembleControl MfgOrderProductPlant inner

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_ProductPlantBasic _ProductPlant $projection.Material = _ProductPlant.Product and $projection.Plant = _ProductPlant.Plant
[1..1] I_Plant _Plant MfgOrderProductPlant.Plant = _Plant.Plant

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PMPEEXECNSBATCH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Material BatchDistinct Material
KEY Batch BatchDistinct Batch
KEY Plant I_MatlPlntCompAssembleControl Plant
BatchBySupplier BatchDistinct BatchBySupplier
_Material BatchDistinct _Material
_ProductPlant _ProductPlant
_Plant _Plant
_Product BatchDistinct _Product
@AbapCatalog.sqlViewName: 'PMPEEXECNSBATCH'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #D, sizeCategory: #XL, dataClass: #MIXED}
@VDM.private: true
@VDM.viewType: #COMPOSITE

define view P_MfgProcgExecNonSrlzdBatch
  as
  -- Batches of batch-managed (but not serialized) materials
  select distinct from I_BatchDistinct               as BatchDistinct
    inner join         I_MatlPlntCompAssembleControl as MfgOrderProductPlant on MfgOrderProductPlant.Product = BatchDistinct.Material
                                                                             and(
                                                                               MfgOrderProductPlant.Plant    = BatchDistinct.Plant
                                                                               or BatchDistinct.Plant        = '    '
                                                                             )
  association [0..1] to I_ProductPlantBasic as _ProductPlant on  $projection.Material = _ProductPlant.Product
                                                             and $projection.Plant    = _ProductPlant.Plant
  association [1..1] to I_Plant             as _Plant        on  MfgOrderProductPlant.Plant = _Plant.Plant

{
      @ObjectModel.foreignKey.association: '_Material'
  key BatchDistinct.Material,
  key BatchDistinct.Batch,
  key MfgOrderProductPlant.Plant,
      BatchDistinct.BatchBySupplier,

      BatchDistinct._Material,
      _ProductPlant,
      _Plant,
      BatchDistinct._Product
}
where
      BatchDistinct.BatchIsMarkedForDeletion            = ' '
  and BatchDistinct.MatlBatchIsInRstrcdUseStock         = ' '
  and MfgOrderProductPlant.IsBatchManagementRequired    = 'X'
  and MfgOrderProductPlant.SerialNumberIsRqdForAssembly = ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BATCHDISTINCT",
"I_MATLPLNTCOMPASSEMBLECONTROL"
],
"ASSOCIATED":
[
"I_MATERIAL",
"I_PLANT",
"I_PRODUCT",
"I_PRODUCTPLANTBASIC"
],
"BASE":
[
"I_BATCHDISTINCT"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/