C_VehSchedgHandlingResource

DDL: C_VEHSCHEDGHANDLINGRESOURCE SQL: CTMVSSEXPHRES Type: view CONSUMPTION

Vehicle Scheduling Handling Resource

C_VehSchedgHandlingResource is a Consumption CDS View that provides data about "Vehicle Scheduling Handling Resource" in SAP S/4HANA. It reads from 1 data source (I_VehSchedgActivity) and exposes 16 fields with key fields VehSchedgExplanationLogUUID, VehSchedgTranspActivity, ResourceAdditionalUUID. It has 5 associations to related views. It is exposed through 1 OData service (SAPTMVSSEXPLANATION). It is used in 1 Fiori application: Explain Scheduling Results.

Data Sources (1)

SourceAliasJoin Type
I_VehSchedgActivity Activity from

Associations (5)

CardinalityTargetAliasCondition
[0..1] C_EquipmentTypeAndResource _ResourceTransp $projection.ResourceAdditionalUUID = _ResourceTransp.ResourceAdditionalUUID
[0..1] C_EquipTypeAndRsceCapOffer _RsceCapacityWithoutDimension $projection.ResourceAdditionalUUID = _RsceCapacityWithoutDimension.ResourceAdditionalUUID and _RsceCapacityWithoutDimension.ResourceDimension = 'AAAADL' and _RsceCapacityWithoutDimension.NmbrOfDimensionlessCapacities = '00'
[1..*] I_VehSchedgHndlgRsceSupplyCap _HndlgRsceSupplyCap $projection.VehSchedgExplanationLogUUID = _HndlgRsceSupplyCap.VehSchedgExplanationLogUUID and $projection.VehSchedgTranspActivity = _HndlgRsceSupplyCap.VehSchedgTranspActivity
[1..*] C_VehSchedgResourceDowntime _ResourceDowntime $projection.ResourceAdditionalUUID = _ResourceDowntime.ResourceAdditionalUUID and $projection.VehSchedgExplanationLogUUID = _ResourceDowntime.VehSchedgExplanationLogUUID
[1..*] I_VehSchedgActivitySolution _ActivitySolution $projection.VehSchedgExplanationLogUUID = _ActivitySolution.VehSchedgExplanationLogUUID and $projection.VehSchedgTranspActivity = _ActivitySolution.VehSchedgTranspActivity

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CTMVSSEXPHRES view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Vehicle Scheduling Handling Resource view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

OData Services (1)

ServiceBindingVersionContractRelease
SAPTMVSSEXPLANATION SAPTMVSSEXPLANATION V2 C1 NOT_RELEASED

Fiori Apps (1)

App IDApp NameTypeDescription
F4976 Explain Scheduling Results Transactional An app to analyze scheduling results to better understand how the system has scheduled objects.

Explain Scheduling Results

Business Role: Transportation Manager (Transportation Management)

Scheduling and automatic planning have been enhanced.

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY VehSchedgExplanationLogUUID I_VehSchedgActivity VehSchedgExplanationLogUUID UUID
KEY VehSchedgTranspActivity I_VehSchedgActivity VehSchedgTranspActivity S&R GUID
KEY ResourceAdditionalUUID _VehSchedgHandlgRsceCapCalInfo ResourceAdditionalUUID
ResourceID _VehSchedgHandlgRsceCapCalInfo ResourceID Vehicle ID
ResourceBreakCalendar I_VehSchedgActivity ResourceBreakCalendar Break Calendar
RsceRegistrationNumber _ResourceTransp RsceRegistrationNumber
EquipmentGroup _ResourceTransp EquipmentGroup Equipment Group
EquipmentType _ResourceTransp EquipmentType Equipment Type
ResourceClass _ResourceTransp ResourceClass
ResourceValidityStartDateTime _ResourceTransp ResourceValidityStartDateTime
ResourceValidityEndDateTime _ResourceTransp ResourceValidityEndDateTime
_HndlgRsceSupplyCap _HndlgRsceSupplyCap
_ResourceDowntime _ResourceDowntime
_ActivitySolution _ActivitySolution
ResourceCapacity _RsceCapacityWithoutDimension ResourceCapacity
ResourceCapacityUnit _RsceCapacityWithoutDimension ResourceCapacityUnit

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_VehSchedgHandlingResource.
-- 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: CTMVSSEXPHRES

CREATE VIEW C_VehSchedgHandlingResource AS
SELECT
  Activity.VehSchedgExplanationLogUUID AS VehSchedgExplanationLogUUID,
  Activity.VehSchedgTranspActivity AS VehSchedgTranspActivity,
  _VehSchedgHandlgRsceCapCalInfo.ResourceAdditionalUUID AS ResourceAdditionalUUID,
  _VehSchedgHandlgRsceCapCalInfo.ResourceID AS ResourceID,
  Activity.ResourceBreakCalendar AS ResourceBreakCalendar,
  _ResourceTransp.RsceRegistrationNumber AS RsceRegistrationNumber,
  _ResourceTransp.EquipmentGroup AS EquipmentGroup,
  _ResourceTransp.EquipmentType AS EquipmentType,
  _ResourceTransp.ResourceClass AS ResourceClass,
  _ResourceTransp.ResourceValidityStartDateTime AS ResourceValidityStartDateTime,
  _ResourceTransp.ResourceValidityEndDateTime AS ResourceValidityEndDateTime,
  _RsceCapacityWithoutDimension.ResourceCapacity AS ResourceCapacity,
  _RsceCapacityWithoutDimension.ResourceCapacityUnit AS ResourceCapacityUnit
FROM I_VehSchedgActivity AS Activity
LEFT OUTER JOIN C_EquipmentTypeAndResource AS _ResourceTransp ON ResourceAdditionalUUID = _ResourceTransp.ResourceAdditionalUUID  -- association [0..1]
LEFT OUTER JOIN C_EquipTypeAndRsceCapOffer AS _RsceCapacityWithoutDimension ON ResourceAdditionalUUID = _RsceCapacityWithoutDimension.ResourceAdditionalUUID AND _RsceCapacityWithoutDimension.ResourceDimension = 'AAAADL' AND _RsceCapacityWithoutDimension.NmbrOfDimensionlessCapacities = '00'  -- association [0..1]
LEFT OUTER JOIN I_VehSchedgHndlgRsceSupplyCap AS _HndlgRsceSupplyCap ON VehSchedgExplanationLogUUID = _HndlgRsceSupplyCap.VehSchedgExplanationLogUUID AND VehSchedgTranspActivity = _HndlgRsceSupplyCap.VehSchedgTranspActivity  -- association [1..*]
LEFT OUTER JOIN C_VehSchedgResourceDowntime AS _ResourceDowntime ON ResourceAdditionalUUID = _ResourceDowntime.ResourceAdditionalUUID AND VehSchedgExplanationLogUUID = _ResourceDowntime.VehSchedgExplanationLogUUID  -- association [1..*]
LEFT OUTER JOIN I_VehSchedgActivitySolution AS _ActivitySolution ON VehSchedgExplanationLogUUID = _ActivitySolution.VehSchedgExplanationLogUUID AND VehSchedgTranspActivity = _ActivitySolution.VehSchedgTranspActivity  -- association [1..*]
;