I_ChgRecdRefMstrRcpMatl

DDL: I_CHGRECDREFMSTRRCPMATL Type: view_entity COMPOSITE Package: VDM_PLMB_CR

Change Record Master Rcp Mat assignment

I_ChgRecdRefMstrRcpMatl is a Composite CDS View that provides data about "Change Record Master Rcp Mat assignment" in SAP S/4HANA. It reads from 2 data sources (I_ChgRecdMstrRcpMatlAssgmt, I_BOOMaterialAssignment) and exposes 8 fields with key fields BillOfOperationsType, BillOfOperationsGroup, BillOfOperationsVariant. It has 3 associations to related views. Part of development package VDM_PLMB_CR.

Data Sources (2)

SourceAliasJoin Type
I_ChgRecdMstrRcpMatlAssgmt MatAssgnmnt inner
I_BOOMaterialAssignment MatPlantAssgnmnt from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_BillOfOperationsType _BillOfOperationsType $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType
[1..1] I_BillOfOperationsGroup _BillOfOperationsGroup $projection.BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsGroup.BillOfOperationsGroup
[1..1] I_BillOfOperations _BillOfOperations $projection.BillOfOperationsType = _BillOfOperations.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperations.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperations.BillOfOperationsVariant

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #COMPOSITE view
EndUserText.label Change Record Master Rcp Mat assignment view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY BillOfOperationsType I_BOOMaterialAssignment BillOfOperationsType
KEY BillOfOperationsGroup I_BOOMaterialAssignment BillOfOperationsGroup
KEY BillOfOperationsVariant I_BOOMaterialAssignment BillOfOperationsVariant
Material I_ChgRecdMstrRcpMatlAssgmt Material
Plant
_BillOfOperations _BillOfOperations
_BillOfOperationsGroup _BillOfOperationsGroup
_BillOfOperationsType _BillOfOperationsType
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType: { serviceQuality: #C, sizeCategory: #M, dataClass: #MASTER }
@VDM.viewType:#COMPOSITE
@EndUserText.label: 'Change Record Master Rcp Mat assignment'
define view entity I_ChgRecdRefMstrRcpMatl as select from I_BOOMaterialAssignment as MatPlantAssgnmnt inner
join I_ChgRecdMstrRcpMatlAssgmt as MatAssgnmnt on MatPlantAssgnmnt.BillOfOperationsType = MatAssgnmnt.BillOfOperationsType
                                             and MatPlantAssgnmnt.BillOfOperationsGroup = MatAssgnmnt.BillOfOperationsGroup
                                             and MatPlantAssgnmnt.BillOfOperationsVariant = MatAssgnmnt.BillOfOperationsVariant
                                             and MatPlantAssgnmnt.Material = MatAssgnmnt.Material
association [1..1] to I_BillOfOperationsType    as _BillOfOperationsType  on  $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType
  association [1..1] to I_BillOfOperationsGroup   as _BillOfOperationsGroup on  $projection.BillOfOperationsType  = _BillOfOperationsGroup.BillOfOperationsType
                                                                            and $projection.BillOfOperationsGroup = _BillOfOperationsGroup.BillOfOperationsGroup
  association [1..1] to I_BillOfOperations        as _BillOfOperations      on  $projection.BillOfOperationsType    = _BillOfOperations.BillOfOperationsType
                                                                            and $projection.BillOfOperationsGroup   = _BillOfOperations.BillOfOperationsGroup
                                                                            and $projection.BillOfOperationsVariant = _BillOfOperations.BillOfOperationsVariant

{
   @ObjectModel.foreignKey.association: '_BillOfOperationsType'
  key MatPlantAssgnmnt.BillOfOperationsType,
   @ObjectModel.foreignKey.association: '_BillOfOperationsGroup'
  key MatPlantAssgnmnt.BillOfOperationsGroup,
   @ObjectModel.foreignKey.association: '_BillOfOperations'
  key MatPlantAssgnmnt.BillOfOperationsVariant,
      MatAssgnmnt.Material as Material,
      min(MatPlantAssgnmnt.Plant) as Plant,
      _BillOfOperations,
      _BillOfOperationsGroup,
      _BillOfOperationsType
    
      
}
group by MatPlantAssgnmnt.BillOfOperationsType,
 MatPlantAssgnmnt.BillOfOperationsGroup, MatPlantAssgnmnt.BillOfOperationsVariant, 
 MatAssgnmnt.Material