C_Operationcomponents

DDL: C_OPERATIONCOMPONENTS SQL: CMPEOPERCOMPNTS Type: view CONSUMPTION

Components

C_Operationcomponents is a Consumption CDS View that provides data about "Components" in SAP S/4HANA. It reads from 1 data source (I_MfgOrderOperationCompWithSts) and exposes 77 fields with key fields Reservation, ReservationItem, RecordType. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_MfgOrderOperationCompWithSts comp from

Associations (7)

CardinalityTargetAliasCondition
[0..1] I_MaterialText _MaterialText $projection.Material = _MaterialText.Material and _MaterialText.Language = $session.system_language
[0..1] P_Materialaggr _Aggr $projection.Material = _Aggr.Material and $projection.ProductionPlant = _Aggr.Plant and $projection.StorageLocation = _Aggr.StorageLocation and $projection.InventorySpecialStockType = _Aggr.InventorySpecialStockType ----Extension
[0..1] E_BillOfMaterialItemTP _BillOfMaterialItemExtension $projection.BillOfMaterialCategory = _BillOfMaterialItemExtension.BillOfMaterialCategory and $projection.BillOfMaterial = _BillOfMaterialItemExtension.BillOfMaterial and $projection.BillOfMaterialItemNodeNumber = _BillOfMaterialItemExtension.BillOfMaterialItemNodeNumber and $projection.BOMItemInternalChangeCount = _BillOfMaterialItemExtension.BOMItemInternalChangeCount
[1..1] E_ReservationDocumentItem _ReservationDocumentItem $projection.Reservation = _ReservationDocumentItem.Reservation and $projection.ReservationItem = _ReservationDocumentItem.ReservationItem and $projection.RecordType = _ReservationDocumentItem.RecordType
[0..1] P_MfgOrdCompMfgRefStruc _MfgOrdCompMfgRefStruc $projection.Reservation = _MfgOrdCompMfgRefStruc.Reservation and $projection.ReservationItem = _MfgOrdCompMfgRefStruc.ReservationItem and $projection.RecordType = _MfgOrdCompMfgRefStruc.RecordType
[0..1] I_BomItemCategoryText _ItemCategoryT $projection.BillOfMaterialItemCategory = _ItemCategoryT.BillOfMaterialItemCategory and _ItemCategoryT.Language = $session.system_language and _ItemCategoryT.BillOfMaterialItemCategory <> 'D'
[0..1] I_MfgBOMItemWithPhantomHier _PhantomFlag $projection.BillOfMaterialCategory = _PhantomFlag.MfgBillOfMaterialCategory and $projection.BillOfMaterial = _PhantomFlag.MfgBillOfMaterial and $projection.BillOfMaterialVariant = _PhantomFlag.MfgBillOfMaterialVariant and $projection.BillOfMaterialVersion = _PhantomFlag.MfgBillOfMaterialVersion and $projection.InheritedBOMItemNode = _PhantomFlag.MfgBOMItmInhtdNodeNmbr

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CMPEOPERCOMPNTS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Components view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value Reservation view
UI.headerInfo.description.type #STANDARD view
UI.headerInfo.description.value ReservationItem view
UI.headerInfo.typeName Component view
UI.headerInfo.typeNamePlural Components view

Fields (77)

KeyFieldSource TableSource FieldDescription
KEY Reservation I_MfgOrderOperationCompWithSts Reservation Reservation
KEY ReservationItem I_MfgOrderOperationCompWithSts ReservationItem Reservation Item
KEY RecordType I_MfgOrderOperationCompWithSts RecordType Reservation Record Type
ManufacturingOrder I_MfgOrderOperationCompWithSts ManufacturingOrder Order
ManufacturingOrderOperation
OperationText I_MfgOrderOperationCompWithSts OperationText Description
OrderInternalBillOfOperations I_MfgOrderOperationCompWithSts OrderInternalBillOfOperations Order Internal Bill of Operations
OrderIntBillOfOperationsItem I_MfgOrderOperationCompWithSts OrderIntBillOfOperationsItem Order Internal Bill of Operations Item
ManufacturingOrderSequence I_MfgOrderOperationCompWithSts ManufacturingOrderSequence
Material I_MfgOrderOperationCompWithSts Material Vehicle Model
MaterialName _MaterialText MaterialName Material Description
ProductionPlant I_MfgOrderOperationCompWithSts ProductionPlant Prod plnt
Plant I_MfgOrderOperationCompWithSts Plant Valuation Area
StorageLocation I_MfgOrderOperationCompWithSts StorageLocation StorageLocation
InventorySpecialStockType I_MfgOrderOperationCompWithSts InventorySpecialStockType Special Stock Type
ProductionPlantName
BaseUnit I_MfgOrderOperationCompWithSts BaseUnit Unit of Measure
RequiredQuantity I_MfgOrderOperationCompWithSts RequiredQuantity Requirement qty
WithdrawnQuantity I_MfgOrderOperationCompWithSts WithdrawnQuantity Withdrawn Quantity
OpenQuantityendasUncoveredQuantity
OpenQuantityendasOpenQuantity
EffectivityParameterVariant I_MfgOrderOperationCompWithSts EffectivityParameterVariant
Assembly I_MfgOrderOperationCompWithSts Assembly Pegged Reqmt
MaterialCompIsAlternativeItem I_MfgOrderOperationCompWithSts MaterialCompIsAlternativeItem
AlternativeItemGroup I_MfgOrderOperationCompWithSts AlternativeItemGroup AltItemGroup
OriginalReservation I_MfgOrderOperationCompWithSts OriginalReservation
OriginalReservationItem I_MfgOrderOperationCompWithSts OriginalReservationItem
MaterialComponentIsMissing I_MfgOrderOperationCompWithSts MaterialComponentIsMissing
SupplyArea I_MfgOrderOperationCompWithSts SupplyArea Supply Area
MRPController I_MfgOrderOperationCompWithSts MRPController MRP Controller
MRPControllerName
ReservationIsFinallyIssued I_MfgOrderOperationCompWithSts ReservationIsFinallyIssued Res Final Issue
MatlCompRequirementDate I_MfgOrderOperationCompWithSts MatlCompRequirementDate Reqmts date
MatlCompRequirementTime I_MfgOrderOperationCompWithSts MatlCompRequirementTime
MatlCompIsMarkedForBackflush I_MfgOrderOperationCompWithSts MatlCompIsMarkedForBackflush Backflush
Batch I_MfgOrderOperationCompWithSts Batch Lot No.
ComponentScrapInPercent
IsNetScrap I_MfgOrderOperationCompWithSts IsNetScrap Net Indicator
OperationScrapInPercent
EntryUnit I_MfgOrderOperationCompWithSts EntryUnit Unit of Entry
GoodsMovementEntryQty I_MfgOrderOperationCompWithSts GoodsMovementEntryQty
QuantityIsFixed I_MfgOrderOperationCompWithSts QuantityIsFixed Qty. is fixed
BOMItemDescription I_MfgOrderOperationCompWithSts BOMItemDescription Item Text
MaterialComponentIsPhantomItem
MaterialCompIsIntraMaterial I_MfgOrderOperationCompWithSts MaterialCompIsIntraMaterial
MatlCompIsTextItem I_MfgOrderOperationCompWithSts MatlCompIsTextItem
ManufacturingOrderCategory I_MfgOrderOperationCompWithSts ManufacturingOrderCategory
ManufacturingOrderType I_MfgOrderOperationCompWithSts ManufacturingOrderType
MatlCompIsMarkedForDeletion I_MfgOrderOperationCompWithSts MatlCompIsMarkedForDeletion
DebitCreditCode I_MfgOrderOperationCompWithSts DebitCreditCode Single-Character Flag
BillOfMaterialCategory I_MfgOrderOperationCompWithSts BillOfMaterialCategory BOM category
BillOfMaterial I_MfgOrderOperationCompWithSts BillOfMaterial BOM
BillOfMaterialVariant I_MfgOrderOperationCompWithSts BillOfMaterialVariant AlternativeBOM
BillOfMaterialVersion I_MfgOrderOperationCompWithSts BillOfMaterialVersion BOM Version
InheritedBOMItemNode I_MfgOrderOperationCompWithSts InheritedBOMItemNode
BillOfMaterialItemNodeNumber I_MfgOrderOperationCompWithSts BillOfMaterialItemNodeNumber Item node
BOMItemInternalChangeCount I_MfgOrderOperationCompWithSts BOMItemInternalChangeCount Counter
IsBulkMaterialComponent I_MfgOrderOperationCompWithSts IsBulkMaterialComponent Bulk material
BillOfMaterialItemCategory I_MfgOrderOperationCompWithSts BillOfMaterialItemCategory Item Category
BillOfMaterialItemCategoryDesc _ItemCategoryT BillOfMaterialItemCategoryDesc Item Category
MfgRefStrucBOMLeafAssgmtUUID _MfgOrdCompMfgRefStruc MfgRefStrucBOMLeafAssgmtUUID Leaf Assignment UUID
MfgRefStructureItemDetailUUID _MfgOrdCompMfgRefStruc MfgRefStructureItemDetailUUID
MfgRefStrucItmDetIsContextual _MfgOrdCompMfgRefStruc MfgRefStrucItmDetIsContextual
PlantTimeZone
MfgBOMItemIsPhantomChild _PhantomFlag MfgBOMItemIsPhantomChild
_Reservation _Reservation
_MfgOrder _MfgOrder
_MfgOrderSequence _MfgOrderSequence
_InventorySpecialStockType _InventorySpecialStockType
_Material _Material
_ProductionPlant _ProductionPlant
_Plant _Plant
_StorageLocation _StorageLocation
_SupplyArea _SupplyArea
_MfgRefHierItemWithDetails _MfgOrdCompMfgRefStruc _MfgRefHierItemWithDetails
_MfgRefStrucItemWithDetails _MfgOrdCompMfgRefStruc _MfgRefStrucItemWithDetails
_PhantomFlag _PhantomFlag

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 C_Operationcomponents.
-- 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: CMPEOPERCOMPNTS

CREATE VIEW C_Operationcomponents AS
SELECT
  comp.Reservation AS Reservation,
  comp.ReservationItem AS ReservationItem,
  comp.RecordType AS RecordType,
  comp.ManufacturingOrder AS ManufacturingOrder,
  cast(comp.ManufacturingOrderOperation as mpe_vornr_char preserving type) AS ManufacturingOrderOperation,
  comp.OperationText AS OperationText,
  comp.OrderInternalBillOfOperations AS OrderInternalBillOfOperations,
  comp.OrderIntBillOfOperationsItem AS OrderIntBillOfOperationsItem,
  comp.ManufacturingOrderSequence AS ManufacturingOrderSequence,
  comp.Material AS Material,
  _MaterialText.MaterialName AS MaterialName,
  comp.ProductionPlant AS ProductionPlant,
  comp.Plant AS Plant,
  comp.StorageLocation AS StorageLocation,
  comp.InventorySpecialStockType AS InventorySpecialStockType,
  comp._ProductionPlant.PlantName AS ProductionPlantName,
  comp.BaseUnit AS BaseUnit,
  comp.RequiredQuantity AS RequiredQuantity,
  comp.WithdrawnQuantity AS WithdrawnQuantity,
  comp.EffectivityParameterVariant AS EffectivityParameterVariant,
  comp.Assembly AS Assembly,
  comp.MaterialCompIsAlternativeItem AS MaterialCompIsAlternativeItem,
  comp.AlternativeItemGroup AS AlternativeItemGroup,
  comp.OriginalReservation AS OriginalReservation,
  comp.OriginalReservationItem AS OriginalReservationItem,
  comp.MaterialComponentIsMissing AS MaterialComponentIsMissing,
  comp.SupplyArea AS SupplyArea,
  comp.MRPController AS MRPController,
  comp._MRPController.MRPControllerName AS MRPControllerName,
  comp.ReservationIsFinallyIssued AS ReservationIsFinallyIssued,
  comp.MatlCompRequirementDate AS MatlCompRequirementDate,
  comp.MatlCompRequirementTime AS MatlCompRequirementTime,
  comp.MatlCompIsMarkedForBackflush AS MatlCompIsMarkedForBackflush,
  comp.Batch AS Batch,
  comp.IsNetScrap AS IsNetScrap,
  comp.EntryUnit AS EntryUnit,
  comp.GoodsMovementEntryQty AS GoodsMovementEntryQty,
  comp.QuantityIsFixed AS QuantityIsFixed,
  comp.BOMItemDescription AS BOMItemDescription,
  comp.MaterialCompIsIntraMaterial AS MaterialCompIsIntraMaterial,
  comp.MatlCompIsTextItem AS MatlCompIsTextItem,
  comp.ManufacturingOrderCategory AS ManufacturingOrderCategory,
  comp.ManufacturingOrderType AS ManufacturingOrderType,
  comp.MatlCompIsMarkedForDeletion AS MatlCompIsMarkedForDeletion,
  comp.DebitCreditCode AS DebitCreditCode,
  comp.BillOfMaterialCategory AS BillOfMaterialCategory,
  comp.BillOfMaterial AS BillOfMaterial,
  comp.BillOfMaterialVariant AS BillOfMaterialVariant,
  comp.BillOfMaterialVersion AS BillOfMaterialVersion,
  comp.InheritedBOMItemNode AS InheritedBOMItemNode,
  comp.BillOfMaterialItemNodeNumber AS BillOfMaterialItemNodeNumber,
  comp.BOMItemInternalChangeCount AS BOMItemInternalChangeCount,
  comp.IsBulkMaterialComponent AS IsBulkMaterialComponent,
  comp.BillOfMaterialItemCategory AS BillOfMaterialItemCategory,
  _ItemCategoryT.BillOfMaterialItemCategoryDesc AS BillOfMaterialItemCategoryDesc,
  _MfgOrdCompMfgRefStruc.MfgRefStrucBOMLeafAssgmtUUID AS MfgRefStrucBOMLeafAssgmtUUID,
  _MfgOrdCompMfgRefStruc.MfgRefStructureItemDetailUUID AS MfgRefStructureItemDetailUUID,
  _MfgOrdCompMfgRefStruc.MfgRefStrucItmDetIsContextual AS MfgRefStrucItmDetIsContextual,
  cast(comp._ProductionPlant._Address.AddressTimeZone as co_plant_timezone ) AS PlantTimeZone,
  _PhantomFlag.MfgBOMItemIsPhantomChild AS MfgBOMItemIsPhantomChild,
  _MfgOrdCompMfgRefStruc._MfgRefHierItemWithDetails AS _MfgRefHierItemWithDetails,
  _MfgOrdCompMfgRefStruc._MfgRefStrucItemWithDetails AS _MfgRefStrucItemWithDetails
FROM I_MfgOrderOperationCompWithSts AS comp
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material AND _MaterialText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN P_Materialaggr AS _Aggr ON Material = _Aggr.Material AND ProductionPlant = _Aggr.Plant AND StorageLocation = _Aggr.StorageLocation AND InventorySpecialStockType = _Aggr.InventorySpecialStockType  -- association [0..1]
LEFT OUTER JOIN E_BillOfMaterialItemTP AS _BillOfMaterialItemExtension ON BillOfMaterialCategory = _BillOfMaterialItemExtension.BillOfMaterialCategory AND BillOfMaterial = _BillOfMaterialItemExtension.BillOfMaterial AND BillOfMaterialItemNodeNumber = _BillOfMaterialItemExtension.BillOfMaterialItemNodeNumber AND BOMItemInternalChangeCount = _BillOfMaterialItemExtension.BOMItemInternalChangeCount  -- association [0..1]
LEFT OUTER JOIN E_ReservationDocumentItem AS _ReservationDocumentItem ON Reservation = _ReservationDocumentItem.Reservation AND ReservationItem = _ReservationDocumentItem.ReservationItem AND RecordType = _ReservationDocumentItem.RecordType  -- association [1..1]
LEFT OUTER JOIN P_MfgOrdCompMfgRefStruc AS _MfgOrdCompMfgRefStruc ON Reservation = _MfgOrdCompMfgRefStruc.Reservation AND ReservationItem = _MfgOrdCompMfgRefStruc.ReservationItem AND RecordType = _MfgOrdCompMfgRefStruc.RecordType  -- association [0..1]
LEFT OUTER JOIN I_BomItemCategoryText AS _ItemCategoryT ON BillOfMaterialItemCategory = _ItemCategoryT.BillOfMaterialItemCategory AND _ItemCategoryT.Language = $session.system_language AND _ItemCategoryT.BillOfMaterialItemCategory <> 'D'  -- association [0..1]
LEFT OUTER JOIN I_MfgBOMItemWithPhantomHier AS _PhantomFlag ON BillOfMaterialCategory = _PhantomFlag.MfgBillOfMaterialCategory AND BillOfMaterial = _PhantomFlag.MfgBillOfMaterial AND BillOfMaterialVariant = _PhantomFlag.MfgBillOfMaterialVariant AND BillOfMaterialVersion = _PhantomFlag.MfgBillOfMaterialVersion AND InheritedBOMItemNode = _PhantomFlag.MfgBOMItmInhtdNodeNmbr  -- association [0..1]
;