I_VehSchedgActivitySolution

DDL: I_VEHSCHEDGACTIVITYSOLUTION Type: view_entity COMPOSITE

Vehicle Scheduling Activity Solution

I_VehSchedgActivitySolution is a Composite CDS View that provides data about "Vehicle Scheduling Activity Solution" in SAP S/4HANA. It reads from 4 data sources (I_VehSchedgActivity, I_TranspGanttDfltObjColor, I_VehSchedgSolutions, I_VehSchedgTranspOrderInfo) and exposes 38 fields with key fields VehSchedgExplanationLogUUID, VehSchedgProblem, VehSchedgSolutionStep, VehSchedgTranspActivity. It has 2 associations to related views. It is exposed through 1 OData service (SAPTMVSSEXPLANATION). It is used in 1 Fiori application: Explain Scheduling Results.

Data Sources (4)

SourceAliasJoin Type
I_VehSchedgActivity Activity from
I_TranspGanttDfltObjColor Color inner
I_VehSchedgSolutions Solutions inner
I_VehSchedgTranspOrderInfo TranspOrderInfo inner

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_VehSchedgRestSolution _RestSolution $projection.VehSchedgExplanationLogUUID = _RestSolution.VehSchedgExplanationLogUUID and $projection.VehSchedgTranspActivity = _RestSolution.VehSchedgTranspActivity and $projection.VehSchedgProblem = _RestSolution.VehSchedgProblem and $projection.VehSchedgSolutionStep = _RestSolution.VehSchedgSolutionStep and $projection.VehSchedgSolutionStepType = _RestSolution.VehSchedgSolutionStepType
[0..*] C_VehSchedgActivityLink _ActivityLink $projection.VehSchedgExplanationLogUUID = _ActivityLink.VehSchedgExplanationLogUUID and $projection.VehSchedgTranspActivity = _ActivityLink.VehSchedgPredecessorTranspActy

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Vehicle Scheduling Activity Solution view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE 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 (38)

KeyFieldSource TableSource FieldDescription
KEY VehSchedgExplanationLogUUID I_VehSchedgActivity VehSchedgExplanationLogUUID UUID
KEY VehSchedgProblem I_VehSchedgSolutions VehSchedgProblem
KEY VehSchedgSolutionStep I_VehSchedgSolutions VehSchedgSolutionStep
KEY VehSchedgTranspActivity I_VehSchedgActivity VehSchedgTranspActivity S&R GUID
VehSchedgObjectColorCode I_TranspGanttDfltObjColor VehSchedgObjectColorCode
VehSchedgTranspActivityUUID I_VehSchedgActivity VehSchedgTranspActivityUUID UUID
VehSchedgTranspParentActivity I_VehSchedgActivity VehSchedgTranspParentActivity Activity ID
VehSchedgTranspActyCategory I_VehSchedgActivity VehSchedgTranspActyCategory
TranspOrdNetDuration I_VehSchedgActivity TranspOrdNetDuration Duration
FreightOrder I_VehSchedgActivity FreightOrder Freight Order
TransportationOrderCategory I_VehSchedgActivity TransportationOrderCategory TO Category
TranspOrdCapacityTranspOrdUUID I_VehSchedgActivity TranspOrdCapacityTranspOrdUUID
ResourceID I_VehSchedgActivity ResourceID Vehicle ID
SourceLocation I_VehSchedgActivity SourceLocation Source Location
DestinationLocation I_VehSchedgActivity DestinationLocation Sustitute loc.
AccptblStrtOfActyStrtDteTme I_VehSchedgActivity AccptblStrtOfActyStrtDteTme
AccptblStrtOfActyEndDteTme I_VehSchedgActivity AccptblStrtOfActyEndDteTme
AccptblEndOfActyStrtDteTme I_VehSchedgActivity AccptblEndOfActyStrtDteTme
AccptblEndOfActyEndDteTme I_VehSchedgActivity AccptblEndOfActyEndDteTme
RequestedActyStrtDteTme I_VehSchedgActivity RequestedActyStrtDteTme
RequestedActyEndDteTme I_VehSchedgActivity RequestedActyEndDteTme
EarlyDeliveriesPenaltyCostVal I_VehSchedgActivity EarlyDeliveriesPenaltyCostVal
LateDeliveriesPenaltyCostVal I_VehSchedgActivity LateDeliveriesPenaltyCostVal
VehSchedgInternalReference I_VehSchedgActivity VehSchedgInternalReference Desired ref interva
ResourceBreakCalendar I_VehSchedgActivity ResourceBreakCalendar Break Calendar
HandlingResourceBreakCal I_VehSchedgActivity HandlingResourceBreakCal Break Calendar
ResourceCapacityCalendar I_VehSchedgActivity ResourceCapacityCalendar Optimizer ID
ResourceConsumptionValue I_VehSchedgActivity ResourceConsumptionValue Capacity Consumption
MaximumBreakDuration I_VehSchedgActivity MaximumBreakDuration Maximum Break Time
TransportationUnitUUID I_VehSchedgActivity TransportationUnitUUID
TransportationDriverUUID I_VehSchedgActivity TransportationDriverUUID
TransportationOrderUUID I_VehSchedgActivity TransportationOrderUUID
ResourceAdditionalUUID I_VehSchedgTranspOrderInfo ResourceAdditionalUUID
VehSchedgSolutionStepType I_VehSchedgSolutions VehSchedgSolutionStepType
TranspActyPlanStartDateTime I_VehSchedgSolutions TranspActyPlanStartDateTime
TranspActyPlanEndDateTime I_VehSchedgSolutions TranspActyPlanEndDateTime
_ActivityLink _ActivityLink
_RestSolution _RestSolution

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 I_VehSchedgActivitySolution.
-- 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 I_VehSchedgActivitySolution AS
SELECT
  Activity.VehSchedgExplanationLogUUID AS VehSchedgExplanationLogUUID,
  Solutions.VehSchedgProblem AS VehSchedgProblem,
  Solutions.VehSchedgSolutionStep AS VehSchedgSolutionStep,
  Activity.VehSchedgTranspActivity AS VehSchedgTranspActivity,
  Color.VehSchedgObjectColorCode AS VehSchedgObjectColorCode,
  Activity.VehSchedgTranspActivityUUID AS VehSchedgTranspActivityUUID,
  Activity.VehSchedgTranspParentActivity AS VehSchedgTranspParentActivity,
  Activity.VehSchedgTranspActyCategory AS VehSchedgTranspActyCategory,
  Activity.TranspOrdNetDuration AS TranspOrdNetDuration,
  Activity.FreightOrder AS FreightOrder,
  Activity.TransportationOrderCategory AS TransportationOrderCategory,
  Activity.TranspOrdCapacityTranspOrdUUID AS TranspOrdCapacityTranspOrdUUID,
  Activity.ResourceID AS ResourceID,
  Activity.SourceLocation AS SourceLocation,
  Activity.DestinationLocation AS DestinationLocation,
  Activity.AccptblStrtOfActyStrtDteTme AS AccptblStrtOfActyStrtDteTme,
  Activity.AccptblStrtOfActyEndDteTme AS AccptblStrtOfActyEndDteTme,
  Activity.AccptblEndOfActyStrtDteTme AS AccptblEndOfActyStrtDteTme,
  Activity.AccptblEndOfActyEndDteTme AS AccptblEndOfActyEndDteTme,
  Activity.RequestedActyStrtDteTme AS RequestedActyStrtDteTme,
  Activity.RequestedActyEndDteTme AS RequestedActyEndDteTme,
  Activity.EarlyDeliveriesPenaltyCostVal AS EarlyDeliveriesPenaltyCostVal,
  Activity.LateDeliveriesPenaltyCostVal AS LateDeliveriesPenaltyCostVal,
  Activity.VehSchedgInternalReference AS VehSchedgInternalReference,
  Activity.ResourceBreakCalendar AS ResourceBreakCalendar,
  Activity.HandlingResourceBreakCal AS HandlingResourceBreakCal,
  Activity.ResourceCapacityCalendar AS ResourceCapacityCalendar,
  Activity.ResourceConsumptionValue AS ResourceConsumptionValue,
  Activity.MaximumBreakDuration AS MaximumBreakDuration,
  Activity.TransportationUnitUUID AS TransportationUnitUUID,
  Activity.TransportationDriverUUID AS TransportationDriverUUID,
  Activity.TransportationOrderUUID AS TransportationOrderUUID,
  TranspOrderInfo.ResourceAdditionalUUID AS ResourceAdditionalUUID,
  Solutions.VehSchedgSolutionStepType AS VehSchedgSolutionStepType,
  Solutions.TranspActyPlanStartDateTime AS TranspActyPlanStartDateTime,
  Solutions.TranspActyPlanEndDateTime AS TranspActyPlanEndDateTime
FROM I_VehSchedgActivity AS Activity
INNER JOIN I_VehSchedgSolutions AS Solutions ON /* join condition not captured in parsed metadata */
INNER JOIN I_VehSchedgTranspOrderInfo AS TranspOrderInfo ON /* join condition not captured in parsed metadata */
INNER JOIN I_TranspGanttDfltObjColor AS Color ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_VehSchedgRestSolution AS _RestSolution ON VehSchedgExplanationLogUUID = _RestSolution.VehSchedgExplanationLogUUID AND VehSchedgTranspActivity = _RestSolution.VehSchedgTranspActivity AND VehSchedgProblem = _RestSolution.VehSchedgProblem AND VehSchedgSolutionStep = _RestSolution.VehSchedgSolutionStep AND VehSchedgSolutionStepType = _RestSolution.VehSchedgSolutionStepType  -- association [0..*]
LEFT OUTER JOIN C_VehSchedgActivityLink AS _ActivityLink ON VehSchedgExplanationLogUUID = _ActivityLink.VehSchedgExplanationLogUUID AND VehSchedgTranspActivity = _ActivityLink.VehSchedgPredecessorTranspActy  -- association [0..*]
;