C_MaintOrderOutputParamDetn

DDL: C_MAINTORDEROUTPUTPARAMDETN SQL: CMNTORDPRMDR Type: view CONSUMPTION

Maintenance Order Output Management Parameter Determination

C_MaintOrderOutputParamDetn is a Consumption CDS View that provides data about "Maintenance Order Output Management Parameter Determination" in SAP S/4HANA. It reads from 1 data source (I_MaintenanceOrder) and exposes 22 fields with key field MaintenanceOrder. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_MaintenanceOrder I_MaintenanceOrder from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_LocationAccountAssignment _LocationAccountAssignment $projection.MaintObjectLocAcctAssgmtNmbr = _LocationAccountAssignment.MaintObjectLocAcctAssgmtNmbr
[0..1] I_Equipment _Equipment $projection.Equipment = _Equipment.Equipment
[0..1] E_MaintenanceOrder _MaintenanceOrderExtension $projection.MaintenanceOrder = _MaintenanceOrderExtension.MaintenanceOrder

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName CMNTORDPRMDR view
VDM.viewType #CONSUMPTION view
EndUserText.label Maintenance Order Output Management Parameter Determination view
ObjectModel.compositionRoot false view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceOrder MaintenanceOrder Order
MaintenanceOrderType MaintenanceOrderType Order Type
MaintPriority MaintPriority Priority
MaintenancePlant MaintenancePlant Plant
MaintenancePlanningPlant MaintenancePlanningPlant Planning Plant
MaintenancePlannerGroup MaintenancePlannerGroup Planner Group
PlantSection _LocationAccountAssignment PlantSection Plant Section
MainWorkCenter MainWorkCenter Work Center
Equipment Equipment Equipment check
EquipmentCategory _Equipment EquipmentCategory EquipCategory
FunctionalLocation _LocationAccountAssignment FunctionalLocation Object ID
FunctionalLocationCategory
Assembly Assembly Pegged Reqmt
BusinessArea BusinessArea Business Area
MaintObjectLocAcctAssgmtNmbr MaintObjectLocAcctAssgmtNmbr Loc/AccAssmt
ABCIndicator _LocationAccountAssignment ABCIndicator ABC Indicator
MaintenanceActivityType MaintenanceActivityType MaintActivType
MaintenanceProcessingPhase Phase
MaintOrdProcessPhaseCode MaintOrdProcessPhaseCode Process Phase
MaintOrdProcessSubPhaseCode MaintOrdProcessSubPhaseCode Process Subphase
_Equipment _Equipment
_LocationAccountAssignment _LocationAccountAssignment

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_MaintOrderOutputParamDetn.
-- 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: CMNTORDPRMDR

CREATE VIEW C_MaintOrderOutputParamDetn AS
SELECT
  MaintenanceOrder,
  MaintenanceOrderType,
  MaintPriority,
  MaintenancePlant,
  MaintenancePlanningPlant,
  MaintenancePlannerGroup,
  _LocationAccountAssignment.PlantSection AS PlantSection,
  MainWorkCenter,
  Equipment,
  _Equipment.EquipmentCategory AS EquipmentCategory,
  _LocationAccountAssignment.FunctionalLocation AS FunctionalLocation,
  _LocationAccountAssignment._FunctionalLocation.FunctionalLocationCategory AS FunctionalLocationCategory,
  Assembly,
  BusinessArea,
  MaintObjectLocAcctAssgmtNmbr,
  _LocationAccountAssignment.ABCIndicator AS ABCIndicator,
  MaintenanceActivityType,
  cast ( MaintenanceProcessingPhase as eam_opd_ord_status preserving type ) AS MaintenanceProcessingPhase,
  MaintOrdProcessPhaseCode,
  MaintOrdProcessSubPhaseCode
FROM I_MaintenanceOrder
LEFT OUTER JOIN I_LocationAccountAssignment AS _LocationAccountAssignment ON MaintObjectLocAcctAssgmtNmbr = _LocationAccountAssignment.MaintObjectLocAcctAssgmtNmbr  -- association [0..1]
LEFT OUTER JOIN I_Equipment AS _Equipment ON Equipment = _Equipment.Equipment  -- association [0..1]
LEFT OUTER JOIN E_MaintenanceOrder AS _MaintenanceOrderExtension ON MaintenanceOrder = _MaintenanceOrderExtension.MaintenanceOrder  -- association [0..1]
;