C_ObjPgMaintOrdOpCostAggrgData

DDL: C_OBJPGMAINTORDOPCOSTAGGRGDATA SQL: COPMNTORDOPCOSTA Type: view CONSUMPTION

Maintenance Order Operation Cost Aggregate Data

C_ObjPgMaintOrdOpCostAggrgData is a Consumption CDS View that provides data about "Maintenance Order Operation Cost Aggregate Data" in SAP S/4HANA. It reads from 1 data source (C_ObjPgMaintOrderOperationCost) and exposes 6 fields with key field MaintOrderOperationInternalID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
C_ObjPgMaintOrderOperationCost C_ObjPgMaintOrderOperationCost from

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_ObjPgMaintOrderOperation _MaintOrderOperation _MaintOrderOperation.MaintOrderOperationInternalID = $projection.MaintOrderOperationInternalID

Annotations (9)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName COPMNTORDOPCOSTA view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Maintenance Order Operation Cost Aggregate Data view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #CONSUMPTION view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY MaintOrderOperationInternalID C_ObjPgMaintOrderOperationCost MaintOrderOperationInternalID Object number
MaintOrderTotalActualCost Total Actual Cost
MaintOrderTotalEstimatedCost Total Estimated Cost
MaintOrderTotalPlannedCost Total Planned Cost
Currency
_MaintOrderOperation _MaintOrderOperation

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_ObjPgMaintOrdOpCostAggrgData.
-- 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: COPMNTORDOPCOSTA

CREATE VIEW C_ObjPgMaintOrdOpCostAggrgData AS
SELECT
  C_ObjPgMaintOrderOperationCost.MaintOrderOperationInternalID AS MaintOrderOperationInternalID,
  cast('0' as dpmistval) AS MaintOrderTotalActualCost,
  cast('0' as dpmestval) AS MaintOrderTotalEstimatedCost,
  cast('0' as dpmplanval) AS MaintOrderTotalPlannedCost,
  cast('' as waers) AS Currency
FROM C_ObjPgMaintOrderOperationCost
LEFT OUTER JOIN C_ObjPgMaintOrderOperation AS _MaintOrderOperation ON _MaintOrderOperation.MaintOrderOperationInternalID = MaintOrderOperationInternalID  -- association [1..1]
;