P_ProcOrdMgmtOp

DDL: P_PROCORDMGMTOP SQL: PPORMGMTOP Type: view COMPOSITE

P_ProcOrdMgmtOp 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 (12)

NameValueLevelField
AbapCatalog.sqlViewName PPORMGMTOP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ClientHandling.type #CLIENT_DEPENDENT 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 OrderOperationInternalID
ProcessOrder I_LogisticsOrder OrderID
ManufacturingOrderCategory I_LogisticsOrder OrderCategory
ProductionPlant I_LogisticsOrder Plant
ProductionSupervisor I_LogisticsOrder ProductionSupervisor
Sequence Sequence
Operation Operation
StandardTextInternalID StandardTextInternalID
OperationText OperationText
Language Language
BillOfOperationsSequence BillOfOperationsSequence
BillOfOperationsType I_OrderOperationBasic BillOfOperationsType
BillOfOperationsGroup I_OrderOperationBasic BillOfOperationsGroup
BillOfOperationsVariant I_OrderOperationBasic BillOfOperationsVariant
BOOOperationInternalID BOOOperationInternalID
BillOfOperationsVersion I_OrderOperationBasic BillOfOperationsVersion
SuperiorOperationInternalID SuperiorOperationInternalID
OperationControlProfile OperationControlProfile
WorkCenterInternalID WorkCenterInternalID
WorkCenterTypeCode WorkCenterTypeCode
Plant I_OrderOperationBasic Plant
ObjectInternalID I_OrderOperationBasic ObjectInternalID
MfgOrderOperationIsPhase MfgOrderOperationIsPhase
_OrderInternalID _OrderInternalID
OrderIntBillOfOpItemOfPhase OrderIntBillOfOpItemOfPhase
@AbapCatalog.sqlViewName: 'PPORMGMTOP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
//@EndUserText.label: 'Process order operation'

@AccessControl.personalData.blocking: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ClientHandling.type: #CLIENT_DEPENDENT
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #L, dataClass: #TRANSACTIONAL}
@VDM.viewType: #COMPOSITE
@VDM.private: true
define view P_ProcOrdMgmtOp
  as select from I_OrderOperationBasic as afvc
    inner join   I_LogisticsOrder      as aufv on  aufv.OrderInternalBillOfOperations = afvc.OrderInternalID
                                               and aufv.OrderCategory                 = '40'
{
  key afvc.OrderInternalID,
  key OrderOperationInternalID,
      aufv.OrderID       as ProcessOrder,
      aufv.OrderCategory as ManufacturingOrderCategory,
      aufv.Plant         as ProductionPlant,
      aufv.ProductionSupervisor,
      Sequence,
      Operation,
      StandardTextInternalID,
      OperationText,
      Language,
      BillOfOperationsSequence,
      afvc.BillOfOperationsType,
      afvc.BillOfOperationsGroup,
      afvc.BillOfOperationsVariant,
      BOOOperationInternalID,
      afvc.BillOfOperationsVersion,
      SuperiorOperationInternalID,
      OperationControlProfile,
      WorkCenterInternalID,
      WorkCenterTypeCode,
      afvc.Plant,
      afvc.ObjectInternalID,
      MfgOrderOperationIsPhase,
      _OrderInternalID,
      OrderIntBillOfOpItemOfPhase
}
where
      aufv.OrderCategory               = '40'
  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":""
}
}*/