C_MaintenanceEventVH

DDL: C_MAINTENANCEEVENTVH Type: view_entity CONSUMPTION Package: ODATA_EAM_PLANNINGBUCKET

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. It is exposed through 1 OData service (ASQL_F3888). Part of development package ODATA_EAM_PLANNINGBUCKET.

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 (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey MaintenanceEvent view
Analytics.technicalName CMAINTEVENTVH view
VDM.viewType #CONSUMPTION view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Maintenance Event view
Search.searchable true view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F3888 ASQL_F3888 C2 NOT_RELEASED

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.

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]
;