P_ProcOrdMisgCompAggrgn

DDL: P_PROCORDMISGCOMPAGGRGN SQL: PPORMISGCOMPAGR Type: view COMPOSITE

P_ProcOrdMisgCompAggrgn is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_MfgOrderOperationComponent) and exposes 2 fields with key field ManufacturingOrder.

Data Sources (1)

SourceAliasJoin Type
I_MfgOrderOperationComponent I_MfgOrderOperationComponent from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PPORMISGCOMPAGR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY ManufacturingOrder ManufacturingOrder
NumberOfMissingComponents
@AbapCatalog.sqlViewName: 'PPORMISGCOMPAGR'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType:  #COMPOSITE
@VDM.private: true
@ClientHandling.algorithm: #SESSION_VARIABLE
//@EndUserText.label: 'Process Order Missing Components Aggregation'

define view P_ProcOrdMisgCompAggrgn
  as select from I_MfgOrderOperationComponent
{
  key ManufacturingOrder,
      count(*) as NumberOfMissingComponents
}
where
      MaterialComponentIsMissing = 'X'
  and ReservationIsFinallyIssued = ''
  and ManufacturingOrderCategory = '40'
group by
  ManufacturingOrder
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MFGORDEROPERATIONCOMPONENT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/