C_ObjPgMaintOrderOpMaterial

DDL: C_OBJPGMAINTORDEROPMATERIAL SQL: COPMORDOPMATL Type: view CONSUMPTION

Maintenance Order Operation Material

C_ObjPgMaintOrderOpMaterial is a Consumption CDS View that provides data about "Maintenance Order Operation Material" in SAP S/4HANA. It reads from 1 data source (I_MaintOrderOperComp) and exposes 38 fields with key fields MaintenanceOrder, MaintenanceOrderOperation, MaintOrderComponentInternalID. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_MaintOrderOperComp I_MaintOrderOperComp from

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_MaintenanceOrder _MaintenanceOrder _MaintenanceOrder.MaintenanceOrder = $projection.MaintenanceOrder
[0..1] C_EAMProductQuickVw _EAMProductQuickVw _EAMProductQuickVw.Material = $projection.Material
[0..*] I_FldLogsSupplyProcessText _FldLogsSupplyProcessText _FldLogsSupplyProcessText.FldLogsSupplyProcess = $projection.FldLogsSupplyProcess
[0..*] I_MaintOrdCompDelivDateAdjmtT _MaintOrdCompDelivDateAdjmtT _MaintOrdCompDelivDateAdjmtT.MaintOrdCompDeliveryDateAdjmt = $projection.MaintOrdCompDeliveryDateAdjmt
[0..1] P_EAMServiceFeature _EAMServiceFeature _EAMServiceFeature.BusinessFeatureID = '01'

Annotations (10)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName COPMORDOPMATL view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Maintenance Order Operation Material view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view

Fields (38)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceOrder I_MaintOrderOperComp MaintenanceOrder Order
KEY MaintenanceOrderOperation I_MaintOrderOperComp MaintenanceOrderOperation Suboperation
KEY MaintOrderComponentInternalID I_MaintOrderOperComp MaintOrderComponentInternalID Object number
MaintenanceOrderComponent I_MaintOrderOperComp MaintenanceOrderComponent Item Number
Reservation I_MaintOrderOperComp Reservation Reservation
ReservationItem I_MaintOrderOperComp ReservationItem Reservation Item Number
Material I_MaintOrderOperComp Material Vehicle Model
ItemCategory I_MaintOrderOperComp ItemCategory Item Category
BillOfMaterialItemCategoryDesc Item Category Text
MaintOrderCompDebitCreditCode I_MaintOrderOperComp MaintOrderCompDebitCreditCode Debit/Credit
AbsoluteQuantity I_MaintOrderOperComp RequirementQuantityInBaseUnit
BaseUnit I_MaintOrderOperComp BaseUnit Unit of Measure
StorageLocation I_MaintOrderOperComp StorageLocation StorageLocation
StorageLocationName Storage Location Name
MaterialGroup I_MaintOrderOperComp MaterialGroup Product Group
MaterialGroupName Material Group Description
PurchaseRequisition I_MaintOrderOperComp PurchaseRequisition Purchase Requisition
PurchaseRequisitionItem I_MaintOrderOperComp PurchaseRequisitionItem Purchase Requisition Item
PurReqnOrResvnGeneration I_MaintOrderOperComp PurReqnOrResvnGeneration Purchase Reqn. / Resvn. Generation
PerformancePeriodStartDate I_MaintOrderOperComp PerformancePeriodStartDate Start Date
PerformancePeriodStartTime I_MaintOrderOperComp PerformancePeriodStartTime Start Time
PerformancePeriodEndDate I_MaintOrderOperComp PerformancePeriodEndDate End Date
PerformancePeriodEndTime I_MaintOrderOperComp PerformancePeriodEndTime End Time
LeanServiceDuration I_MaintOrderOperComp LeanServiceDuration Service Duration
LeanServiceDurationUnit I_MaintOrderOperComp LeanServiceDurationUnit Service Duration Unit
MaintOrdCompDeliveryDateAdjmt I_MaintOrderOperComp MaintOrdCompDeliveryDateAdjmt Align Requirement Date
MaintOrdCompDelivDateAdjmtText
SrvcSchedgIsAlignedWthOpWrkCtr I_MaintOrderOperComp SrvcSchedgIsAlignedWthOpWrkCtr Align with Work Center
MaintOrdOpComponentCurrency I_MaintOrderOperComp MaintOrdOpComponentCurrency Currency
ExpectedOverallLimitAmount I_MaintOrderOperComp ExpectedOverallLimitAmount Expected Value
OverallLimitAmount I_MaintOrderOperComp OverallLimitAmount Overall Limit
FldLogsDelivIsHeldOnShore FldLogsDelivIsHeldOnShore Hold On-Shore
FldLogsSupplyProcess FldLogsSupplyProcess Supply Process
_PurReqnOrResvnGeneration _PurReqnOrResvnGeneration
_MaintenanceOrder _MaintenanceOrder
_EAMProductQuickVw _EAMProductQuickVw
_FldLogsSupplyProcessText _FldLogsSupplyProcessText
_EAMServiceFeature _EAMServiceFeature

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 C_ObjPgMaintOrderOpMaterial.
-- 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: COPMORDOPMATL

CREATE VIEW C_ObjPgMaintOrderOpMaterial AS
SELECT
  I_MaintOrderOperComp.MaintenanceOrder AS MaintenanceOrder,
  I_MaintOrderOperComp.MaintenanceOrderOperation AS MaintenanceOrderOperation,
  I_MaintOrderOperComp.MaintOrderComponentInternalID AS MaintOrderComponentInternalID,
  I_MaintOrderOperComp.MaintenanceOrderComponent AS MaintenanceOrderComponent,
  I_MaintOrderOperComp.Reservation AS Reservation,
  I_MaintOrderOperComp.ReservationItem AS ReservationItem,
  I_MaintOrderOperComp.Material AS Material,
  I_MaintOrderOperComp.ItemCategory AS ItemCategory,
  I_MaintOrderOperComp._ItemCategoryText[1:Language=$session.system_language].MaintComponentItemCategoryDesc AS BillOfMaterialItemCategoryDesc,
  I_MaintOrderOperComp.MaintOrderCompDebitCreditCode AS MaintOrderCompDebitCreditCode,
  I_MaintOrderOperComp.RequirementQuantityInBaseUnit AS AbsoluteQuantity,
  I_MaintOrderOperComp.BaseUnit AS BaseUnit,
  I_MaintOrderOperComp.StorageLocation AS StorageLocation,
  I_MaintOrderOperComp._StorageLocation.StorageLocationName AS StorageLocationName,
  I_MaintOrderOperComp.MaterialGroup AS MaterialGroup,
  I_MaintOrderOperComp._MaterialGroup._Text[1:Language = $session.system_language].MaterialGroupName AS MaterialGroupName,
  I_MaintOrderOperComp.PurchaseRequisition AS PurchaseRequisition,
  I_MaintOrderOperComp.PurchaseRequisitionItem AS PurchaseRequisitionItem,
  I_MaintOrderOperComp.PurReqnOrResvnGeneration AS PurReqnOrResvnGeneration,
  I_MaintOrderOperComp.PerformancePeriodStartDate AS PerformancePeriodStartDate,
  I_MaintOrderOperComp.PerformancePeriodStartTime AS PerformancePeriodStartTime,
  I_MaintOrderOperComp.PerformancePeriodEndDate AS PerformancePeriodEndDate,
  I_MaintOrderOperComp.PerformancePeriodEndTime AS PerformancePeriodEndTime,
  I_MaintOrderOperComp.LeanServiceDuration AS LeanServiceDuration,
  I_MaintOrderOperComp.LeanServiceDurationUnit AS LeanServiceDurationUnit,
  I_MaintOrderOperComp.MaintOrdCompDeliveryDateAdjmt AS MaintOrdCompDeliveryDateAdjmt,
  _MaintOrdCompDelivDateAdjmtT[1:Language = $session.system_language].MaintOrdCompDelivDateAdjmtText AS MaintOrdCompDelivDateAdjmtText,
  I_MaintOrderOperComp.SrvcSchedgIsAlignedWthOpWrkCtr AS SrvcSchedgIsAlignedWthOpWrkCtr,
  I_MaintOrderOperComp.MaintOrdOpComponentCurrency AS MaintOrdOpComponentCurrency,
  I_MaintOrderOperComp.ExpectedOverallLimitAmount AS ExpectedOverallLimitAmount,
  I_MaintOrderOperComp.OverallLimitAmount AS OverallLimitAmount,
  FldLogsDelivIsHeldOnShore,
  FldLogsSupplyProcess
FROM I_MaintOrderOperComp
LEFT OUTER JOIN I_MaintenanceOrder AS _MaintenanceOrder ON _MaintenanceOrder.MaintenanceOrder = MaintenanceOrder  -- association [1..1]
LEFT OUTER JOIN C_EAMProductQuickVw AS _EAMProductQuickVw ON _EAMProductQuickVw.Material = Material  -- association [0..1]
LEFT OUTER JOIN I_FldLogsSupplyProcessText AS _FldLogsSupplyProcessText ON _FldLogsSupplyProcessText.FldLogsSupplyProcess = FldLogsSupplyProcess  -- association [0..*]
LEFT OUTER JOIN I_MaintOrdCompDelivDateAdjmtT AS _MaintOrdCompDelivDateAdjmtT ON _MaintOrdCompDelivDateAdjmtT.MaintOrdCompDeliveryDateAdjmt = MaintOrdCompDeliveryDateAdjmt  -- association [0..*]
LEFT OUTER JOIN P_EAMServiceFeature AS _EAMServiceFeature ON _EAMServiceFeature.BusinessFeatureID = '01'  -- association [0..1]
;