C_MaintenanceEventVH

DDL: C_MAINTENANCEEVENTVH SQL: CMAINTEVENTVH Type: view CONSUMPTION

Maintenance Event

C_MaintenanceEventVH is a Consumption CDS View that provides data about "Maintenance Event" in SAP S/4HANA. It reads from 1 data source (I_MaintenanceRevisionStdVH) and exposes 9 fields with key fields MaintenanceEvent, MaintenancePlanningPlant. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_MaintenanceRevisionStdVH I_MaintenanceRevisionStdVH from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_MaintPlanningBucketTP _MaintPlanningBucket _MaintPlanningBucket.MaintenanceEvent = $projection.MaintenanceEvent
[0..1] I_MaintenanceEventTypeVH _MaintenanceEventType _MaintenanceEventType.MaintenanceEventType = $projection.MaintenanceEventType

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CMAINTEVENTVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
ObjectModel.representativeKey MaintenanceEvent view
VDM.viewType #CONSUMPTION view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Maintenance Event view
Search.searchable true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceEvent MaintenanceRevision Maintenance Event
KEY MaintenancePlanningPlant MaintenancePlanningPlant Planning Plant
MaintenanceRevisionDesc MaintenanceRevisionDesc Maintenance Event Description
MaintenanceEventType MaintenanceEventType Revision Type
RevisionStartDate RevisionStartDate
RevisionEndDate RevisionEndDate
_MaintenancePlanningPlant _MaintenancePlanningPlant
_MaintenanceEventType _MaintenanceEventType
_MaintPlanningBucket _MaintPlanningBucket

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_MaintenanceEventVH.
-- 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: CMAINTEVENTVH

CREATE VIEW C_MaintenanceEventVH AS
SELECT
  MaintenanceRevision AS MaintenanceEvent,
  MaintenancePlanningPlant,
  MaintenanceRevisionDesc,
  MaintenanceEventType,
  RevisionStartDate,
  RevisionEndDate
FROM I_MaintenanceRevisionStdVH
LEFT OUTER JOIN I_MaintPlanningBucketTP AS _MaintPlanningBucket ON _MaintPlanningBucket.MaintenanceEvent = MaintenanceEvent  -- association [0..1]
LEFT OUTER JOIN I_MaintenanceEventTypeVH AS _MaintenanceEventType ON _MaintenanceEventType.MaintenanceEventType = MaintenanceEventType  -- association [0..1]
;