P_OpActyInstceWithMissingComp

DDL: P_OPACTYINSTCEWITHMISSINGCOMP SQL: PMPEPOAWTHMSGCMP Type: view COMPOSITE

P_OpActyInstceWithMissingComp is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_OpActyComponentAssignment, I_ReservationItem) and exposes 4 fields with key fields OpActyNtwkInstance, OpActyNtwkElement.

Data Sources (2)

SourceAliasJoin Type
I_OpActyComponentAssignment OpActyComponentAssignment from
I_ReservationItem ReservationItem inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PMPEPOAWTHMSGCMP view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view
VDM.private true view
AbapCatalog.compiler.compareFilter true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY OpActyNtwkInstance I_OpActyComponentAssignment OpActyNtwkInstance
KEY OpActyNtwkElement I_OpActyComponentAssignment OpActyNtwkElement
_OpActyNtwkInstance _OpActyNtwkInstance
_OperationActivityInstance _OperationActivityInstance
@AbapCatalog.sqlViewName: 'PMPEPOAWTHMSGCMP'
@AbapCatalog.preserveKey:true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #B, sizeCategory: #L, dataClass: #TRANSACTIONAL}
@VDM.viewType: #COMPOSITE
@VDM.private: true
@AbapCatalog.compiler.compareFilter: true

define view P_OpActyInstceWithMissingComp
  as select from I_OpActyComponentAssignment as OpActyComponentAssignment
    inner join   I_ReservationItem           as ReservationItem on  ReservationItem.Reservation     = OpActyComponentAssignment.Reservation
                                                                and ReservationItem.ReservationItem = OpActyComponentAssignment.ReservationItem
                                                                and ReservationItem.RecordType      = OpActyComponentAssignment.RecordType
{
  key OpActyComponentAssignment.OpActyNtwkInstance,
  key OpActyComponentAssignment.OpActyNtwkElement,
      /* Associations */
      _OpActyNtwkInstance,
      _OperationActivityInstance
}
where
      ReservationItem.MaterialComponentIsMissing     = 'X'
  and ReservationItem.ReservationItemIsFinallyIssued = ''
group by
  OpActyComponentAssignment.OpActyNtwkInstance,
  OpActyComponentAssignment.OpActyNtwkElement
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_OPACTYCOMPONENTASSIGNMENT",
"I_RESERVATIONITEM"
],
"ASSOCIATED":
[
"I_OPACTYNTWKINSTANCE",
"I_OPERATIONACTIVITYINSTANCE"
],
"BASE":
[
"I_OPACTYCOMPONENTASSIGNMENT"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/