I_MaintOrderHistTechObj

DDL: I_MAINTORDERHISTTECHOBJ SQL: IMNTORDHISTECOBJ Type: view COMPOSITE

Maintenance Order History w/ Techn. Obj.

I_MaintOrderHistTechObj is a Composite CDS View that provides data about "Maintenance Order History w/ Techn. Obj." in SAP S/4HANA. It reads from 1 data source (I_MaintenanceOrderHistory) and exposes 71 fields with key field MaintenanceOrder. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_MaintenanceOrderHistory I_MaintenanceOrderHistory from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_MaintOrderOperTechObj _MaintenanceOrderOperation $projection.MaintenanceOrder = _MaintenanceOrderOperation.MaintenanceOrder
[0..1] I_TechnicalObject _TechnicalObject _TechnicalObject.TechnicalObject = $projection.TechnicalObject and _TechnicalObject.TechObjIsEquipOrFuncnlLoc = $projection.TechObjIsEquipOrFuncnlLoc
[0..1] I_TechObjIsEquipOrFuncnlLoc _TechObjIsEquipOrFuncnlLoc _TechObjIsEquipOrFuncnlLoc.TechObjIsEquipOrFuncnlLoc = $projection.TechObjIsEquipOrFuncnlLoc

Annotations (13)

NameValueLevelField
EndUserText.label Maintenance Order History w/ Techn. Obj. view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName IMNTORDHISTECOBJ view
ObjectModel.representativeKey MaintenanceOrder view
ObjectModel.compositionRoot true view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled false view
ObjectModel.deleteEnabled false view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view

Fields (71)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceOrder I_MaintenanceOrderHistory MaintenanceOrder Order
CreatedByUser I_MaintenanceOrderHistory CreatedByUser User Name
CreationDate I_MaintenanceOrderHistory CreationDate Time Stamp
LastChangedByUser I_MaintenanceOrderHistory LastChangedByUser User Name
LastChangeDate I_MaintenanceOrderHistory LastChangeDate Time Stamp
IsMarkedForDeletion I_MaintenanceOrderHistory IsMarkedForDeletion Purch.org. data
MaintPriorityType I_MaintenanceOrderHistory MaintPriorityType PriorityType
MaintPriority I_MaintenanceOrderHistory MaintPriority Priority
MaintenanceProcessingPhase I_MaintenanceOrderHistory MaintenanceProcessingPhase Phase
MaintObjectLocAcctAssgmtNmbr I_MaintenanceOrderHistory MaintObjectLocAcctAssgmtNmbr Loc/AccAssmt
MaintenanceNotification I_MaintenanceOrderHistory MaintenanceNotification Notification
LeadingOrder I_MaintenanceOrderHistory LeadingOrder Last order
Equipment I_MaintenanceOrderHistory Equipment Equipment check
MaintenanceItem I_MaintenanceOrderHistory MaintenanceItem MaintItem
Assembly I_MaintenanceOrderHistory Assembly Pegged Reqmt
SerialNumber I_MaintenanceOrderHistory SerialNumber Serial Number
MaintenancePlanningPlant I_MaintenanceOrderHistory MaintenancePlanningPlant Planning Plant
MaintenancePlannerGroup I_MaintenanceOrderHistory MaintenancePlannerGroup Planner Group
MaintenanceRevision I_MaintenanceOrderHistory MaintenanceRevision Revision
MaintenancePlan I_MaintenanceOrderHistory MaintenancePlan MaintenancePlan
MaintenanceOrderType I_MaintenanceOrderHistory MaintenanceOrderType Order Type
MaintenanceOrderCategory I_MaintenanceOrderHistory MaintenanceOrderCategory
MaintenanceOrderDesc I_MaintenanceOrderHistory MaintenanceOrderDesc Description
MaintOrdBasicStartDate I_MaintenanceOrderHistory MaintOrdBasicStartDate Bas. Start Date
MaintOrdBasicEndDate I_MaintenanceOrderHistory MaintOrdBasicEndDate Basic fin. date
ActualStartDate I_MaintenanceOrderHistory ActualStartDate Actual Start
ConfirmedEndDate I_MaintenanceOrderHistory ConfirmedEndDate Actual Finish
MaintenanceOrderInternalID I_MaintenanceOrderHistory MaintenanceOrderInternalID Object number
BillOfOperationsType I_MaintenanceOrderHistory BillOfOperationsType Task List Type
BillOfOperations I_MaintenanceOrderHistory BillOfOperations
BillOfOperationsVariant I_MaintenanceOrderHistory BillOfOperationsVariant Group Counter
WorkCenterInternalID I_MaintenanceOrderHistory WorkCenterInternalID Work Center
WorkCenterTypeCode I_MaintenanceOrderHistory WorkCenterTypeCode Object Type
Plant I_MaintenanceOrderHistory Plant Valuation Area
MaintOrdMainWorkCenter
MaintOrdMainWorkCenterPlant
BusinessArea I_MaintenanceOrderHistory BusinessArea Business Area
MaintOrdPersonResponsible
MaintOrderReferenceDate I_MaintenanceOrderHistory MaintOrderReferenceDate Reference Date
MaintenanceOrderPlanningCode I_MaintenanceOrderHistory MaintenanceOrderPlanningCode OrderPlanInd.
OperationSystemCondition I_MaintenanceOrderHistory OperationSystemCondition SystemCondition
MaintenanceActivityType I_MaintenanceOrderHistory MaintenanceActivityType MaintActivType
ControllingArea I_MaintenanceOrderHistory ControllingArea Controlling Area
AuthorizationGroup I_MaintenanceOrderHistory AuthorizationGroup AuthorizGroup
MaintenancePlant I_MaintenanceOrderHistory MaintenancePlant Plant
_Equipment I_MaintenanceOrderHistory _Equipment
_LocationAccountAssignment I_MaintenanceOrderHistory _LocationAccountAssignment
_MaintenanceNotification I_MaintenanceOrderHistory _MaintenanceNotification
_MaintenanceOrderCategory I_MaintenanceOrderHistory _MaintenanceOrderCategory
_MaintenanceOrderType I_MaintenanceOrderHistory _MaintenanceOrderType
_MaintenanceOrderComponent I_MaintenanceOrderHistory _MaintenanceOrderComponent
_MaintenanceOrderOperation _MaintenanceOrderOperation
_MaintenanceOrderPhase I_MaintenanceOrderHistory _MaintenanceOrderPhase
_MaintenancePlan I_MaintenanceOrderHistory _MaintenancePlan
_MaintenancePriority I_MaintenanceOrderHistory _MaintenancePriority
_MaintenancePriorityType I_MaintenanceOrderHistory _MaintenancePriorityType
_StatusObject I_MaintenanceOrderHistory _StatusObject
_TechnicalObject _TechnicalObject
_TechObjIsEquipOrFuncnlLoc _TechObjIsEquipOrFuncnlLoc
_Plant _Plant
_MainWorkCenter _MainWorkCenter
_BillOfOperationsType _BillOfOperationsType
_BillOfOperationsGroup _BillOfOperationsGroup
_BusinessArea I_MaintenanceOrderHistory _BusinessArea
_StatusObjectStatus I_MaintenanceOrderHistory _StatusObjectStatus
_MaintenancePlannerGroup I_MaintenanceOrderHistory _MaintenancePlannerGroup
_MaintenancePlanningPlant I_MaintenanceOrderHistory _MaintenancePlanningPlant
_MaintenanceActivityType I_MaintenanceOrderHistory _MaintenanceActivityType
_Assembly I_MaintenanceOrderHistory _Assembly
_OperationSystemCondition I_MaintenanceOrderHistory _OperationSystemCondition
_MaintenanceItem I_MaintenanceOrderHistory _MaintenanceItem

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_MaintOrderHistTechObj.
-- 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: IMNTORDHISTECOBJ

CREATE VIEW I_MaintOrderHistTechObj AS
SELECT
  I_MaintenanceOrderHistory.MaintenanceOrder AS MaintenanceOrder,
  I_MaintenanceOrderHistory.CreatedByUser AS CreatedByUser,
  I_MaintenanceOrderHistory.CreationDate AS CreationDate,
  I_MaintenanceOrderHistory.LastChangedByUser AS LastChangedByUser,
  I_MaintenanceOrderHistory.LastChangeDate AS LastChangeDate,
  I_MaintenanceOrderHistory.IsMarkedForDeletion AS IsMarkedForDeletion,
  I_MaintenanceOrderHistory.MaintPriorityType AS MaintPriorityType,
  I_MaintenanceOrderHistory.MaintPriority AS MaintPriority,
  I_MaintenanceOrderHistory.MaintenanceProcessingPhase AS MaintenanceProcessingPhase,
  I_MaintenanceOrderHistory.MaintObjectLocAcctAssgmtNmbr AS MaintObjectLocAcctAssgmtNmbr,
  I_MaintenanceOrderHistory.MaintenanceNotification AS MaintenanceNotification,
  I_MaintenanceOrderHistory.LeadingOrder AS LeadingOrder,
  I_MaintenanceOrderHistory.Equipment AS Equipment,
  I_MaintenanceOrderHistory.MaintenanceItem AS MaintenanceItem,
  I_MaintenanceOrderHistory.Assembly AS Assembly,
  I_MaintenanceOrderHistory.SerialNumber AS SerialNumber,
  I_MaintenanceOrderHistory.MaintenancePlanningPlant AS MaintenancePlanningPlant,
  I_MaintenanceOrderHistory.MaintenancePlannerGroup AS MaintenancePlannerGroup,
  I_MaintenanceOrderHistory.MaintenanceRevision AS MaintenanceRevision,
  I_MaintenanceOrderHistory.MaintenancePlan AS MaintenancePlan,
  I_MaintenanceOrderHistory.MaintenanceOrderType AS MaintenanceOrderType,
  I_MaintenanceOrderHistory.MaintenanceOrderCategory AS MaintenanceOrderCategory,
  I_MaintenanceOrderHistory.MaintenanceOrderDesc AS MaintenanceOrderDesc,
  I_MaintenanceOrderHistory.MaintOrdBasicStartDate AS MaintOrdBasicStartDate,
  I_MaintenanceOrderHistory.MaintOrdBasicEndDate AS MaintOrdBasicEndDate,
  I_MaintenanceOrderHistory.ActualStartDate AS ActualStartDate,
  I_MaintenanceOrderHistory.ConfirmedEndDate AS ConfirmedEndDate,
  I_MaintenanceOrderHistory.MaintenanceOrderInternalID AS MaintenanceOrderInternalID,
  I_MaintenanceOrderHistory.BillOfOperationsType AS BillOfOperationsType,
  I_MaintenanceOrderHistory.BillOfOperations AS BillOfOperations,
  I_MaintenanceOrderHistory.BillOfOperationsVariant AS BillOfOperationsVariant,
  I_MaintenanceOrderHistory.WorkCenterInternalID AS WorkCenterInternalID,
  I_MaintenanceOrderHistory.WorkCenterTypeCode AS WorkCenterTypeCode,
  I_MaintenanceOrderHistory.Plant AS Plant,
  I_MaintenanceOrderHistory._MainWorkCenter.WorkCenter AS MaintOrdMainWorkCenter,
  I_MaintenanceOrderHistory._MainWorkCenter.Plant AS MaintOrdMainWorkCenterPlant,
  I_MaintenanceOrderHistory.BusinessArea AS BusinessArea,
  _MaintenancePartner[1: PartnerFunction = 'VW'].Partner AS MaintOrdPersonResponsible,
  I_MaintenanceOrderHistory.MaintOrderReferenceDate AS MaintOrderReferenceDate,
  I_MaintenanceOrderHistory.MaintenanceOrderPlanningCode AS MaintenanceOrderPlanningCode,
  I_MaintenanceOrderHistory.OperationSystemCondition AS OperationSystemCondition,
  I_MaintenanceOrderHistory.MaintenanceActivityType AS MaintenanceActivityType,
  I_MaintenanceOrderHistory.ControllingArea AS ControllingArea,
  I_MaintenanceOrderHistory.AuthorizationGroup AS AuthorizationGroup,
  I_MaintenanceOrderHistory.MaintenancePlant AS MaintenancePlant,
  I_MaintenanceOrderHistory._Equipment AS _Equipment,
  I_MaintenanceOrderHistory._LocationAccountAssignment AS _LocationAccountAssignment,
  I_MaintenanceOrderHistory._MaintenanceNotification AS _MaintenanceNotification,
  I_MaintenanceOrderHistory._MaintenanceOrderCategory AS _MaintenanceOrderCategory,
  I_MaintenanceOrderHistory._MaintenanceOrderType AS _MaintenanceOrderType,
  I_MaintenanceOrderHistory._MaintenanceOrderComponent AS _MaintenanceOrderComponent,
  I_MaintenanceOrderHistory._MaintenanceOrderPhase AS _MaintenanceOrderPhase,
  I_MaintenanceOrderHistory._MaintenancePlan AS _MaintenancePlan,
  I_MaintenanceOrderHistory._MaintenancePriority AS _MaintenancePriority,
  I_MaintenanceOrderHistory._MaintenancePriorityType AS _MaintenancePriorityType,
  I_MaintenanceOrderHistory._StatusObject AS _StatusObject,
  I_MaintenanceOrderHistory._BusinessArea AS _BusinessArea,
  I_MaintenanceOrderHistory._StatusObjectStatus AS _StatusObjectStatus,
  I_MaintenanceOrderHistory._MaintenancePlannerGroup AS _MaintenancePlannerGroup,
  I_MaintenanceOrderHistory._MaintenancePlanningPlant AS _MaintenancePlanningPlant,
  I_MaintenanceOrderHistory._MaintenanceActivityType AS _MaintenanceActivityType,
  I_MaintenanceOrderHistory._Assembly AS _Assembly,
  I_MaintenanceOrderHistory._OperationSystemCondition AS _OperationSystemCondition,
  I_MaintenanceOrderHistory._MaintenanceItem AS _MaintenanceItem
FROM I_MaintenanceOrderHistory
LEFT OUTER JOIN I_MaintOrderOperTechObj AS _MaintenanceOrderOperation ON MaintenanceOrder = _MaintenanceOrderOperation.MaintenanceOrder  -- association [0..*]
LEFT OUTER JOIN I_TechnicalObject AS _TechnicalObject ON _TechnicalObject.TechnicalObject = TechnicalObject AND _TechnicalObject.TechObjIsEquipOrFuncnlLoc = TechObjIsEquipOrFuncnlLoc  -- association [0..1]
LEFT OUTER JOIN I_TechObjIsEquipOrFuncnlLoc AS _TechObjIsEquipOrFuncnlLoc ON _TechObjIsEquipOrFuncnlLoc.TechObjIsEquipOrFuncnlLoc = TechObjIsEquipOrFuncnlLoc  -- association [0..1]
;