P_ProdOrdMgmtOp

DDL: P_PRODORDMGMTOP Type: view_entity COMPOSITE

P_ProdOrdMgmtOp is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_OrderOperationBasic, I_LogisticsOrder) and exposes 26 fields with key fields OrderInternalID, OrderOperationInternalID.

Data Sources (2)

SourceAliasJoin Type
I_OrderOperationBasic afvc from
I_LogisticsOrder aufv inner

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (26)

KeyFieldSource TableSource FieldDescription
KEY OrderInternalID I_OrderOperationBasic OrderInternalID
KEY OrderOperationInternalID I_OrderOperationBasic OrderOperationInternalID
ManufacturingOrder I_LogisticsOrder OrderID
ManufacturingOrderCategory I_LogisticsOrder OrderCategory
ProductionPlant I_LogisticsOrder Plant
ProductionSupervisor I_LogisticsOrder ProductionSupervisor
Sequence I_OrderOperationBasic Sequence
Operation I_OrderOperationBasic Operation
StandardTextInternalID I_OrderOperationBasic StandardTextInternalID
OperationText I_OrderOperationBasic OperationText
Language I_OrderOperationBasic Language
BillOfOperationsSequence I_OrderOperationBasic BillOfOperationsSequence
BillOfOperationsType I_OrderOperationBasic BillOfOperationsType
BillOfOperationsGroup I_OrderOperationBasic BillOfOperationsGroup
BillOfOperationsVariant I_OrderOperationBasic BillOfOperationsVariant
BOOOperationInternalID I_OrderOperationBasic BOOOperationInternalID
BillOfOperationsVersion I_OrderOperationBasic BillOfOperationsVersion
SuperiorOperationInternalID I_OrderOperationBasic SuperiorOperationInternalID
OperationControlProfile I_OrderOperationBasic OperationControlProfile
WorkCenterInternalID I_OrderOperationBasic WorkCenterInternalID
WorkCenterTypeCode I_OrderOperationBasic WorkCenterTypeCode
Plant I_OrderOperationBasic Plant
ObjectInternalID I_OrderOperationBasic ObjectInternalID
MfgOrderOperationIsPhase I_OrderOperationBasic MfgOrderOperationIsPhase
_OrderInternalID I_OrderOperationBasic _OrderInternalID
OrderIntBillOfOpItemOfPhase I_OrderOperationBasic OrderIntBillOfOpItemOfPhase
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #L, dataClass: #TRANSACTIONAL}
@VDM.viewType: #COMPOSITE
@VDM.private: true
define view entity P_ProdOrdMgmtOp
  as select from I_OrderOperationBasic as afvc
    inner join   I_LogisticsOrder      as aufv on  aufv.OrderInternalBillOfOperations = afvc.OrderInternalID
                                               and aufv.OrderCategory                 = '10'
{
  key afvc.OrderInternalID,
  key afvc.OrderOperationInternalID,
      aufv.OrderID       as ManufacturingOrder,
      aufv.OrderCategory as ManufacturingOrderCategory,
      aufv.Plant         as ProductionPlant,
      aufv.ProductionSupervisor,
      afvc.Sequence,
      afvc.Operation,
      afvc.StandardTextInternalID,
      afvc.OperationText,
      afvc.Language,
      afvc.BillOfOperationsSequence,
      afvc.BillOfOperationsType,
      afvc.BillOfOperationsGroup,
      afvc.BillOfOperationsVariant,
      afvc.BOOOperationInternalID,
      afvc.BillOfOperationsVersion,
      afvc.SuperiorOperationInternalID,
      afvc.OperationControlProfile,
      afvc.WorkCenterInternalID,
      afvc.WorkCenterTypeCode,
      afvc.Plant,
      afvc.ObjectInternalID,
      afvc.MfgOrderOperationIsPhase,
      afvc._OrderInternalID,
      afvc.OrderIntBillOfOpItemOfPhase
}
where
      aufv.OrderCategory               = '10'
  and afvc.SuperiorOperationInternalID is initial //SuperiorOperationInternalID

  and afvc.Sequence                    = '000000'; //Sequence

/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_LOGISTICSORDER",
"I_ORDEROPERATIONBASIC"
],
"ASSOCIATED":
[
"I_ORDERINTERNALID"
],
"BASE":
[
"I_ORDEROPERATIONBASIC"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/