I_MaintOrderComponentDEX

DDL: I_MAINTORDERCOMPONENTDEX Type: view_entity COMPOSITE

Maintenance Order Component Data

I_MaintOrderComponentDEX (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Maintenance Order · Asset Management

I_MaintOrderComponentDEX is a Composite CDS View (Fact) that provides data about "Maintenance Order Component Data" in SAP S/4HANA. It reads from 1 data source (I_MaintenanceOrderComponent_2) and exposes 109 fields with key fields Reservation, ReservationItem, ReservationType. It has 2 associations to related views.

SAP Help Documentation

CategoryCDS Views for Maintenance Management
Data CategoryFact
Purpose
This CDS view allows you to retrieve information about material components and lean services assigned to maintenance order operations. This CDS view provides the data to answer the following business questions: Which components and services are related to a specific maintenance order? What are the details of that maintenance order? What are the required, confirmed and withdrawn quantities? What are the reservation details of the components? What are the goods movement details of the components? What are the purchasing and costing details of the components and services? What are the scheduling and planning details of the components and services? What are the dimensions of variable-size items? This CDS view also provides associations to the I_MaintenanceOrderDEX and E_MaintenanceOrder views, allowing for a comprehensive understanding of a maintenance order and its components. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: I_AUART (Order Type) I_BEGRP (Authorization Group) I_INGRP (Maintenance Planner Group) I_IWERK (Maintenance Planning Plant) I_KOSTL (Cost Centers) I_SWERK (Maintenance Plant) I_TCODE (Transaction Code)

Structure
Important Fields Important fields in this view include the following: Field Name Description MaintenanceOrder Maintenance Order MaintenanceOrderOperation Order Operation MaintenanceOrderComponent Component Number Specifies a unique object number that is assigned to each component of a maintenance order. ComponentDescription Component Description This could be the product description that is maintained in the product master, or a free text that can be used by the purchaser to identify a material or a lean service that has been manually entered. Material Material Number MaintComponentItemCategory Item Category RequirementQuantityInBaseUnit Requirement Quantity ConfirmedAvailableQuantity Available Quantity QuantityWithdrawnInBaseUnit Withdrawn Quantity MaterialGroup Material Group ProductTypeCode Product Type Group MaintOrdOpCompSpecialStockType Special Stock Reservation Reservation ReservationIsFinallyIssued Final Issue RequirementDate Requirement Date DeliveryTimeInDays Delivery Time in Days GoodsReceiptDurationInWorkDays Goods Receipt Processing Time StorageLocation Storage Location WBSElement WBS Element OverallLimitAmount Overall Limit ExpectedOverallLimitAmount Expected Value PerformancePeriodStartDate Service Start Date PerformancePeriodEndDate Service End Date PerformancePeriodStartTime Service Start Time PerformancePeriodEndTime Service End Time LeanServiceDuration Service Duration ServicePerformer Service Performer MaintOrderOpComponentPrice Price/Currency Supplier Supplier PurchasingInfoRecord Purchasing Info Record MaintOrdOpCompPurOutlineAgrmt Outline Agreement MaintOrdCompPurOutlineAgrmtItm Outline Agreement Item PurchaseRequisition Purchase Requisition PurchaseRequisitionItem Purchase Requisition Item PurchasingGroup Purchasing Group ResponsiblePurchaseOrg Purchasing Organization ResponsibleCostCenter Responsible Cost Center MaintOrdOpComponentGLAccount G/L Account

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode as well as in delta mode. Deltas are determined automatically by change data capture.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessAsset Management
Application ComponentPM-WOC-MO
CapabilitiesData Source for Data Extraction
PackageAsset Management for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view allows you to retrieve information about material components and lean services assigned to maintenance order operations.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>Which components and services are related to a specific maintenance order? What are the details of that maintenance order?</p></li> <li><p>What are the required, confirmed and withdrawn quantities?</p></li> <li><p>What are the reservation details of the components?</p></li> <li><p>What are the goods movement details of the components?</p></li> <li><p>What are the purchasing and costing details of the components and services?</p></li> <li><p>What are the scheduling and planning details of the components and services?</p></li> <li><p>What are the dimensions of variable-size items?</p></li> </ul> <p>This CDS view also provides associations to the I_MaintenanceOrderDEX and E_MaintenanceOrder views, allowing for a comprehensive understanding of a maintenance order and its components.</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_MaintenanceOrderComponent_2 _MaintenanceOrderComponent from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_MaintenanceOrderDEX _MaintenanceOrderDEX _MaintenanceOrderComponent.MaintenanceOrder = _MaintenanceOrderDEX.MaintenanceOrder -- Extensions, do not expose as association:
[0..1] E_MaintenanceOrder _MaintenanceOrderExtension _MaintenanceOrderComponent.MaintenanceOrder = _MaintenanceOrderExtension.MaintenanceOrder

Annotations (16)

NameValueLevelField
EndUserText.label Maintenance Order Component Data view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.modelingPattern #NONE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.sapObjectNodeType.name MaintenanceOrder view
Analytics.dataCategory #FACT view
Analytics.dataExtraction.enabled true view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.elementSuffix ORI view
AbapCatalog.extensibility.quota.maximumFields 250 view
AbapCatalog.extensibility.quota.maximumBytes 5000 view

Fields (109)

KeyFieldSource TableSource FieldDescription
KEY Reservation Reservation Number of reservation/dependent requirements
KEY ReservationItem ReservationItem Item Number of Reservation / Dependent Requirements
KEY ReservationType ReservationType Record type
MaintenanceOrder MaintenanceOrder Order Number
MaintenanceOrderOperation MaintenanceOrderOperation Maintenance Order Operation
MaintenanceOrderSubOperation MaintenanceOrderSubOperation Maintenance Order Suboperation
MaintOrderComponentInternalID MaintOrderComponentInternalID Object number
MaintenanceOrderComponent MaintenanceOrderComponent BOM item number
ResvnPurchasingDocumentNumber ResvnPurchasingDocumentNumber Index counter for direct procurement elements
FunctionalLocation _MaintenanceOrderDEX FunctionalLocation Functional Location
Equipment _MaintenanceOrderDEX Equipment Equipment Number
Assembly _MaintenanceOrderDEX Assembly Pegged Reqmt
MaintenanceActivityType _MaintenanceOrderDEX MaintenanceActivityType Maintenance Activity Type
MaintenancePlannerGroup _MaintenanceOrderDEX MaintenancePlannerGroup Planner Group for Customer Service and Plant Maintenance
MaintenancePlanningPlant _MaintenanceOrderDEX MaintenancePlanningPlant Maintenance Planning Plant
MaintenanceOrderType _MaintenanceOrderDEX MaintenanceOrderType Order Type
MaintenancePlant _MaintenanceOrderDEX MaintenancePlant Location Plant
MaintObjectLocAcctAssgmtNmbr _MaintenanceOrderDEX MaintObjectLocAcctAssgmtNmbr Location and account assignment for technical object
CreationDate Order Creation Date
LastChangeDateTime _MaintenanceOrderDEX LastChangeDateTime Changed On Timestamp with Date and Time
MaintOrdProcessPhaseCode _MaintenanceOrderDEX MaintOrdProcessPhaseCode Process Phase
MaintOrdProcessSubPhaseCode _MaintenanceOrderDEX MaintOrdProcessSubPhaseCode Process Subphase
LatestAcceptableCompletionDate _MaintenanceOrderDEX LatestAcceptableCompletionDate Final Due Date
PrevLtstAccptblCompletionDate _MaintenanceOrder PrevLtstAccptblCompletionDate Previous Final Due Date
MaintOrderProcessingContext _MaintenanceOrderDEX MaintOrderProcessingContext Additional Processing Context for Maintenance Order
ReservationIsFinallyIssued ReservationIsFinallyIssued Final Issue for Reservation
Plant Plant Valuation Area
StorageLocation StorageLocation Storage Location
Material Material Material Number
ComponentDescription ComponentDescription BOM Item Text (Line 1)
MaintComponentItemCategory MaintComponentItemCategory Item category (bill of material)
MaintOrdOpCompRequisitioner MaintOrdOpCompRequisitioner Name of requisitioner/requester
MaterialGroup MaterialGroup Material Group
Supplier Supplier Account Number of Supplier
RequirementQuantityInBaseUnit RequirementQuantityInBaseUnit Requirement Quantity
BaseUnit BaseUnit Base Unit of Measure
QuantityInUnitOfEntry QuantityInUnitOfEntry Quantity in unit of entry
UnitOfEntry UnitOfEntry Unit of Entry
MaintOrderCompDebitCreditCode MaintOrderCompDebitCreditCode Debit/Credit Indicator
PurReqnOrResvnGeneration PurReqnOrResvnGeneration Purchase Requisition or Reservation Generation
MaterialCompIsProcuredDirectly MaterialCompIsProcuredDirectly Checkbox
RequirementDate RequirementDate Requirements date for the component
RequirementTime RequirementTime Time that reservation quantity required
ProductTypeCode ProductTypeCode Product Type Group
ServicePerformer ServicePerformer Service Performer
PerformancePeriodStartDate PerformancePeriodStartDate Start Date for Period of Performance
PerformancePeriodEndDate PerformancePeriodEndDate End Date for Period of Performance
PerformancePeriodStartTime PerformancePeriodStartTime Start Time for a Lean Service
PerformancePeriodEndTime PerformancePeriodEndTime End Time for a Lean Service
LeanServiceDuration LeanServiceDuration Duration of Lean Service
LeanServiceDurationUnit LeanServiceDurationUnit Duration Unit for a Lean Service
DistributionFunction DistributionFunction Distribution function
MaintOrdCompDeliveryDateAdjmt MaintOrdCompDeliveryDateAdjmt Align Component Requirement Date
SrvcSchedgIsAlignedWthOpWrkCtr SrvcSchedgIsAlignedWthOpWrkCtr Align scheduling with work center operating hours
PurchaseRequisition PurchaseRequisition Purchase Requisition Number
PurchaseRequisitionItem PurchaseRequisitionItem Item number of purchase requisition
MaintOrderRoutingNumber MaintOrderRoutingNumber Routing number of operations in the order
MaintOrderOperationCounter MaintOrderOperationCounter Internal counter
GoodsMovementType GoodsMovementType Movement Type (Inventory Management)
GoodsMovementIsAllowed GoodsMovementIsAllowed Goods Movement for Reservation Allowed
MaintenanceOrderComponentBatch MaintenanceOrderComponentBatch Batch Number
MaintOrdOpComponentGLAccount MaintOrdOpComponentGLAccount G/L Account Number
MaintOrdOpCompCostingRelevancy MaintOrdOpCompCostingRelevancy Indicator for Relevancy to Costing
MaintCompAltvProdUsgeRateInPct MaintCompAltvProdUsgeRateInPct Usage Probability in % (Alternative Item)
MaintOrderOpComponentSortText MaintOrderOpComponentSortText Sort String
MaintOrdOpCompIsBulkProduct MaintOrdOpCompIsBulkProduct Indicator: bulk material
MaterialProvisionType MaterialProvisionType Material Provision Indicator
MaintOrdOpCompAssgdWBSElmntInt MaintOrdOpCompAssgdWBSElmntInt WBS Internal ID
WBSElement Work Breakdown Structure Element (WBS Element)
MaintOrderOpComponentPrice MaintOrderOpComponentPrice Price in component currency
MaintOrdOpCompPriceUnitQty MaintOrdOpCompPriceUnitQty Price unit
MatlCompIsMarkedForBackflush MatlCompIsMarkedForBackflush Indicator: Backflush
PurchasingGroup PurchasingGroup Purchasing Group
DeliveryTimeInDays DeliveryTimeInDays Delivery Time in Days
MaintOrdOpCompGdsRecipientName MaintOrdOpCompGdsRecipientName Goods Recipient
MaintOrdOpCompUnloadingPtTxt MaintOrdOpCompUnloadingPtTxt Unloading Point
GoodsReceiptDurationInWorkDays GoodsReceiptDurationInWorkDays Goods receipt processing time in days
PurchasingInfoRecord PurchasingInfoRecord Number of purchasing info record
OperationLeadTimeOffset OperationLeadTimeOffset Lead-time offset for operation
OpsLeadTimeOffsetUnit OpsLeadTimeOffsetUnit Unit for lead-time offset for operation
ResponsiblePurchaseOrg ResponsiblePurchaseOrg Purchasing Organization
MaintOrdCompPurOutlineAgrmtItm MaintOrdCompPurOutlineAgrmtItm Item Number of Purchasing Document
IsDeleted IsDeleted Item is Deleted
ControllingArea _MaintenanceOrderDEX ControllingArea Controlling Area
ResponsibleCostCenter _MaintenanceOrderDEX ResponsibleCostCenter Responsible Cost Center
OverallLimitAmount OverallLimitAmount Overall Limit
ExpectedOverallLimitAmount ExpectedOverallLimitAmount Expected Value of Overall Limit
QuantityIsFixed QuantityIsFixed Quantity is fixed
MaintOrdOpComponentCurrency MaintOrdOpComponentCurrency Currency Key
MaintOrdOpCompProcmtTrckgNmbr MaintOrdOpCompProcmtTrckgNmbr Requirement Tracking Number
MaintOrdOpCompSpecialStockType MaintOrdOpCompSpecialStockType Special Stock Indicator
VariableSizeDimension1 VariableSizeDimension1 Size 1
VariableSizeDimensionUnit VariableSizeDimensionUnit Unit of measure for sizes 1 to 3
VariableSizeCompFormulaKey VariableSizeCompFormulaKey Formula Key for Variable-Size Items
VariableSizeDimension2 VariableSizeDimension2 Size 2
NumberOfVariableSizeItem NumberOfVariableSizeItem Number of Variable-Size Items
VariableSizeDimension3 VariableSizeDimension3 Size 3
VariableSizeItemQuantity VariableSizeItemQuantity Variable-Size Item Quantity per Piece (PC)
VariableSizeComponentUnit VariableSizeComponentUnit Unit of Measure for Variable-Size Item
RqmtDateIsEnteredManually RqmtDateIsEnteredManually Manual Maintenance of Requirement Date
SupplierProduct SupplierProduct Material Number Used by Supplier
MaintOrdCompCmtdQtyIsKept MaintOrdCompCmtdQtyIsKept Keep Committed Quantities of Stock Components
MaintOrdOpCompPurOutlineAgrmt MaintOrdOpCompPurOutlineAgrmt Purchasing Document Number
MaintOrdOpCompProcmtCatalog MaintOrdOpCompProcmtCatalog Identifier for allowed catalogs
MaintOrdOpCompProcmtCatalogItm MaintOrdOpCompProcmtCatalogItm Product ID in Catalog
QuantityWithdrawnInBaseUnit QuantityWithdrawnInBaseUnit Quantity withdrawn
ConfirmedAvailableQuantity ConfirmedAvailableQuantity Available Quantity
RecipientLocationCode _ReservationItem RecipientLocationCode Recipient location code
_MaintenanceOrderDEX _MaintenanceOrderDEX

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_MaintOrderComponentDEX.
-- 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_MaintOrderComponentDEX AS
SELECT
  Reservation,
  ReservationItem,
  ReservationType,
  MaintenanceOrder,
  MaintenanceOrderOperation,
  MaintenanceOrderSubOperation,
  MaintOrderComponentInternalID,
  MaintenanceOrderComponent,
  ResvnPurchasingDocumentNumber,
  _MaintenanceOrderDEX.FunctionalLocation AS FunctionalLocation,
  _MaintenanceOrderDEX.Equipment AS Equipment,
  _MaintenanceOrderDEX.Assembly AS Assembly,
  _MaintenanceOrderDEX.MaintenanceActivityType AS MaintenanceActivityType,
  _MaintenanceOrderDEX.MaintenancePlannerGroup AS MaintenancePlannerGroup,
  _MaintenanceOrderDEX.MaintenancePlanningPlant AS MaintenancePlanningPlant,
  _MaintenanceOrderDEX.MaintenanceOrderType AS MaintenanceOrderType,
  _MaintenanceOrderDEX.MaintenancePlant AS MaintenancePlant,
  _MaintenanceOrderDEX.MaintObjectLocAcctAssgmtNmbr AS MaintObjectLocAcctAssgmtNmbr,
  _MaintenanceOrder._Order.CreationDate AS CreationDate,
  _MaintenanceOrderDEX.LastChangeDateTime AS LastChangeDateTime,
  _MaintenanceOrderDEX.MaintOrdProcessPhaseCode AS MaintOrdProcessPhaseCode,
  _MaintenanceOrderDEX.MaintOrdProcessSubPhaseCode AS MaintOrdProcessSubPhaseCode,
  _MaintenanceOrderDEX.LatestAcceptableCompletionDate AS LatestAcceptableCompletionDate,
  _MaintenanceOrder.PrevLtstAccptblCompletionDate AS PrevLtstAccptblCompletionDate,
  _MaintenanceOrderDEX.MaintOrderProcessingContext AS MaintOrderProcessingContext,
  ReservationIsFinallyIssued,
  Plant,
  StorageLocation,
  Material,
  ComponentDescription,
  MaintComponentItemCategory,
  MaintOrdOpCompRequisitioner,
  MaterialGroup,
  Supplier,
  RequirementQuantityInBaseUnit,
  BaseUnit,
  QuantityInUnitOfEntry,
  UnitOfEntry,
  MaintOrderCompDebitCreditCode,
  PurReqnOrResvnGeneration,
  MaterialCompIsProcuredDirectly,
  RequirementDate,
  RequirementTime,
  ProductTypeCode,
  ServicePerformer,
  PerformancePeriodStartDate,
  PerformancePeriodEndDate,
  PerformancePeriodStartTime,
  PerformancePeriodEndTime,
  LeanServiceDuration,
  LeanServiceDurationUnit,
  DistributionFunction,
  MaintOrdCompDeliveryDateAdjmt,
  SrvcSchedgIsAlignedWthOpWrkCtr,
  PurchaseRequisition,
  PurchaseRequisitionItem,
  MaintOrderRoutingNumber,
  MaintOrderOperationCounter,
  GoodsMovementType,
  GoodsMovementIsAllowed,
  MaintenanceOrderComponentBatch,
  MaintOrdOpComponentGLAccount,
  MaintOrdOpCompCostingRelevancy,
  MaintCompAltvProdUsgeRateInPct,
  MaintOrderOpComponentSortText,
  MaintOrdOpCompIsBulkProduct,
  MaterialProvisionType,
  MaintOrdOpCompAssgdWBSElmntInt,
  cast ( _MaintenanceOrder._WBSElement.WBSElement as vdm_ps_posid preserving type ) AS WBSElement,
  MaintOrderOpComponentPrice,
  MaintOrdOpCompPriceUnitQty,
  MatlCompIsMarkedForBackflush,
  PurchasingGroup,
  DeliveryTimeInDays,
  MaintOrdOpCompGdsRecipientName,
  MaintOrdOpCompUnloadingPtTxt,
  GoodsReceiptDurationInWorkDays,
  PurchasingInfoRecord,
  OperationLeadTimeOffset,
  OpsLeadTimeOffsetUnit,
  ResponsiblePurchaseOrg,
  MaintOrdCompPurOutlineAgrmtItm,
  IsDeleted,
  _MaintenanceOrderDEX.ControllingArea AS ControllingArea,
  _MaintenanceOrderDEX.ResponsibleCostCenter AS ResponsibleCostCenter,
  OverallLimitAmount,
  ExpectedOverallLimitAmount,
  QuantityIsFixed,
  MaintOrdOpComponentCurrency,
  MaintOrdOpCompProcmtTrckgNmbr,
  MaintOrdOpCompSpecialStockType,
  VariableSizeDimension1,
  VariableSizeDimensionUnit,
  VariableSizeCompFormulaKey,
  VariableSizeDimension2,
  NumberOfVariableSizeItem,
  VariableSizeDimension3,
  VariableSizeItemQuantity,
  VariableSizeComponentUnit,
  RqmtDateIsEnteredManually,
  SupplierProduct,
  MaintOrdCompCmtdQtyIsKept,
  MaintOrdOpCompPurOutlineAgrmt,
  MaintOrdOpCompProcmtCatalog,
  MaintOrdOpCompProcmtCatalogItm,
  QuantityWithdrawnInBaseUnit,
  ConfirmedAvailableQuantity,
  _ReservationItem.RecipientLocationCode AS RecipientLocationCode
FROM I_MaintenanceOrderComponent_2 AS _MaintenanceOrderComponent
LEFT OUTER JOIN I_MaintenanceOrderDEX AS _MaintenanceOrderDEX ON _MaintenanceOrderComponent.MaintenanceOrder = _MaintenanceOrderDEX.MaintenanceOrder  -- association [0..1]
LEFT OUTER JOIN E_MaintenanceOrder AS _MaintenanceOrderExtension ON _MaintenanceOrderComponent.MaintenanceOrder = _MaintenanceOrderExtension.MaintenanceOrder  -- association [0..1]
;