I_OpActyInstanceComponent
Component of an Operation Activity Instance
I_OpActyInstanceComponent is a Basic CDS View that provides data about "Component of an Operation Activity Instance" in SAP S/4HANA. It reads from 2 data sources (I_OpActyComponentAssignment, resb) and exposes 106 fields with key fields OpActyNtwkInstance, OpActyNtwkElement, Reservation, ReservationItem, RecordType. It has 18 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_OpActyComponentAssignment | OpActyComponentAssignment | from |
| resb | resb | inner |
Associations (18)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ReservationDocumentHeader | _Reservation | $projection.Reservation = _Reservation.Reservation |
| [1..1] | I_ReservationDocumentItem | _ReservationItem | $projection.Reservation = _ReservationItem.Reservation and $projection.ReservationItem = _ReservationItem.ReservationItem and $projection.RecordType = _ReservationItem.RecordType |
| [0..1] | I_ReservationDocRecordType | _ReservationDocRecordType | $projection.RecordType = _ReservationDocRecordType.RecordType |
| [1..1] | I_ManufacturingOrder | _ManufacturingOrder | $projection.ManufacturingOrder = _ManufacturingOrder.ManufacturingOrder |
| [1..1] | I_MfgOrderOperationBasic | _MfgOrderOperation | $projection.OrderInternalBillOfOperations = _MfgOrderOperation.OrderInternalBillOfOperations and $projection.OrderIntBillOfOperationsItem = _MfgOrderOperation.OrderIntBillOfOperationsItem |
| [1..1] | I_OrderInternalID | _OrderInternalID | $projection.OrderInternalBillOfOperations = _OrderInternalID.OrderInternalID |
| [1..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [1..1] | I_Product | _Product | $projection.Material = _Product.Product |
| [1..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [1..1] | I_ProductPlantBasic | _ProductPlantBasic | $projection.Material = _ProductPlantBasic.Product and $projection.Plant = _ProductPlantBasic.Plant |
| [0..1] | I_StorageLocation | _StorageLocation | $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation |
| [0..1] | I_Batch | _Batch | $projection.Plant = _Batch.Plant and $projection.Material = _Batch.Material and $projection.Batch = _Batch.Batch |
| [0..1] | I_BatchSplitType | _BatchSplitType | $projection.BatchSplitType = _BatchSplitType.BatchSplitType |
| [0..1] | I_BillOfMaterialItemCategory | _BOMItemCategory | $projection.BOMItemCategory = _BOMItemCategory.BillOfMaterialItemCategory |
| [1..1] | I_UnitOfMeasure | _BaseUnit | $projection.BaseUnit = _BaseUnit.UnitOfMeasure |
| [1..1] | I_UnitOfMeasure | _EntryUnit | $projection.EntryUnit = _EntryUnit.UnitOfMeasure |
| [1..1] | I_DebitCreditCode | _DebitCreditCode | $projection.DebitCreditCode = _DebitCreditCode.DebitCreditCode |
| [0..1] | I_MatlCompDiscontinuationType | _MatlCompDiscontinuationType | $projection.MatlCompDiscontinuationType = _MatlCompDiscontinuationType.MatlCompDiscontinuationType |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Component of an Operation Activity Instance | view |
Fields (106)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OpActyNtwkInstance | I_OpActyComponentAssignment | OpActyNtwkInstance | Instance ID |
| KEY | OpActyNtwkElement | I_OpActyComponentAssignment | OpActyNtwkElement | Element Number |
| KEY | Reservation | I_OpActyComponentAssignment | Reservation | Reservation |
| KEY | ReservationItem | I_OpActyComponentAssignment | ReservationItem | Reservation Item |
| KEY | RecordType | I_OpActyComponentAssignment | RecordType | Reservation Record Type |
| MfgOrderComponentUsageQuantity | I_OpActyComponentAssignment | MfgOrderComponentUsageQuantity | Usage qty - UoM | |
| MfgOrderComponentUsageNetQty | I_OpActyComponentAssignment | MfgOrderComponentUsageNetQty | Usage qty - UoM | |
| AssemblySequenceNumber | I_OpActyComponentAssignment | AssemblySequenceNumber | Assembly Sequence | |
| BOOOpBOMItemInternalID | I_OpActyComponentAssignment | BOOOpBOMItemInternalID | Allocation no. | |
| LogicalComponent | I_OpActyComponentAssignment | LogicalComponent | Logical Component | |
| ComponentAssemblyType | I_OpActyComponentAssignment | ComponentAssemblyType | Assembly Type | |
| RelatedReservation | I_OpActyComponentAssignment | RelatedReservation | Reservation | |
| RelatedReservationItem | I_OpActyComponentAssignment | RelatedReservationItem | Item no. | |
| RelatedRecordType | I_OpActyComponentAssignment | RelatedRecordType | Record type | |
| RelatedOpActyNtwkInstance | I_OpActyComponentAssignment | RelatedOpActyNtwkInstance | Instance ID | |
| RelatedOpActyNtwkElement | I_OpActyComponentAssignment | RelatedOpActyNtwkElement | Element Number | |
| MatlCompInstceAssyIsRequired | I_OpActyComponentAssignment | MatlCompInstceAssyIsRequired | Instances Exist | |
| PlannedInventoryUsabilityCode | I_OpActyComponentAssignment | PlannedInventoryUsabilityCode | Stock Type | |
| LeadingReservation | I_OpActyComponentAssignment | LeadingReservation | Reservation | |
| LeadingReservationItem | I_OpActyComponentAssignment | LeadingReservationItem | Item no. | |
| LeadingReservationRecordType | I_OpActyComponentAssignment | LeadingReservationRecordType | Record type | |
| LeadingOpActyNtwkInstance | I_OpActyComponentAssignment | LeadingOpActyNtwkInstance | Instance ID | |
| LeadingOpActyNtwkElement | I_OpActyComponentAssignment | LeadingOpActyNtwkElement | Element Number | |
| MfgRefStrucBOMLeafAssgmtUUID | I_OpActyComponentAssignment | MfgRefStrucBOMLeafAssgmtUUID | Leaf Assignment UUID | |
| MfgRefStructureItemDetailUUID | I_OpActyComponentAssignment | MfgRefStructureItemDetailUUID | MRS Item UUID | |
| MfgRefStrucItmDetIsContextual | I_OpActyComponentAssignment | MfgRefStrucItmDetIsContextual | Contextual | |
| MatlCompAssemblyIsNotRequired | I_OpActyComponentAssignment | MatlCompAssemblyIsNotRequired | ||
| ManufacturingOrder | resb | aufnr | SettlementOrder | |
| OrderInternalBillOfOperations | ||||
| OrderIntBillOfOperationsItem | ||||
| Material | resb | matnr | Vehicle Model | |
| Plant | resb | werks | Receiving Plant | |
| StorageLocation | resb | lgort | Sublocation | |
| BaseUnit | resb | meins | Valuation Unit | |
| Batch | resb | charg | Chargeable Proc. | |
| BatchSplitType | resb | splkz | Checkbox | |
| RequiredQuantity | resb | bdmng | Threshold value | |
| MaterialCompOriginalQuantity | ||||
| EntryUnit | resb | erfme | Unit of Entry | |
| GoodsMovementEntryQty | ||||
| ReservationIsFinallyIssued | resb | kzear | Final Issue | |
| QuantityIsFixed | resb | fmeng | Qty. is fixed | |
| MatlCompIsMarkedForDeletion | ||||
| MaterialComponentIsMissing | resb | xfehl | Missing Part | |
| IsBulkMaterialComponent | resb | schgt | Bulk material | |
| MatlCompIsMarkedForBackflush | resb | rgekz | Backflushing | |
| MatlCompIsTextItem | resb | txtps | Text Item | |
| MaterialPlanningRelevance | ||||
| MatlCompIsConfigurable | resb | kfpos | Configur. Item | |
| DebitCreditCode | ||||
| GoodsMovementIsAllowed | resb | xwaok | Mvt Allowed | |
| MatlCompDiscontinuationType | resb | kzaus | Share of scrap | |
| EffectivityParameterVariant | resb | techs | Tech st from | |
| Assembly | resb | baugr | Pegged Reqmt | |
| MaterialCompIsVariableSized | resb | rohps | Var-Sized Item | |
| VariableSizeItemQuantity | ||||
| VariableSizeComponentUnit | ||||
| VariableSizeComponentQuantity | ||||
| VariableSizeDimensionUnit | resb | romei | Size unit | |
| VariableSizeDimension1 | resb | roms1 | Size 1 | |
| VariableSizeDimension2 | resb | roms2 | Size 2 | |
| VariableSizeDimension3 | resb | roms3 | Size 3 | |
| FormulaKey | resb | rform | VSI Formula | |
| BillOfMaterialCategory | ||||
| BillOfMaterialInternalID | ||||
| BillOfMaterialVariant | resb | stlal | AlternativeBOM | |
| BOMItem | ||||
| BillOfMaterialVersion | resb | bom_versn | BOM Version | |
| BOMItemInternalChangeCount | resb | stpoz | Counter | |
| InheritedBOMItemNode | resb | stvkn | Nodes | |
| BOMItemCategory | ||||
| BillOfMaterialItemNumber | ||||
| BOMItemDescription | resb | potx1 | Item Text | |
| BOMItemText2 | resb | potx2 | Item Text | |
| OriginalReservation | resb | original_rsnum | Origl.Resv.no. | |
| OriginalReservationItem | resb | original_rspos | Origl. Item | |
| AlternativeItemGroup | ||||
| MaterialCompIsAlternativeItem | resb | alpos | Alternat. item | |
| ComponentIsToBeReworked | MfgBOMItemCategoryAddlParam | ComponentIsToBeReworked | ||
| _OpActyNtwkInstance | I_OpActyComponentAssignment | _OpActyNtwkInstance | ||
| _OpActyNtwkInstanceBasic | I_OpActyComponentAssignment | _OpActyNtwkInstanceBasic | ||
| _OperationActivityInstance | I_OpActyComponentAssignment | _OperationActivityInstance | ||
| _ReservationHeader | I_OpActyComponentAssignment | _ReservationHeader | ||
| _ReltdOpActyCompAssignment | I_OpActyComponentAssignment | _ReltdOpActyCompAssignment | ||
| _PlannedInventoryUsblyCode | I_OpActyComponentAssignment | _PlannedInventoryUsblyCode | ||
| _BOMItmMfgRefStrucItmAssgmt | I_OpActyComponentAssignment | _BOMItmMfgRefStrucItmAssgmt | ||
| _MfgRefStrucItemWithDetails | I_OpActyComponentAssignment | _MfgRefStrucItemWithDetails | ||
| _MfgRefHierItemWithDetails | I_OpActyComponentAssignment | _MfgRefHierItemWithDetails | ||
| _Reservation | _Reservation | |||
| _ReservationItem | _ReservationItem | |||
| _ReservationDocRecordType | _ReservationDocRecordType | |||
| _ManufacturingOrder | _ManufacturingOrder | |||
| _MfgOrderOperation | _MfgOrderOperation | |||
| _OrderInternalID | _OrderInternalID | |||
| _Product | _Product | |||
| _Material | _Material | |||
| _ProductPlantBasic | _ProductPlantBasic | |||
| _Plant | _Plant | |||
| _StorageLocation | _StorageLocation | |||
| _Batch | _Batch | |||
| _BatchSplitType | _BatchSplitType | |||
| _BOMItemCategory | _BOMItemCategory | |||
| _BaseUnit | _BaseUnit | |||
| _EntryUnit | _EntryUnit | |||
| _DebitCreditCode | _DebitCreditCode | |||
| _MatlCompDiscontinuationType | _MatlCompDiscontinuationType |
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_OpActyInstanceComponent.
-- 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.
CREATE VIEW I_OpActyInstanceComponent AS
SELECT
OpActyComponentAssignment.OpActyNtwkInstance AS OpActyNtwkInstance,
OpActyComponentAssignment.OpActyNtwkElement AS OpActyNtwkElement,
OpActyComponentAssignment.Reservation AS Reservation,
OpActyComponentAssignment.ReservationItem AS ReservationItem,
OpActyComponentAssignment.RecordType AS RecordType,
OpActyComponentAssignment.MfgOrderComponentUsageQuantity AS MfgOrderComponentUsageQuantity,
OpActyComponentAssignment.MfgOrderComponentUsageNetQty AS MfgOrderComponentUsageNetQty,
OpActyComponentAssignment.AssemblySequenceNumber AS AssemblySequenceNumber,
OpActyComponentAssignment.BOOOpBOMItemInternalID AS BOOOpBOMItemInternalID,
OpActyComponentAssignment.LogicalComponent AS LogicalComponent,
OpActyComponentAssignment.ComponentAssemblyType AS ComponentAssemblyType,
OpActyComponentAssignment.RelatedReservation AS RelatedReservation,
OpActyComponentAssignment.RelatedReservationItem AS RelatedReservationItem,
OpActyComponentAssignment.RelatedRecordType AS RelatedRecordType,
OpActyComponentAssignment.RelatedOpActyNtwkInstance AS RelatedOpActyNtwkInstance,
OpActyComponentAssignment.RelatedOpActyNtwkElement AS RelatedOpActyNtwkElement,
OpActyComponentAssignment.MatlCompInstceAssyIsRequired AS MatlCompInstceAssyIsRequired,
OpActyComponentAssignment.PlannedInventoryUsabilityCode AS PlannedInventoryUsabilityCode,
OpActyComponentAssignment.LeadingReservation AS LeadingReservation,
OpActyComponentAssignment.LeadingReservationItem AS LeadingReservationItem,
OpActyComponentAssignment.LeadingReservationRecordType AS LeadingReservationRecordType,
OpActyComponentAssignment.LeadingOpActyNtwkInstance AS LeadingOpActyNtwkInstance,
OpActyComponentAssignment.LeadingOpActyNtwkElement AS LeadingOpActyNtwkElement,
OpActyComponentAssignment.MfgRefStrucBOMLeafAssgmtUUID AS MfgRefStrucBOMLeafAssgmtUUID,
OpActyComponentAssignment.MfgRefStructureItemDetailUUID AS MfgRefStructureItemDetailUUID,
OpActyComponentAssignment.MfgRefStrucItmDetIsContextual AS MfgRefStrucItmDetIsContextual,
OpActyComponentAssignment.MatlCompAssemblyIsNotRequired AS MatlCompAssemblyIsNotRequired,
resb.aufnr AS ManufacturingOrder,
cast(resb.aufpl as pph_aufpl preserving type) AS OrderInternalBillOfOperations,
cast(resb.aplzl as operationinternalid preserving type) AS OrderIntBillOfOperationsItem,
resb.matnr AS Material,
resb.werks AS Plant,
resb.lgort AS StorageLocation,
resb.meins AS BaseUnit,
resb.charg AS Batch,
resb.splkz AS BatchSplitType,
resb.bdmng AS RequiredQuantity,
cast(resb.nomng as pph_nomng preserving type) AS MaterialCompOriginalQuantity,
resb.erfme AS EntryUnit,
cast(resb.erfmg as pph_erfmg preserving type) AS GoodsMovementEntryQty,
resb.kzear AS ReservationIsFinallyIssued,
resb.fmeng AS QuantityIsFixed,
cast(resb.xloek as pph_xloek preserving type) AS MatlCompIsMarkedForDeletion,
resb.xfehl AS MaterialComponentIsMissing,
resb.schgt AS IsBulkMaterialComponent,
resb.rgekz AS MatlCompIsMarkedForBackflush,
resb.txtps AS MatlCompIsTextItem,
cast(resb.no_disp as vdm_no_disp preserving type) AS MaterialPlanningRelevance,
resb.kfpos AS MatlCompIsConfigurable,
cast(resb.shkzg as pph_shkzg preserving type) AS DebitCreditCode,
resb.xwaok AS GoodsMovementIsAllowed,
resb.kzaus AS MatlCompDiscontinuationType,
resb.techs AS EffectivityParameterVariant,
resb.baugr AS Assembly,
resb.rohps AS MaterialCompIsVariableSized,
cast(resb.roanz as pph_roanz preserving type) AS VariableSizeItemQuantity,
cast(resb.rokme as pph_rokme preserving type) AS VariableSizeComponentUnit,
cast(resb.romen as pph_romen preserving type) AS VariableSizeComponentQuantity,
resb.romei AS VariableSizeDimensionUnit,
resb.roms1 AS VariableSizeDimension1,
resb.roms2 AS VariableSizeDimension2,
resb.roms3 AS VariableSizeDimension3,
resb.rform AS FormulaKey,
cast(resb.stlty as pph_stlty preserving type) AS BillOfMaterialCategory,
cast(resb.stlnr as pph_stnum preserving type) AS BillOfMaterialInternalID,
resb.stlal AS BillOfMaterialVariant,
cast(resb.stlkn as pph_stlkn preserving type) AS BOMItem,
resb.bom_versn AS BillOfMaterialVersion,
resb.stpoz AS BOMItemInternalChangeCount,
resb.stvkn AS InheritedBOMItemNode,
cast(resb.postp as pph_postp preserving type) AS BOMItemCategory,
cast(resb.posnr as vdm_sposn preserving type) AS BillOfMaterialItemNumber,
resb.potx1 AS BOMItemDescription,
resb.potx2 AS BOMItemText2,
resb.original_rsnum AS OriginalReservation,
resb.original_rspos AS OriginalReservationItem,
cast(resb.alpgr as pph_alpgr preserving type) AS AlternativeItemGroup,
resb.alpos AS MaterialCompIsAlternativeItem,
MfgBOMItemCategoryAddlParam.ComponentIsToBeReworked AS ComponentIsToBeReworked,
OpActyComponentAssignment._OpActyNtwkInstance AS _OpActyNtwkInstance,
OpActyComponentAssignment._OpActyNtwkInstanceBasic AS _OpActyNtwkInstanceBasic,
OpActyComponentAssignment._OperationActivityInstance AS _OperationActivityInstance,
OpActyComponentAssignment._ReservationHeader AS _ReservationHeader,
OpActyComponentAssignment._ReltdOpActyCompAssignment AS _ReltdOpActyCompAssignment,
OpActyComponentAssignment._PlannedInventoryUsblyCode AS _PlannedInventoryUsblyCode,
OpActyComponentAssignment._BOMItmMfgRefStrucItmAssgmt AS _BOMItmMfgRefStrucItmAssgmt,
OpActyComponentAssignment._MfgRefStrucItemWithDetails AS _MfgRefStrucItemWithDetails,
OpActyComponentAssignment._MfgRefHierItemWithDetails AS _MfgRefHierItemWithDetails
FROM I_OpActyComponentAssignment AS OpActyComponentAssignment
INNER JOIN resb ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ReservationDocumentHeader AS _Reservation ON Reservation = _Reservation.Reservation -- association [1..1]
LEFT OUTER JOIN I_ReservationDocumentItem AS _ReservationItem ON Reservation = _ReservationItem.Reservation AND ReservationItem = _ReservationItem.ReservationItem AND RecordType = _ReservationItem.RecordType -- association [1..1]
LEFT OUTER JOIN I_ReservationDocRecordType AS _ReservationDocRecordType ON RecordType = _ReservationDocRecordType.RecordType -- association [0..1]
LEFT OUTER JOIN I_ManufacturingOrder AS _ManufacturingOrder ON ManufacturingOrder = _ManufacturingOrder.ManufacturingOrder -- association [1..1]
LEFT OUTER JOIN I_MfgOrderOperationBasic AS _MfgOrderOperation ON OrderInternalBillOfOperations = _MfgOrderOperation.OrderInternalBillOfOperations AND OrderIntBillOfOperationsItem = _MfgOrderOperation.OrderIntBillOfOperationsItem -- association [1..1]
LEFT OUTER JOIN I_OrderInternalID AS _OrderInternalID ON OrderInternalBillOfOperations = _OrderInternalID.OrderInternalID -- association [1..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material -- association [1..1]
LEFT OUTER JOIN I_Product AS _Product ON Material = _Product.Product -- association [1..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [1..1]
LEFT OUTER JOIN I_ProductPlantBasic AS _ProductPlantBasic ON Material = _ProductPlantBasic.Product AND Plant = _ProductPlantBasic.Plant -- association [1..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation -- association [0..1]
LEFT OUTER JOIN I_Batch AS _Batch ON Plant = _Batch.Plant AND Material = _Batch.Material AND Batch = _Batch.Batch -- association [0..1]
LEFT OUTER JOIN I_BatchSplitType AS _BatchSplitType ON BatchSplitType = _BatchSplitType.BatchSplitType -- association [0..1]
LEFT OUTER JOIN I_BillOfMaterialItemCategory AS _BOMItemCategory ON BOMItemCategory = _BOMItemCategory.BillOfMaterialItemCategory -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON BaseUnit = _BaseUnit.UnitOfMeasure -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _EntryUnit ON EntryUnit = _EntryUnit.UnitOfMeasure -- association [1..1]
LEFT OUTER JOIN I_DebitCreditCode AS _DebitCreditCode ON DebitCreditCode = _DebitCreditCode.DebitCreditCode -- association [1..1]
LEFT OUTER JOIN I_MatlCompDiscontinuationType AS _MatlCompDiscontinuationType ON MatlCompDiscontinuationType = _MatlCompDiscontinuationType.MatlCompDiscontinuationType -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA