C_EquipmentMaintenanceDataVH

DDL: C_EQUIPMENTMAINTENANCEDATAVH Type: view_entity CONSUMPTION

Search By Equipment Maintenance Data

C_EquipmentMaintenanceDataVH is a Consumption CDS View that provides data about "Search By Equipment Maintenance Data" in SAP S/4HANA. It reads from 1 data source (I_EquipmentValidTimeSegment) and exposes 14 fields with key fields Equipment, ValidityEndDate, EquipUsagePeriodSequenceNumber.

Data Sources (1)

SourceAliasJoin Type
I_EquipmentValidTimeSegment _EquipmentTimeSeg from

Annotations (13)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Search By Equipment Maintenance Data view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
Consumption.ranked true view
ObjectModel.dataCategory #VALUE_HELP view
VDM.viewType #CONSUMPTION view
Search.searchable true view
Metadata.allowExtensions true view
ObjectModel.representativeKey Equipment view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY Equipment
KEY ValidityEndDate I_EquipmentValidTimeSegment ValidityEndDate ValidTo
KEY EquipUsagePeriodSequenceNumber I_EquipmentValidTimeSegment EquipUsagePeriodSequenceNumber
EquipmentName
MaintenancePlant
MaintenancePlantName
MaintenancePlanningPlant MaintenancePlanningPlant Planning Plant
MaintenancePlanningPlantName
MaintenancePlannerGroup MaintenancePlannerGroup Planner Group
WorkCenterInternalID WorkCenterInternalID Work Center
WorkCenterText
CatalogProfile CatalogProfile Catalog Profile
CatalogProfileText
CalendarDate ValidOnDate

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_EquipmentMaintenanceDataVH.
-- 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_EquipmentMaintenanceDataVH AS
SELECT
  _EquipmentTimeSeg._Equipment.Equipment AS Equipment,
  _EquipmentTimeSeg.ValidityEndDate AS ValidityEndDate,
  _EquipmentTimeSeg.EquipUsagePeriodSequenceNumber AS EquipUsagePeriodSequenceNumber,
  _EquipmentTimeSeg._Equipment._EquipmentText[1:Language=$session.system_language].EquipmentName AS EquipmentName,
  cast(_EquipmentTimeSeg._LocationAccountAssignment.MaintenancePlant as swerk) AS MaintenancePlant,
  _EquipmentTimeSeg._LocationAccountAssignment._MaintenancePlant.PlantName AS MaintenancePlantName,
  MaintenancePlanningPlant,
  _EquipmentTimeSeg._MaintenancePlanningPlant.PlantName1 AS MaintenancePlanningPlantName,
  MaintenancePlannerGroup,
  WorkCenterInternalID,
  _EquipmentTimeSeg._WorkCenter._Text[1:Language=$session.system_language].WorkCenterText AS WorkCenterText,
  CatalogProfile,
  _EquipmentTimeSeg._EquipmentCodeCatalog._Text[1:Language=$session.system_language].CatalogProfileText AS CatalogProfileText,
  ValidOnDate AS CalendarDate
FROM I_EquipmentValidTimeSegment AS _EquipmentTimeSeg
;