I_OpActyComponentAssignment

DDL: I_OPACTYCOMPONENTASSIGNMENT SQL: IMPEOACOMPASS Type: view BASIC

Operation Activity Instance Comp Assign

I_OpActyComponentAssignment is a Basic CDS View that provides data about "Operation Activity Instance Comp Assign" in SAP S/4HANA. It reads from 1 data source (mpe_comp_oai) and exposes 36 fields with key fields OpActyNtwkInstance, OpActyNtwkElement, Reservation, ReservationItem, RecordType. It has 9 associations to related views.

Data Sources (1)

SourceAliasJoin Type
mpe_comp_oai oai from

Associations (9)

CardinalityTargetAliasCondition
[1..1] I_OpActyNtwkInstance _OpActyNtwkInstance $projection.OpActyNtwkInstance = _OpActyNtwkInstance.OpActyNtwkInstance
[1..1] I_OpActyNtwkInstanceBasic _OpActyNtwkInstanceBasic $projection.OpActyNtwkInstance = _OpActyNtwkInstanceBasic.OpActyNtwkInstance
[1..1] I_OperationActivityInstance _OperationActivityInstance $projection.OpActyNtwkInstance = _OperationActivityInstance.OpActyNtwkInstance and $projection.OpActyNtwkElement = _OperationActivityInstance.OpActyNtwkElement
[1..1] I_ReservationDocumentHeader _ReservationHeader $projection.Reservation = _ReservationHeader.Reservation
[0..1] I_OpActyComponentAssignment _ReltdOpActyCompAssignment $projection.OpActyNtwkInstance = _ReltdOpActyCompAssignment.OpActyNtwkInstance and $projection.OpActyNtwkElement = _ReltdOpActyCompAssignment.OpActyNtwkElement and $projection.Reservation = _ReltdOpActyCompAssignment.Reservation and $projection.ReservationItem = _ReltdOpActyCompAssignment.ReservationItem and $projection.RecordType = _ReltdOpActyCompAssignment.RecordType
[1..1] I_PlannedInventoryUsblyCode _PlannedInventoryUsblyCode $projection.PlannedInventoryUsabilityCode = _PlannedInventoryUsblyCode.PlannedInventoryUsabilityCode
[0..1] I_BOMItmMfgRefStrucItmAssgmt _BOMItmMfgRefStrucItmAssgmt $projection.MfgRefStrucBOMLeafAssgmtUUID = _BOMItmMfgRefStrucItmAssgmt.MfgRefStrucBOMLeafAssgmtUUID
[0..1] I_MfgRefStrucItemWithDetails _MfgRefStrucItemWithDetails $projection.MfgRefStructureItemDetailUUID = _MfgRefStrucItemWithDetails.MfgRefStructureItemUUID and $projection.MfgRefStrucItmDetIsContextual = ''
[0..1] I_MfgRefHierItemWithDetails _MfgRefHierItemWithDetails $projection.MfgRefStructureItemDetailUUID = _MfgRefHierItemWithDetails.MfgRefHierarchyItemUUID and $projection.MfgRefStrucItmDetIsContextual = 'X'

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IMPEOACOMPASS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view
EndUserText.label Operation Activity Instance Comp Assign view

Fields (36)

KeyFieldSource TableSource FieldDescription
KEY OpActyNtwkInstance mpe_comp_oai oan_instance_id Instance ID
KEY OpActyNtwkElement mpe_comp_oai oan_element_number Element Number
KEY Reservation mpe_comp_oai rsnum Reservation
KEY ReservationItem mpe_comp_oai rspos Item no.
KEY RecordType mpe_comp_oai rsart Risk type
MfgOrderComponentUsageQuantity mpe_comp_oai usage_qty Usage qty - UoM
MfgOrderComponentUsageNetQty mpe_comp_oai usage_net_qty Usage qty - UoM
AssemblySequenceNumber mpe_comp_oai sequence_no Sqnc No. in Ext File
BOOOpBOMItemInternalID mpe_comp_oai zuonr Finance Project
LogicalComponent mpe_comp_oai log_comp_counter Logical Component
ComponentAssemblyType mpe_comp_oai assembly_type Assembly Type
RelatedReservation mpe_comp_oai rsnum_reference Reservation
RelatedReservationItem mpe_comp_oai rspos_reference Item no.
RelatedRecordType mpe_comp_oai rsart_reference Record type
RelatedOpActyNtwkInstance mpe_comp_oai oani_id_reference Instance ID
RelatedOpActyNtwkElement mpe_comp_oai oan_elem_no_reference Element Number
MatlCompInstceAssyIsRequired mpe_comp_oai instance_assembly_rqd Instance assembly
PlannedInventoryUsabilityCode mpe_comp_oai mpe_stock_type Stock Type
LeadingReservation mpe_comp_oai rsnum_top_reference Reservation
LeadingReservationItem mpe_comp_oai rspos_top_reference Item no.
LeadingReservationRecordType mpe_comp_oai rsart_top_reference Record type
LeadingOpActyNtwkInstance mpe_comp_oai oani_id_top_reference Instance ID
LeadingOpActyNtwkElement mpe_comp_oai oan_elem_no_top_reference Element Number
MfgRefStrucBOMLeafAssgmtUUID mrs_leaf_assignment_uuid Leaf Assignment UUID
MfgRefStructureItemDetailUUID mrs_item_detail_uuid MRS Item UUID
MfgRefStrucItmDetIsContextual mrs_item_detail_is_contextual Contextual
MatlCompAssemblyIsNotRequired not_assembly_relevant
_OpActyNtwkInstance _OpActyNtwkInstance
_OpActyNtwkInstanceBasic _OpActyNtwkInstanceBasic
_OperationActivityInstance _OperationActivityInstance
_ReservationHeader _ReservationHeader
_ReltdOpActyCompAssignment _ReltdOpActyCompAssignment
_PlannedInventoryUsblyCode _PlannedInventoryUsblyCode
_BOMItmMfgRefStrucItmAssgmt _BOMItmMfgRefStrucItmAssgmt
_MfgRefStrucItemWithDetails _MfgRefStrucItemWithDetails
_MfgRefHierItemWithDetails _MfgRefHierItemWithDetails

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_OpActyComponentAssignment.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IMPEOACOMPASS

CREATE VIEW I_OpActyComponentAssignment AS
SELECT
  oai.oan_instance_id AS OpActyNtwkInstance,
  oai.oan_element_number AS OpActyNtwkElement,
  oai.rsnum AS Reservation,
  oai.rspos AS ReservationItem,
  oai.rsart AS RecordType,
  oai.usage_qty AS MfgOrderComponentUsageQuantity,
  oai.usage_net_qty AS MfgOrderComponentUsageNetQty,
  oai.sequence_no AS AssemblySequenceNumber,
  oai.zuonr AS BOOOpBOMItemInternalID,
  oai.log_comp_counter AS LogicalComponent,
  oai.assembly_type AS ComponentAssemblyType,
  oai.rsnum_reference AS RelatedReservation,
  oai.rspos_reference AS RelatedReservationItem,
  oai.rsart_reference AS RelatedRecordType,
  oai.oani_id_reference AS RelatedOpActyNtwkInstance,
  oai.oan_elem_no_reference AS RelatedOpActyNtwkElement,
  oai.instance_assembly_rqd AS MatlCompInstceAssyIsRequired,
  oai.mpe_stock_type AS PlannedInventoryUsabilityCode,
  oai.rsnum_top_reference AS LeadingReservation,
  oai.rspos_top_reference AS LeadingReservationItem,
  oai.rsart_top_reference AS LeadingReservationRecordType,
  oai.oani_id_top_reference AS LeadingOpActyNtwkInstance,
  oai.oan_elem_no_top_reference AS LeadingOpActyNtwkElement,
  mrs_leaf_assignment_uuid AS MfgRefStrucBOMLeafAssgmtUUID,
  mrs_item_detail_uuid AS MfgRefStructureItemDetailUUID,
  mrs_item_detail_is_contextual AS MfgRefStrucItmDetIsContextual,
  not_assembly_relevant AS MatlCompAssemblyIsNotRequired
FROM mpe_comp_oai AS oai
LEFT OUTER JOIN I_OpActyNtwkInstance AS _OpActyNtwkInstance ON OpActyNtwkInstance = _OpActyNtwkInstance.OpActyNtwkInstance  -- association [1..1]
LEFT OUTER JOIN I_OpActyNtwkInstanceBasic AS _OpActyNtwkInstanceBasic ON OpActyNtwkInstance = _OpActyNtwkInstanceBasic.OpActyNtwkInstance  -- association [1..1]
LEFT OUTER JOIN I_OperationActivityInstance AS _OperationActivityInstance ON OpActyNtwkInstance = _OperationActivityInstance.OpActyNtwkInstance AND OpActyNtwkElement = _OperationActivityInstance.OpActyNtwkElement  -- association [1..1]
LEFT OUTER JOIN I_ReservationDocumentHeader AS _ReservationHeader ON Reservation = _ReservationHeader.Reservation  -- association [1..1]
LEFT OUTER JOIN I_OpActyComponentAssignment AS _ReltdOpActyCompAssignment ON OpActyNtwkInstance = _ReltdOpActyCompAssignment.OpActyNtwkInstance AND OpActyNtwkElement = _ReltdOpActyCompAssignment.OpActyNtwkElement AND Reservation = _ReltdOpActyCompAssignment.Reservation AND ReservationItem = _ReltdOpActyCompAssignment.ReservationItem AND RecordType = _ReltdOpActyCompAssignment.RecordType  -- association [0..1]
LEFT OUTER JOIN I_PlannedInventoryUsblyCode AS _PlannedInventoryUsblyCode ON PlannedInventoryUsabilityCode = _PlannedInventoryUsblyCode.PlannedInventoryUsabilityCode  -- association [1..1]
LEFT OUTER JOIN I_BOMItmMfgRefStrucItmAssgmt AS _BOMItmMfgRefStrucItmAssgmt ON MfgRefStrucBOMLeafAssgmtUUID = _BOMItmMfgRefStrucItmAssgmt.MfgRefStrucBOMLeafAssgmtUUID  -- association [0..1]
LEFT OUTER JOIN I_MfgRefStrucItemWithDetails AS _MfgRefStrucItemWithDetails ON MfgRefStructureItemDetailUUID = _MfgRefStrucItemWithDetails.MfgRefStructureItemUUID AND MfgRefStrucItmDetIsContextual = ''  -- association [0..1]
LEFT OUTER JOIN I_MfgRefHierItemWithDetails AS _MfgRefHierItemWithDetails ON MfgRefStructureItemDetailUUID = _MfgRefHierItemWithDetails.MfgRefHierarchyItemUUID AND MfgRefStrucItmDetIsContextual = 'X'  -- association [0..1]
;