I_MaintOrderOperComp
Maintenance Order Operation Component
I_MaintOrderOperComp is a Composite CDS View that provides data about "Maintenance Order Operation Component" in SAP S/4HANA. It reads from 1 data source (I_MaintenanceOrderComponent_2) and exposes 54 fields with key fields MaintenanceOrder, MaintenanceOrderOperation, MaintenanceOrderSubOperation, MaintOrderComponentInternalID. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaintenanceOrderComponent_2 | I_MaintenanceOrderComponent_2 | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_MaintOrderOperTechObj | _MaintenanceOrderOperation | $projection.MaintenanceOrder = _MaintenanceOrderOperation.MaintenanceOrder and $projection.MaintenanceOrderOperation = _MaintenanceOrderOperation.MaintenanceOrderOperation |
| [1..1] | I_MaintOrderTechObj | _MaintenanceOrder | $projection.MaintenanceOrder = _MaintenanceOrder.MaintenanceOrder |
| [0..*] | I_StatusObjectActiveStatus | _StatusObjectActiveStatus | $projection.MaintOrderComponentInternalID = _StatusObjectActiveStatus.StatusObject |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMTORDOPRCOMP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Maintenance Order Operation Component | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.representativeKey | MaintOrderComponentInternalID | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view |
Fields (54)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceOrder | MaintenanceOrder | Order | |
| KEY | MaintenanceOrderOperation | MaintenanceOrderOperation | Suboperation | |
| KEY | MaintenanceOrderSubOperation | MaintenanceOrderSubOperation | Suboperation | |
| KEY | MaintOrderComponentInternalID | MaintOrderComponentInternalID | Object number | |
| MaintenanceOrderComponent | MaintenanceOrderComponent | BOM item | ||
| Reservation | Reservation | Reservation | ||
| ReservationItem | ReservationItem | Reservation Item | ||
| ReservationType | ReservationType | Record type | ||
| Material | Material | Vehicle Model | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| ComponentDescription | ComponentDescription | Item Text | ||
| RequirementQuantityInBaseUnit | RequirementQuantityInBaseUnit | Threshold value | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| MaintOrderCompDebitCreditCode | MaintOrderCompDebitCreditCode | Debit/Credit | ||
| Plant | Plant | Valuation Area | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| MaintOrderRoutingNumber | MaintOrderRoutingNumber | Plan No.f.Oper. | ||
| MaintOrderOperationCounter | MaintOrderOperationCounter | Counter | ||
| ItemCategory | MaintComponentItemCategory | Item Category | ||
| PurchaseRequisition | PurchaseRequisition | Requisition | ||
| PurchaseRequisitionItem | PurchaseRequisitionItem | Requisn. item | ||
| PurReqnOrResvnGeneration | PurReqnOrResvnGeneration | Purchase Reqn. / Resvn. Generation | ||
| MaterialCompIsProcuredDirectly | MaterialCompIsProcuredDirectly | Checkbox | ||
| Supplier | Supplier | Supplier | ||
| StatusIsActiveendasxloekasIsDeleted | ||||
| QuantityWithdrawnInBaseUnit | QuantityWithdrawnInBaseUnit | Withdrawal Qty | ||
| PerformancePeriodStartDate | PerformancePeriodStartDate | Start of Performance Period | ||
| PerformancePeriodStartTime | PerformancePeriodStartTime | Start Time | ||
| PerformancePeriodEndDate | PerformancePeriodEndDate | End of Performance Period | ||
| PerformancePeriodEndTime | PerformancePeriodEndTime | End Time | ||
| LeanServiceDuration | LeanServiceDuration | Service Duration | ||
| LeanServiceDurationUnit | LeanServiceDurationUnit | Serv. Dur. Unit | ||
| MaintOrdOpComponentCurrency | MaintOrdOpComponentCurrency | Currency | ||
| DistributionFunction | DistributionFunction | Function | ||
| SrvcSchedgIsAlignedWthOpWrkCtr | SrvcSchedgIsAlignedWthOpWrkCtr | Align with Work Center | ||
| OverallLimitAmount | OverallLimitAmount | Overall Limit | ||
| ExpectedOverallLimitAmount | ExpectedOverallLimitAmount | Expected Value | ||
| RqmtDateIsEnteredManually | RqmtDateIsEnteredManually | Man. Reqmt Date | ||
| FldLogsDelivIsHeldOnShore | FldLogsDelivIsHeldOnShore | Hold On-Shore | ||
| FldLogsSupplyProcess | FldLogsSupplyProcess | Supply Process | ||
| _Supplier | _Supplier | |||
| _Material | _Material | |||
| _MaterialText | _MaterialText | |||
| _MaterialGroup | _MaterialGroup | |||
| _StatusObject | _StatusObject | |||
| _Plant | _Plant | |||
| _ItemCategoryText | _ItemCategoryText | |||
| _StorageLocation | _StorageLocation | |||
| _SafetyRelevance | _SafetyRelevance | |||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _PurReqnOrResvnGeneration | _PurReqnOrResvnGeneration | |||
| _MaintenanceOrder | _MaintenanceOrder | |||
| _StatusObjectActiveStatus | _StatusObjectActiveStatus | |||
| _MaintenanceOrderOperation | _MaintenanceOrderOperation |
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_MaintOrderOperComp.
-- 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: IMTORDOPRCOMP
CREATE VIEW I_MaintOrderOperComp AS
SELECT
MaintenanceOrder,
MaintenanceOrderOperation,
MaintenanceOrderSubOperation,
MaintOrderComponentInternalID,
MaintenanceOrderComponent,
Reservation,
ReservationItem,
ReservationType,
Material,
MaterialGroup,
ComponentDescription,
RequirementQuantityInBaseUnit,
BaseUnit,
MaintOrderCompDebitCreditCode,
Plant,
StorageLocation,
MaintOrderRoutingNumber,
MaintOrderOperationCounter,
MaintComponentItemCategory AS ItemCategory,
PurchaseRequisition,
PurchaseRequisitionItem,
PurReqnOrResvnGeneration,
MaterialCompIsProcuredDirectly,
Supplier,
cast( case when IsDeleted = '' then IsDeleted else coalesce( _StatusObjectActiveStatus[ 1: StatusCode = 'I0013' ].StatusIsActive, '' ) end as xloek ) as IsDeleted AS StatusIsActiveendasxloekasIsDeleted,
QuantityWithdrawnInBaseUnit,
PerformancePeriodStartDate,
PerformancePeriodStartTime,
PerformancePeriodEndDate,
PerformancePeriodEndTime,
LeanServiceDuration,
LeanServiceDurationUnit,
MaintOrdOpComponentCurrency,
DistributionFunction,
SrvcSchedgIsAlignedWthOpWrkCtr,
OverallLimitAmount,
ExpectedOverallLimitAmount,
RqmtDateIsEnteredManually,
FldLogsDelivIsHeldOnShore,
FldLogsSupplyProcess
FROM I_MaintenanceOrderComponent_2
LEFT OUTER JOIN I_MaintOrderOperTechObj AS _MaintenanceOrderOperation ON MaintenanceOrder = _MaintenanceOrderOperation.MaintenanceOrder AND MaintenanceOrderOperation = _MaintenanceOrderOperation.MaintenanceOrderOperation -- association [1..1]
LEFT OUTER JOIN I_MaintOrderTechObj AS _MaintenanceOrder ON MaintenanceOrder = _MaintenanceOrder.MaintenanceOrder -- association [1..1]
LEFT OUTER JOIN I_StatusObjectActiveStatus AS _StatusObjectActiveStatus ON MaintOrderComponentInternalID = _StatusObjectActiveStatus.StatusObject -- association [0..*]
;
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