I_MAINTORDERCOMPONENTTP

CDS View

Maintenance Order Operation Component

I_MAINTORDERCOMPONENTTP is a CDS View in S/4HANA. Maintenance Order Operation Component. It contains 22 fields. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
C_MaintOrderComponentTP view from CONSUMPTION Maintenance Order Component with Draft

Fields (22)

KeyField CDS FieldsUsed in Views
KEY MaintenanceOrder MaintenanceOrder 1
KEY MaintenanceOrderOperation MaintenanceOrderOperation 1
KEY MaintenanceOrderSubOperation MaintenanceOrderSubOperation 1
KEY MaintOrderComponentInternalID MaintOrderComponentInternalID 1
_Material _Material 1
_Plant _Plant 1
_StorageLocation _StorageLocation 1
_UnitOfMeasure _UnitOfMeasure 1
BaseUnit BaseUnit 1
ComponentDescription ComponentDescription 1
MaintenanceOrderComponent MaintenanceOrderComponent 1
MaintOrderComponentForEdit MaintOrderComponentForEdit 1
MaintOrderOperationCounter MaintOrderOperationCounter 1
MaintOrderRoutingNumber MaintOrderRoutingNumber 1
Material Material 1
Plant Plant 1
QuantityWithdrawnInBaseUnit QuantityWithdrawnInBaseUnit 1
RequirementQuantityInBaseUnit RequirementQuantityInBaseUnit 1
Reservation Reservation 1
ReservationItem ReservationItem 1
ReservationType ReservationType 1
StorageLocation StorageLocation 1
@AbapCatalog.sqlViewName: 'IMAINTOPCOMPTP'
@EndUserText.label: 'Maintenance Order Operation Component'
@ObjectModel.writeDraftPersistence: 'MAINTORDCOMP_D'

@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@ObjectModel.draftEnabled: true
@ObjectModel.createEnabled: true
@ObjectModel.updateEnabled: true
@ObjectModel.deleteEnabled: true

@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #('TRANSACTIONAL_DATA')

@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL

@ObjectModel.semanticKey: ['MaintenanceOrder', 'MaintenanceOrderOperation', 
'MaintenanceOrderSubOperation','MaintOrderComponentInternalID']

define view I_MaintOrderComponentTP
  as select from I_MaintOrderOperComp

  association [1..1] to I_MaintOrderOperationTP as _MaintOrderOperationTP on  $projection.MaintenanceOrder          = _MaintOrderOperationTP.MaintenanceOrder
                                                                          and $projection.MaintenanceOrderOperation = _MaintOrderOperationTP.MaintenanceOrderOperation
  association [1..1] to I_MaintOrderTP          as _MaintOrderTP          on  $projection.MaintenanceOrder = _MaintOrderTP.MaintenanceOrder
{
  key I_MaintOrderOperComp.MaintenanceOrder,
  key I_MaintOrderOperComp.MaintenanceOrderOperation,
  key I_MaintOrderOperComp.MaintenanceOrderSubOperation,
  key I_MaintOrderOperComp.MaintOrderComponentInternalID,
      I_MaintOrderOperComp.MaintenanceOrderComponent, 

      I_MaintOrderOperComp.MaintenanceOrderComponent as MaintOrderComponentForEdit,

      I_MaintOrderOperComp.Reservation,
      I_MaintOrderOperComp.ReservationItem,
      I_MaintOrderOperComp.ReservationType,
      I_MaintOrderOperComp.Material,
      I_MaintOrderOperComp.MaterialGroup,
      I_MaintOrderOperComp.ComponentDescription,
      I_MaintOrderOperComp.RequirementQuantityInBaseUnit,
      I_MaintOrderOperComp.BaseUnit,
      I_MaintOrderOperComp.Plant,
      I_MaintOrderOperComp.StorageLocation,
      I_MaintOrderOperComp.MaintOrderRoutingNumber,
      I_MaintOrderOperComp.MaintOrderOperationCounter,
      I_MaintOrderOperComp.ItemCategory,
      I_MaintOrderOperComp.IsDeleted, 
      I_MaintOrderOperComp.QuantityWithdrawnInBaseUnit,
      I_MaintOrderOperComp.Supplier,
      I_MaintOrderOperComp._ItemCategoryText,
      I_MaintOrderOperComp._Material,
      I_MaintOrderOperComp._MaterialText,
      I_MaintOrderOperComp._Plant,
      I_MaintOrderOperComp._SafetyRelevance,
      I_MaintOrderOperComp._StatusObject,
      I_MaintOrderOperComp._StorageLocation,
      I_MaintOrderOperComp._UnitOfMeasure,

      @ObjectModel.association.type: [ #TO_COMPOSITION_ROOT ]
      _MaintOrderTP,
      @ObjectModel.association.type: [ #TO_COMPOSITION_PARENT ]
      _MaintOrderOperationTP,
      -- For DCL:
      I_MaintOrderOperComp._Supplier
} where I_MaintOrderOperComp.IsDeleted = ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MAINTORDEROPERCOMP"
],
"ASSOCIATED":
[
"I_MAINTCOMPITEMCATEGORYTXT",
"I_MAINTORDEROPERATIONTP",
"I_MAINTORDERTP",
"I_MATERIAL",
"I_MATERIALTEXT",
"I_PLANT",
"I_PMUNITOFMEASUREVH",
"I_SAFETYRELEVANCE",
"I_STATUSOBJECT",
"I_STORAGELOCATION",
"I_SUPPLIER"
],
"BASE":
[
"I_MAINTORDEROPERCOMP"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/