I_MaintenanceOrderConfTP

DDL: I_MAINTENANCEORDERCONFTP SQL: IMAINTORDCONFTP Type: view TRANSACTIONAL

Maintenance Order Confirmation

I_MaintenanceOrderConfTP is a Transactional CDS View that provides data about "Maintenance Order Confirmation" in SAP S/4HANA. It reads from 1 data source (I_MaintenanceOrderConfirmation) and exposes 88 fields with key fields MaintOrderConf, MaintOrderConfCntrValue. It has 16 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_MaintenanceOrderConfirmation Document from

Associations (16)

CardinalityTargetAliasCondition
[0..*] I_MaintOrdConfGoodsMovementTP _MaintOrdConfGoodsMovementTP _MaintOrdConfGoodsMovementTP.MaintOrderConf = $projection.MaintOrderConf and _MaintOrdConfGoodsMovementTP.MaintOrderConfCntrValue = $projection.MaintOrderConfCntrValue
[0..1] I_WorkCenter _ActualWorkCenter _ActualWorkCenter.WorkCenterInternalID = $projection.WorkCenterInternalID and _ActualWorkCenter.WorkCenterTypeCode = 'A'
[0..1] I_Indicator _IsReversed _IsReversed.IndicatorValue = $projection.IsReversed
[0..1] I_Indicator _IsReversal _IsReversal.IndicatorValue = $projection.IsReversal
[0..1] I_Indicator _IsFinalConfirmation _IsFinalConfirmation.IndicatorValue = $projection.IsFinalConfirmation
[0..1] I_Indicator _OpenReservationsIsCleared _OpenReservationsIsCleared.IndicatorValue = $projection.OpenReservationsIsCleared
[0..1] I_Indicator _NoFurtherWorkQuantityIsExpd _NoFurtherWorkQuantityIsExpd.IndicatorValue = $projection.NoFurtherWorkQuantityIsExpd
[0..1] I_Indicator _LongTextExists _LongTextExists.IndicatorValue = $projection.LongTextExists --
[0..1] I_MaintenanceOrder _MaintenanceOrder _MaintenanceOrder.MaintenanceOrder = $projection.MaintenanceOrder
[0..1] I_User _EnteredByUser _EnteredByUser.UserID = $projection.EnteredByUser
[0..1] I_User _LastChangeByUser _LastChangeByUser.UserID = $projection.LastChangedByUser
[0..1] I_VarianceReason _VarianceReason $projection.Plant = _VarianceReason.Plant and $projection.VarianceReasonCode = _VarianceReason.VarianceReasonCode
[0..1] I_Language _Language _Language.Language = $projection.Language
[1..*] I_MaintOrdConfMessageTP _MaintOrdConfMessageTP _MaintOrdConfMessageTP.MaintOrderConf = $projection.MaintOrderConf and _MaintOrdConfMessageTP.MaintOrderConfCntrValue = $projection.MaintOrderConfCntrValue -- Extensions, do not expose as association:
[0..1] E_MaintenanceOrder _MaintenanceOrderExtension $projection.MaintenanceOrder = _MaintenanceOrderExtension.MaintenanceOrder
[0..1] E_MaintenanceOrderConfirmation _MaintOrdConfExtension Document.MaintOrderConf = _MaintOrdConfExtension.MaintOrderConf and Document.MaintOrderConfCntrValue = _MaintOrdConfExtension.MaintOrderConfCntrValue

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IMAINTORDCONFTP view
EndUserText.label Maintenance Order Confirmation view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.writeDraftPersistence MAINTORDCONF_D view
ObjectModel.draftEnabled true view
VDM.viewType #TRANSACTIONAL view
AccessControl.authorizationCheck #CHECK view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view

Fields (88)

KeyFieldSource TableSource FieldDescription
KEY MaintOrderConf I_MaintenanceOrderConfirmation MaintOrderConf
KEY MaintOrderConfCntrValue I_MaintenanceOrderConfirmation MaintOrderConfCntrValue Counter
MaintOrderConfForEdit I_MaintenanceOrderConfirmation MaintOrderConf
MaintOrderConfCntrValueForEdit I_MaintenanceOrderConfirmation MaintOrderConfCntrValue Counter
MaintOrderConfirmationEntryDte I_MaintenanceOrderConfirmation MaintOrderConfirmationEntryDte
MaintOrderOperationCounter I_MaintenanceOrderConfirmation MaintOrderOperationCounter Counter
EnteredByUser I_MaintenanceOrderConfirmation EnteredByUser
LastChangeDate I_MaintenanceOrderConfirmation LastChangeDate Time Stamp
LastChangedByUser I_MaintenanceOrderConfirmation LastChangedByUser User Name
PostingDate I_MaintenanceOrderConfirmation PostingDate Posting Date for GR
WorkCenterInternalID I_MaintenanceOrderConfirmation WorkCenterInternalID Work Center
ConfirmationText I_MaintenanceOrderConfirmation ConfirmationText
Language I_MaintenanceOrderConfirmation Language Report Text Language
LongTextExists I_MaintenanceOrderConfirmation LongTextExists LgText ID
ActualWorkQuantity I_MaintenanceOrderConfirmation ActualWorkQuantity Actual work
ActualWorkQuantityUnit I_MaintenanceOrderConfirmation ActualWorkQuantityUnit
ActualWorkQtyInExternalUnit
ActualWorkExternalQuantityUnit ActualWorkExternalQuantityUnit
ActivityType I_MaintenanceOrderConfirmation ActivityType Activity Type
ActualDuration I_MaintenanceOrderConfirmation ActualDuration
ActualDurationUnit I_MaintenanceOrderConfirmation ActualDurationUnit
EmployeeWageType I_MaintenanceOrderConfirmation EmployeeWageType Wage type
ConfirmationYieldQuantity I_MaintenanceOrderConfirmation ConfirmationYieldQuantity
ConfirmationScrapQuantity I_MaintenanceOrderConfirmation ConfirmationScrapQuantity
ConfirmationUnit I_MaintenanceOrderConfirmation ConfirmationUnit
VarianceReasonCode I_MaintenanceOrderConfirmation VarianceReasonCode Reason
PersonnelNumber I_MaintenanceOrderConfirmation PersonnelNumber Personnel No.
OperationConfirmedStartDate I_MaintenanceOrderConfirmation OperationConfirmedStartDate
OperationConfirmedStartTime I_MaintenanceOrderConfirmation OperationConfirmedStartTime
MaintOrdOpWrkExecStartDateTime I_MaintenanceOrderConfirmation MaintOrdOpWrkExecStartDateTime
OperationConfirmedEndDate I_MaintenanceOrderConfirmation OperationConfirmedEndDate
OperationConfirmedEndTime I_MaintenanceOrderConfirmation OperationConfirmedEndTime
MaintOrdOpWrkExecEndDateTime I_MaintenanceOrderConfirmation MaintOrdOpWrkExecEndDateTime
ActyConfFcstdEndDate I_MaintenanceOrderConfirmation ActyConfFcstdEndDate
ActyConfFcstdEndTime I_MaintenanceOrderConfirmation ActyConfFcstdEndTime
MaintOrdOpFcstdEndDateTime I_MaintenanceOrderConfirmation MaintOrdOpFcstdEndDateTime
AddressTimeZone I_MaintenanceOrderConfirmation AddressTimeZone Time Zone
UserEnteredTimeZone I_MaintenanceOrderConfirmation UserEnteredTimeZone
PlantTimeZone I_MaintenanceOrderConfirmation PlantTimeZone Time Zone
IsFinalConfirmation I_MaintenanceOrderConfirmation IsFinalConfirmation
OpenReservationsIsCleared I_MaintenanceOrderConfirmation OpenReservationsIsCleared
MaintenanceOrder I_MaintenanceOrderConfirmation MaintenanceOrder Order
MaintenanceOrderDesc
MaintenanceOrderOperation I_MaintenanceOrderConfirmation MaintenanceOrderOperation Suboperation
OperationDescription
MaintenanceOrderSubOperation I_MaintenanceOrderConfirmation MaintenanceOrderSubOperation Suboperation
RemainingWorkQuantity I_MaintenanceOrderConfirmation RemainingWorkQuantity
RemainingWorkQuantityUnit I_MaintenanceOrderConfirmation RemainingWorkQuantityUnit
RemainingWorkQtyInExternalUnit
RemainingWorkExtQuantityUnit RemainingWorkExtQuantityUnit
NoFurtherWorkQuantityIsExpd I_MaintenanceOrderConfirmation NoFurtherWorkQuantityIsExpd
IsReversed I_MaintenanceOrderConfirmation IsReversed Reversed?
IsReversal I_MaintenanceOrderConfirmation IsReversal Reversal doc.
ConfirmationReworkQuantity I_MaintenanceOrderConfirmation ConfirmationReworkQuantity
MaintOrderConfirmationEntryTme I_MaintenanceOrderConfirmation MaintOrderConfirmationEntryTme
AccountingIndicatorCode I_MaintenanceOrderConfirmation AccountingIndicatorCode AcctIndicator
EnteredByExternalUser I_MaintenanceOrderConfirmation EnteredByExternalUser
ConfirmationExternalEntryDate I_MaintenanceOrderConfirmation ConfirmationExternalEntryDate
ConfirmationExternalEntryTime I_MaintenanceOrderConfirmation ConfirmationExternalEntryTime
Plant I_MaintenanceOrderConfirmation Plant Valuation Area
FactoryCalendar I_MaintenanceOrderConfirmation FactoryCalendar Factory Calendar
MaintOrderOperationInternalID I_MaintenanceOrderConfirmation MaintOrderOperationInternalID Object number
WorkCenter
MaintOrderConfUploadRowNumber
MaintOrdConfSourceApplication
MaintOrdConfUploadUUID
MaintOrderConfUploadMsgType
MaintOrdConfUploadMsgCritlty
MaintJobConfirmationScenario MaintJobConfirmationScenario
MaintJobConfScenarioText MaintJobConfScenarioText
_MaintOrdConfGoodsMovementTP _MaintOrdConfGoodsMovementTP
_Plant _Plant
_ActualWorkCenter _ActualWorkCenter
_MaintenanceOrder I_MaintenanceOrderConfirmation _MaintenanceOrder
_EnteredByUser _EnteredByUser
_LastChangeByUser _LastChangeByUser
_LongTextExists _LongTextExists
_IsReversed _IsReversed
_IsReversal _IsReversal
_IsFinalConfirmation _IsFinalConfirmation
_OpenReservationsIsCleared _OpenReservationsIsCleared
_NoFurtherWorkQuantityIsExpd _NoFurtherWorkQuantityIsExpd
_ActualWorkExtQuantityUnit _ActualWorkExtQuantityUnit
_RemainingWorkExtQuantityUnit _RemainingWorkExtQuantityUnit
_VarianceReason _VarianceReason
_PersonnelName I_MaintenanceOrderConfirmation _PersonnelName
_Language _Language
_MaintOrdConfMessageTP _MaintOrdConfMessageTP

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_MaintenanceOrderConfTP.
-- 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: IMAINTORDCONFTP

CREATE VIEW I_MaintenanceOrderConfTP AS
SELECT
  Document.MaintOrderConf AS MaintOrderConf,
  Document.MaintOrderConfCntrValue AS MaintOrderConfCntrValue,
  Document.MaintOrderConf AS MaintOrderConfForEdit,
  Document.MaintOrderConfCntrValue AS MaintOrderConfCntrValueForEdit,
  Document.MaintOrderConfirmationEntryDte AS MaintOrderConfirmationEntryDte,
  Document.MaintOrderOperationCounter AS MaintOrderOperationCounter,
  Document.EnteredByUser AS EnteredByUser,
  Document.LastChangeDate AS LastChangeDate,
  Document.LastChangedByUser AS LastChangedByUser,
  Document.PostingDate AS PostingDate,
  Document.WorkCenterInternalID AS WorkCenterInternalID,
  Document.ConfirmationText AS ConfirmationText,
  Document.Language AS Language,
  Document.LongTextExists AS LongTextExists,
  Document.ActualWorkQuantity AS ActualWorkQuantity,
  Document.ActualWorkQuantityUnit AS ActualWorkQuantityUnit,
  cast( 0 as ismnw_2 ) AS ActualWorkQtyInExternalUnit,
  ActualWorkExternalQuantityUnit,
  Document.ActivityType AS ActivityType,
  Document.ActualDuration AS ActualDuration,
  Document.ActualDurationUnit AS ActualDurationUnit,
  Document.EmployeeWageType AS EmployeeWageType,
  Document.ConfirmationYieldQuantity AS ConfirmationYieldQuantity,
  Document.ConfirmationScrapQuantity AS ConfirmationScrapQuantity,
  Document.ConfirmationUnit AS ConfirmationUnit,
  Document.VarianceReasonCode AS VarianceReasonCode,
  Document.PersonnelNumber AS PersonnelNumber,
  Document.OperationConfirmedStartDate AS OperationConfirmedStartDate,
  Document.OperationConfirmedStartTime AS OperationConfirmedStartTime,
  Document.MaintOrdOpWrkExecStartDateTime AS MaintOrdOpWrkExecStartDateTime,
  Document.OperationConfirmedEndDate AS OperationConfirmedEndDate,
  Document.OperationConfirmedEndTime AS OperationConfirmedEndTime,
  Document.MaintOrdOpWrkExecEndDateTime AS MaintOrdOpWrkExecEndDateTime,
  Document.ActyConfFcstdEndDate AS ActyConfFcstdEndDate,
  Document.ActyConfFcstdEndTime AS ActyConfFcstdEndTime,
  Document.MaintOrdOpFcstdEndDateTime AS MaintOrdOpFcstdEndDateTime,
  Document.AddressTimeZone AS AddressTimeZone,
  Document.UserEnteredTimeZone AS UserEnteredTimeZone,
  Document.PlantTimeZone AS PlantTimeZone,
  Document.IsFinalConfirmation AS IsFinalConfirmation,
  Document.OpenReservationsIsCleared AS OpenReservationsIsCleared,
  Document.MaintenanceOrder AS MaintenanceOrder,
  Document._MaintenanceOrder.MaintenanceOrderDesc AS MaintenanceOrderDesc,
  Document.MaintenanceOrderOperation AS MaintenanceOrderOperation,
  Document._MaintenanceOrderOperation.OperationDescription AS OperationDescription,
  Document.MaintenanceOrderSubOperation AS MaintenanceOrderSubOperation,
  Document.RemainingWorkQuantity AS RemainingWorkQuantity,
  Document.RemainingWorkQuantityUnit AS RemainingWorkQuantityUnit,
  cast( 0 as remnw_2 ) AS RemainingWorkQtyInExternalUnit,
  RemainingWorkExtQuantityUnit,
  Document.NoFurtherWorkQuantityIsExpd AS NoFurtherWorkQuantityIsExpd,
  Document.IsReversed AS IsReversed,
  Document.IsReversal AS IsReversal,
  Document.ConfirmationReworkQuantity AS ConfirmationReworkQuantity,
  Document.MaintOrderConfirmationEntryTme AS MaintOrderConfirmationEntryTme,
  Document.AccountingIndicatorCode AS AccountingIndicatorCode,
  Document.EnteredByExternalUser AS EnteredByExternalUser,
  Document.ConfirmationExternalEntryDate AS ConfirmationExternalEntryDate,
  Document.ConfirmationExternalEntryTime AS ConfirmationExternalEntryTime,
  Document.Plant AS Plant,
  Document.FactoryCalendar AS FactoryCalendar,
  Document.MaintOrderOperationInternalID AS MaintOrderOperationInternalID,
  Document._ActualWorkCenter.WorkCenter AS WorkCenter,
  cast ('' as abap.char( 10 )) AS MaintOrderConfUploadRowNumber,
  cast ('' as pm_source_appl ) AS MaintOrdConfSourceApplication,
  cast ( hextobin('00000000000000000000000000000000') as sysuuid_x16 preserving type ) AS MaintOrdConfUploadUUID,
  cast ( '' as symsgty ) AS MaintOrderConfUploadMsgType,
  cast (0 as abap.int1) AS MaintOrdConfUploadMsgCritlty,
  MaintJobConfirmationScenario,
  MaintJobConfScenarioText,
  Document._MaintenanceOrder AS _MaintenanceOrder,
  Document._PersonnelName AS _PersonnelName
FROM I_MaintenanceOrderConfirmation AS Document
LEFT OUTER JOIN I_MaintOrdConfGoodsMovementTP AS _MaintOrdConfGoodsMovementTP ON _MaintOrdConfGoodsMovementTP.MaintOrderConf = MaintOrderConf AND _MaintOrdConfGoodsMovementTP.MaintOrderConfCntrValue = MaintOrderConfCntrValue  -- association [0..*]
LEFT OUTER JOIN I_WorkCenter AS _ActualWorkCenter ON _ActualWorkCenter.WorkCenterInternalID = WorkCenterInternalID AND _ActualWorkCenter.WorkCenterTypeCode = 'A'  -- association [0..1]
LEFT OUTER JOIN I_Indicator AS _IsReversed ON _IsReversed.IndicatorValue = IsReversed  -- association [0..1]
LEFT OUTER JOIN I_Indicator AS _IsReversal ON _IsReversal.IndicatorValue = IsReversal  -- association [0..1]
LEFT OUTER JOIN I_Indicator AS _IsFinalConfirmation ON _IsFinalConfirmation.IndicatorValue = IsFinalConfirmation  -- association [0..1]
LEFT OUTER JOIN I_Indicator AS _OpenReservationsIsCleared ON _OpenReservationsIsCleared.IndicatorValue = OpenReservationsIsCleared  -- association [0..1]
LEFT OUTER JOIN I_Indicator AS _NoFurtherWorkQuantityIsExpd ON _NoFurtherWorkQuantityIsExpd.IndicatorValue = NoFurtherWorkQuantityIsExpd  -- association [0..1]
LEFT OUTER JOIN I_Indicator AS _LongTextExists ON _LongTextExists.IndicatorValue = LongTextExists  -- association [0..1]
LEFT OUTER JOIN I_MaintenanceOrder AS _MaintenanceOrder ON _MaintenanceOrder.MaintenanceOrder = MaintenanceOrder  -- association [0..1]
LEFT OUTER JOIN I_User AS _EnteredByUser ON _EnteredByUser.UserID = EnteredByUser  -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangeByUser ON _LastChangeByUser.UserID = LastChangedByUser  -- association [0..1]
LEFT OUTER JOIN I_VarianceReason AS _VarianceReason ON Plant = _VarianceReason.Plant AND VarianceReasonCode = _VarianceReason.VarianceReasonCode  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON _Language.Language = Language  -- association [0..1]
LEFT OUTER JOIN I_MaintOrdConfMessageTP AS _MaintOrdConfMessageTP ON _MaintOrdConfMessageTP.MaintOrderConf = MaintOrderConf AND _MaintOrdConfMessageTP.MaintOrderConfCntrValue = MaintOrderConfCntrValue  -- association [1..*]
LEFT OUTER JOIN E_MaintenanceOrder AS _MaintenanceOrderExtension ON MaintenanceOrder = _MaintenanceOrderExtension.MaintenanceOrder  -- association [0..1]
LEFT OUTER JOIN E_MaintenanceOrderConfirmation AS _MaintOrdConfExtension ON Document.MaintOrderConf = _MaintOrdConfExtension.MaintOrderConf AND Document.MaintOrderConfCntrValue = _MaintOrdConfExtension.MaintOrderConfCntrValue  -- association [0..1]
;