C_VehSchedgResourceDowntime

DDL: C_VEHSCHEDGRESOURCEDOWNTIME Type: view_entity CONSUMPTION

Vehicle Scheduling Resource Downtime

C_VehSchedgResourceDowntime is a Consumption CDS View that provides data about "Vehicle Scheduling Resource Downtime" in SAP S/4HANA. It reads from 3 data sources (I_VehSchedgResourceDowntime, I_TranspGanttDfltObjColor, C_EquipmentTypeAndResource) and exposes 9 fields with key field VehResourceDowntimeUUID.

Data Sources (3)

SourceAliasJoin Type
I_VehSchedgResourceDowntime Downtime from
I_TranspGanttDfltObjColor GanttCustomizingColor inner
C_EquipmentTypeAndResource ResourceTransp inner

Annotations (9)

NameValueLevelField
AbapCatalog.dataMaintenance #RESTRICTED view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Vehicle Scheduling Resource Downtime view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
Metadata.ignorePropagatedAnnotations true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY VehResourceDowntimeUUID I_VehSchedgResourceDowntime VehResourceDowntimeUUID UUID
VehSchedgExplanationLogUUID I_VehSchedgResourceDowntime VehSchedgExplanationLogUUID UUID
ResourceAdditionalUUID I_VehSchedgResourceDowntime ResourceAdditionalUUID
ResourceID C_EquipmentTypeAndResource ResourceID Vehicle ID
LocationAdditionalUUID I_VehSchedgResourceDowntime LocationAdditionalUUID
Location LocationBasic Location Text
NonAvailabilityTimeStartDteTme I_VehSchedgResourceDowntime NonAvailabilityTimeStartDteTme
NonAvailabilityTimeEndDteTme I_VehSchedgResourceDowntime NonAvailabilityTimeEndDteTme
VehSchedgObjectColorCode I_TranspGanttDfltObjColor VehSchedgObjectColorCode

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_VehSchedgResourceDowntime.
-- 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_VehSchedgResourceDowntime AS
SELECT
  Downtime.VehResourceDowntimeUUID AS VehResourceDowntimeUUID,
  Downtime.VehSchedgExplanationLogUUID AS VehSchedgExplanationLogUUID,
  Downtime.ResourceAdditionalUUID AS ResourceAdditionalUUID,
  ResourceTransp.ResourceID AS ResourceID,
  Downtime.LocationAdditionalUUID AS LocationAdditionalUUID,
  LocationBasic.Location AS Location,
  Downtime.NonAvailabilityTimeStartDteTme AS NonAvailabilityTimeStartDteTme,
  Downtime.NonAvailabilityTimeEndDteTme AS NonAvailabilityTimeEndDteTme,
  GanttCustomizingColor.VehSchedgObjectColorCode AS VehSchedgObjectColorCode
FROM I_VehSchedgResourceDowntime AS Downtime
INNER JOIN C_EquipmentTypeAndResource AS ResourceTransp ON /* join condition not captured in parsed metadata */
INNER JOIN I_TranspGanttDfltObjColor AS GanttCustomizingColor ON /* join condition not captured in parsed metadata */
;