P_OpActyComponentAssignmentDMU
Operation Activity Instance Component Assignment for DMU
P_OpActyComponentAssignmentDMU is a Composite CDS View that provides data about "Operation Activity Instance Component Assignment for DMU" in SAP S/4HANA. It reads from 2 data sources (I_OpActyComponentAssignment, I_MfgOrderOperationComponent) and exposes 20 fields with key fields OpActyNtwkInstance, OpActyNtwkElement, Reservation, ReservationItem, RecordType. Part of development package MPE_EXEC_COMMON.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_OpActyComponentAssignment | comp | from |
| I_MfgOrderOperationComponent | resb | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMPECOMPDMUA | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OpActyNtwkInstance | I_OpActyComponentAssignment | OpActyNtwkInstance | |
| KEY | OpActyNtwkElement | I_OpActyComponentAssignment | OpActyNtwkElement | |
| KEY | Reservation | I_OpActyComponentAssignment | Reservation | |
| KEY | ReservationItem | I_OpActyComponentAssignment | ReservationItem | |
| KEY | RecordType | I_OpActyComponentAssignment | RecordType | |
| MaterialComponent | I_MfgOrderOperationComponent | Material | ||
| ProductionPlant | I_MfgOrderOperationComponent | Plant | ||
| StorageLocation | I_MfgOrderOperationComponent | StorageLocation | ||
| MfgOrderComponentUsageQuantity | I_OpActyComponentAssignment | MfgOrderComponentUsageQuantity | ||
| MfgOrderComponentUsageNetQty | I_OpActyComponentAssignment | MfgOrderComponentUsageNetQty | ||
| AssemblySequenceNumber | I_OpActyComponentAssignment | AssemblySequenceNumber | ||
| MatlCompIsMarkedForBackflush | I_MfgOrderOperationComponent | MatlCompIsMarkedForBackflush | ||
| BillOfMaterialItemUUID | stpo | BillOfMaterialItemUUID | ||
| _OpActyNtwkInstance | _OpActyNtwkInstance | |||
| _OperationActivityInstance | _OperationActivityInstance | |||
| _ReservationHeader | _ReservationHeader | |||
| _Material | _Material | |||
| _MaterialPlant | ||||
| _Plant | _Plant | |||
| _StorageLocation | _StorageLocation |
@AbapCatalog.sqlViewName: 'PMPECOMPDMUA'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #B, sizeCategory: #XL, dataClass: #TRANSACTIONAL}
@VDM.viewType: #COMPOSITE
@VDM.private: true
define view P_OpActyComponentAssignmentDMU
as select from I_OpActyComponentAssignment as comp
inner join I_MfgOrderOperationComponent as resb on comp.Reservation = resb.Reservation
and comp.ReservationItem = resb.ReservationItem
and comp.RecordType = resb.RecordType
left outer to one join I_BillOfMaterialItemBasic as stpo on resb.BillOfMaterialCategory = stpo.BillOfMaterialCategory
and resb.BillOfMaterialInternalID = stpo.BillOfMaterial
and resb.BOMItem = stpo.BillOfMaterialItemNodeNumber
and resb.BOMItemInternalChangeCount = stpo.BOMItemInternalChangeCount
{
key comp.OpActyNtwkInstance as OpActyNtwkInstance,
key comp.OpActyNtwkElement as OpActyNtwkElement,
key comp.Reservation as Reservation,
key comp.ReservationItem as ReservationItem,
key comp.RecordType as RecordType,
resb.Material as MaterialComponent,
resb.Plant as ProductionPlant,
resb.StorageLocation as StorageLocation,
comp.MfgOrderComponentUsageQuantity as MfgOrderComponentUsageQuantity,
comp.MfgOrderComponentUsageNetQty as MfgOrderComponentUsageNetQty,
comp.AssemblySequenceNumber as AssemblySequenceNumber,
resb.MatlCompIsMarkedForBackflush as MatlCompIsMarkedForBackflush,
stpo.BillOfMaterialItemUUID as BillOfMaterialItemUUID,
_OpActyNtwkInstance,
_OperationActivityInstance,
_ReservationHeader,
_Material,
-- _MaterialPlant,
_Plant,
_StorageLocation
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA