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 86 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 (86)

KeyFieldSource TableSource FieldDescription
KEY MaintOrderConf I_MaintenanceOrderConfirmation MaintOrderConf
KEY MaintOrderConfCntrValue I_MaintenanceOrderConfirmation MaintOrderConfCntrValue
MaintOrderConfForEdit I_MaintenanceOrderConfirmation MaintOrderConf
MaintOrderConfCntrValueForEdit I_MaintenanceOrderConfirmation MaintOrderConfCntrValue
MaintOrderConfirmationEntryDte I_MaintenanceOrderConfirmation MaintOrderConfirmationEntryDte
MaintOrderOperationCounter I_MaintenanceOrderConfirmation MaintOrderOperationCounter
EnteredByUser I_MaintenanceOrderConfirmation EnteredByUser
LastChangeDate I_MaintenanceOrderConfirmation LastChangeDate
LastChangedByUser I_MaintenanceOrderConfirmation LastChangedByUser
PostingDate I_MaintenanceOrderConfirmation PostingDate
WorkCenterInternalID I_MaintenanceOrderConfirmation WorkCenterInternalID
ConfirmationText I_MaintenanceOrderConfirmation ConfirmationText
Language I_MaintenanceOrderConfirmation Language
LongTextExists I_MaintenanceOrderConfirmation LongTextExists
ActualWorkQuantity I_MaintenanceOrderConfirmation ActualWorkQuantity
ActualWorkQuantityUnit I_MaintenanceOrderConfirmation ActualWorkQuantityUnit
ActualWorkQtyInExternalUnit
ActualWorkExternalQuantityUnit ActualWorkExternalQuantityUnit
ActivityType I_MaintenanceOrderConfirmation ActivityType
ActualDuration I_MaintenanceOrderConfirmation ActualDuration
ActualDurationUnit I_MaintenanceOrderConfirmation ActualDurationUnit
EmployeeWageType I_MaintenanceOrderConfirmation EmployeeWageType
ConfirmationYieldQuantity I_MaintenanceOrderConfirmation ConfirmationYieldQuantity
ConfirmationScrapQuantity I_MaintenanceOrderConfirmation ConfirmationScrapQuantity
ConfirmationUnit I_MaintenanceOrderConfirmation ConfirmationUnit
VarianceReasonCode I_MaintenanceOrderConfirmation VarianceReasonCode
PersonnelNumber I_MaintenanceOrderConfirmation PersonnelNumber
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
UserEnteredTimeZone I_MaintenanceOrderConfirmation UserEnteredTimeZone
PlantTimeZone I_MaintenanceOrderConfirmation PlantTimeZone
IsFinalConfirmation I_MaintenanceOrderConfirmation IsFinalConfirmation
OpenReservationsIsCleared I_MaintenanceOrderConfirmation OpenReservationsIsCleared
MaintenanceOrder I_MaintenanceOrderConfirmation MaintenanceOrder
MaintenanceOrderDesc
MaintenanceOrderOperation I_MaintenanceOrderConfirmation MaintenanceOrderOperation
OperationDescription
MaintenanceOrderSubOperation I_MaintenanceOrderConfirmation MaintenanceOrderSubOperation
RemainingWorkQuantity I_MaintenanceOrderConfirmation RemainingWorkQuantity
RemainingWorkQuantityUnit I_MaintenanceOrderConfirmation RemainingWorkQuantityUnit
RemainingWorkQtyInExternalUnit
RemainingWorkExtQuantityUnit RemainingWorkExtQuantityUnit
NoFurtherWorkQuantityIsExpd I_MaintenanceOrderConfirmation NoFurtherWorkQuantityIsExpd
IsReversed I_MaintenanceOrderConfirmation IsReversed
IsReversal I_MaintenanceOrderConfirmation IsReversal
ConfirmationReworkQuantity I_MaintenanceOrderConfirmation ConfirmationReworkQuantity
MaintOrderConfirmationEntryTme I_MaintenanceOrderConfirmation MaintOrderConfirmationEntryTme
AccountingIndicatorCode I_MaintenanceOrderConfirmation AccountingIndicatorCode
EnteredByExternalUser I_MaintenanceOrderConfirmation EnteredByExternalUser
ConfirmationExternalEntryDate I_MaintenanceOrderConfirmation ConfirmationExternalEntryDate
ConfirmationExternalEntryTime I_MaintenanceOrderConfirmation ConfirmationExternalEntryTime
Plant I_MaintenanceOrderConfirmation Plant
FactoryCalendar I_MaintenanceOrderConfirmation FactoryCalendar
MaintOrderOperationInternalID I_MaintenanceOrderConfirmation MaintOrderOperationInternalID
WorkCenter
MaintOrderConfUploadRowNumber
MaintOrdConfSourceApplication
MaintOrdConfUploadUUID
MaintOrderConfUploadMsgType
MaintOrdConfUploadMsgCritlty
_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
@AbapCatalog.sqlViewName: 'IMAINTORDCONFTP'
@EndUserText.label: 'Maintenance Order Confirmation'
@ObjectModel.compositionRoot: true
@ObjectModel.transactionalProcessingEnabled: true
@ObjectModel.writeDraftPersistence: 'MAINTORDCONF_D'
@ObjectModel.draftEnabled:true
@VDM.viewType: #TRANSACTIONAL
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.createEnabled: true
@ObjectModel.updateEnabled: true
@ObjectModel.deleteEnabled: true
@ObjectModel.semanticKey:  [ 'MaintOrderConf', 'MaintOrderConfCntrValue' ]

@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #XL


define view I_MaintenanceOrderConfTP
  as select from I_MaintenanceOrderConfirmation as Document
  association [0..*] to I_MaintOrdConfGoodsMovementTP  as _MaintOrdConfGoodsMovementTP on  _MaintOrdConfGoodsMovementTP.MaintOrderConf          = $projection.MaintOrderConf
                                                                                       and _MaintOrdConfGoodsMovementTP.MaintOrderConfCntrValue = $projection.MaintOrderConfCntrValue
  association [0..1] to I_WorkCenter                   as _ActualWorkCenter            on  _ActualWorkCenter.WorkCenterInternalID = $projection.WorkCenterInternalID
                                                                                       and _ActualWorkCenter.WorkCenterTypeCode   = 'A'
  association [0..1] to I_Indicator                    as _IsReversed                  on  _IsReversed.IndicatorValue = $projection.IsReversed
  association [0..1] to I_Indicator                    as _IsReversal                  on  _IsReversal.IndicatorValue = $projection.IsReversal
  association [0..1] to I_Indicator                    as _IsFinalConfirmation         on  _IsFinalConfirmation.IndicatorValue = $projection.IsFinalConfirmation
  association [0..1] to I_Indicator                    as _OpenReservationsIsCleared   on  _OpenReservationsIsCleared.IndicatorValue = $projection.OpenReservationsIsCleared
  association [0..1] to I_Indicator                    as _NoFurtherWorkQuantityIsExpd on  _NoFurtherWorkQuantityIsExpd.IndicatorValue = $projection.NoFurtherWorkQuantityIsExpd
  association [0..1] to I_Indicator                    as _LongTextExists              on  _LongTextExists.IndicatorValue = $projection.LongTextExists
  --association [0..1] to I_MaintenanceOrder            as _MaintenanceOrder            on  _MaintenanceOrder.MaintenanceOrder = $projection.MaintenanceOrder
  association [0..1] to I_User                         as _EnteredByUser               on  _EnteredByUser.UserID = $projection.EnteredByUser
  association [0..1] to I_User                         as _LastChangeByUser            on  _LastChangeByUser.UserID = $projection.LastChangedByUser
  association [0..1] to I_VarianceReason               as _VarianceReason              on  $projection.Plant              = _VarianceReason.Plant
                                                                                       and $projection.VarianceReasonCode = _VarianceReason.VarianceReasonCode
  association [0..1] to I_Language                     as _Language                    on  _Language.Language = $projection.Language
  association [1..*] to I_MaintOrdConfMessageTP        as _MaintOrdConfMessageTP       on
                                                                                           //   _MaintOrdConfMessageTP.MaintenanceOrder          = $projection.MaintenanceOrder

                                                                                           //                                                                                      and _MaintOrdConfMessageTP.MaintenanceOrderOperation = $projection.MaintenanceOrderOperation

                                                                                           _MaintOrdConfMessageTP.MaintOrderConf          = $projection.MaintOrderConf
                                                                                       and _MaintOrdConfMessageTP.MaintOrderConfCntrValue = $projection.MaintOrderConfCntrValue

  -- Extensions, do not expose as association:
  association [0..1] to E_MaintenanceOrder             as _MaintenanceOrderExtension   on  $projection.MaintenanceOrder = _MaintenanceOrderExtension.MaintenanceOrder
  association [0..1] to E_MaintenanceOrderConfirmation as _MaintOrdConfExtension       on  Document.MaintOrderConf          = _MaintOrdConfExtension.MaintOrderConf
                                                                                       and Document.MaintOrderConfCntrValue = _MaintOrdConfExtension.MaintOrderConfCntrValue
{
  key Document.MaintOrderConf,

  key Document.MaintOrderConfCntrValue,

      Document.MaintOrderConf                                                              as MaintOrderConfForEdit,
      Document.MaintOrderConfCntrValue                                                     as MaintOrderConfCntrValueForEdit,

      Document.MaintOrderConfirmationEntryDte,

      Document.MaintOrderOperationCounter,

      Document.EnteredByUser,

      Document.LastChangeDate,

      Document.LastChangedByUser,

      Document.PostingDate,

      Document.WorkCenterInternalID,

      Document.ConfirmationText,

      Document.Language,

      Document.LongTextExists,

      Document.ActualWorkQuantity,

      Document.ActualWorkQuantityUnit,

      @Semantics.quantity.unitOfMeasure: 'ActualWorkExternalQuantityUnit'
      cast( 0 as ismnw_2 )                                                                 as ActualWorkQtyInExternalUnit,

      ActualWorkExternalQuantityUnit,

      Document.ActivityType,

      Document.ActualDuration,

      Document.ActualDurationUnit,

      Document.EmployeeWageType,

      Document.ConfirmationYieldQuantity,

      Document.ConfirmationScrapQuantity,

      Document.ConfirmationUnit,

      Document.VarianceReasonCode,

      Document.PersonnelNumber,

      Document.OperationConfirmedStartDate,

      Document.OperationConfirmedStartTime,

      @Semantics.dateTime: true
      Document.MaintOrdOpWrkExecStartDateTime,

      Document.OperationConfirmedEndDate,

      Document.OperationConfirmedEndTime,

      @Semantics.dateTime: true
      Document.MaintOrdOpWrkExecEndDateTime,

      Document.ActyConfFcstdEndDate,

      Document.ActyConfFcstdEndTime,

      @Semantics.dateTime: true
      Document.MaintOrdOpFcstdEndDateTime,

      @Semantics.timeZone: true
      Document.AddressTimeZone,

      @Semantics.timeZone: true
      Document.UserEnteredTimeZone,

      @Semantics.timeZone: true
      Document.PlantTimeZone,

      Document.IsFinalConfirmation,

      Document.OpenReservationsIsCleared,

      Document.MaintenanceOrder,

      Document._MaintenanceOrder.MaintenanceOrderDesc,

      Document.MaintenanceOrderOperation,

      Document._MaintenanceOrderOperation.OperationDescription,

      Document.MaintenanceOrderSubOperation,

      Document.RemainingWorkQuantity,

      Document.RemainingWorkQuantityUnit,

      @Semantics.quantity.unitOfMeasure: 'RemainingWorkExtQuantityUnit'
      cast( 0 as remnw_2 )                                                                 as RemainingWorkQtyInExternalUnit,

      RemainingWorkExtQuantityUnit,

      Document.NoFurtherWorkQuantityIsExpd,

      Document.IsReversed,

      Document.IsReversal,

      //      Document.CancldMaintOrderConfCntrValue,


      Document.ConfirmationReworkQuantity,

      Document.MaintOrderConfirmationEntryTme,

      Document.AccountingIndicatorCode,

      Document.EnteredByExternalUser,

      Document.ConfirmationExternalEntryDate,

      Document.ConfirmationExternalEntryTime,

      Document.Plant,

      Document.FactoryCalendar,

      Document.MaintOrderOperationInternalID,

      Document._ActualWorkCenter.WorkCenter,

      //cast('' as abap.char( 300 ))                                                         as SystemMessageText,


      cast ('' as abap.char( 10 ))                                                         as MaintOrderConfUploadRowNumber,

      //cast ('' as abap.char( 10 ))                                                         as NumberOfRecords,


      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,

      @ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
      _MaintOrdConfGoodsMovementTP,

      _Plant,

      _ActualWorkCenter,

      Document._MaintenanceOrder,

      _EnteredByUser,

      _LastChangeByUser,

      _LongTextExists,

      _IsReversed,

      _IsReversal,

      _IsFinalConfirmation,

      _OpenReservationsIsCleared,

      _NoFurtherWorkQuantityIsExpd,

      _ActualWorkExtQuantityUnit,

      _RemainingWorkExtQuantityUnit,

      _VarianceReason,

      Document._PersonnelName,

      _Language,

      @ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
      _MaintOrdConfMessageTP


}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MAINTENANCEORDER",
"I_MAINTENANCEORDERCONFIRMATION",
"I_MAINTENANCEORDEROPERATION",
"I_WORKCENTER"
],
"ASSOCIATED":
[
"E_MAINTENANCEORDER",
"E_MAINTENANCEORDERCONFIRMATION",
"I_INDICATOR",
"I_LANGUAGE",
"I_MAINTENANCEORDER",
"I_MAINTORDCONFGOODSMOVEMENTTP",
"I_MAINTORDCONFMESSAGETP",
"I_PLANT",
"I_UNITOFMEASURE",
"I_USER",
"I_VARIANCEREASON",
"I_WORKCENTER",
"I_WORKFORCEPERSON"
],
"BASE":
[
"I_MAINTENANCEORDERCONFIRMATION"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/