C_VehSchedgActivityTree
Vehicle Scheduling Activity Tree
C_VehSchedgActivityTree is a Consumption CDS View that provides data about "Vehicle Scheduling Activity Tree" in SAP S/4HANA. It reads from 1 data source (I_VehSchedgActyHierSource) and exposes 48 fields with key fields VehSchedgExplanationLogUUID, VehSchedgProblem, VehSchedgSolutionStep, VehSchedgTranspActivity. It has 6 associations to related views. It is exposed through 1 OData service (SAPTMVSSEXPLANATION). Part of development package CVIEW_TM_PLN_EXPL_VSS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_VehSchedgActyHierSource | I_VehSchedgActyHierSource | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_VehSchedgExplanationLog | _ExplanationLog | $projection.VehSchedgExplanationLogUUID = _ExplanationLog.VehSchedgExplanationLogUUID |
| [0..1] | C_VehSchedgActivityTree | _ActyHierSource | $projection.VehSchedgExplanationLogUUID = _ActyHierSource.VehSchedgExplanationLogUUID and $projection.VehSchedgProblem = _ActyHierSource.VehSchedgProblem and $projection.VehSchedgSolutionStep = _ActyHierSource.VehSchedgSolutionStep and $projection.VehSchedgTranspParentActivity = _ActyHierSource.VehSchedgTranspActivity |
| [1..*] | C_VehSchedgActivityLink | _ActivityLink | $projection.VehSchedgExplanationLogUUID = _ActivityLink.VehSchedgExplanationLogUUID and $projection.VehSchedgTranspActivity = _ActivityLink.VehSchedgPredecessorTranspActy |
| [0..1] | C_EquipmentTypeAndResource | _ResourceTransp | $projection.ResourceAdditionalUUID = _ResourceTransp.ResourceAdditionalUUID |
| [0..*] | C_VehSchedgTranspOrderDowntime | _TranspOrderDowntime | $projection.VehSchedgExplanationLogUUID = _TranspOrderDowntime.VehSchedgExplanationLogUUID and $projection.TransportationOrderUUID = _TranspOrderDowntime.TransportationOrderUUID |
| [0..*] | I_VehSchedgRestSolution | _RestSolution | $projection.VehSchedgExplanationLogUUID = _RestSolution.VehSchedgExplanationLogUUID and $projection.VehSchedgTranspActivity = _RestSolution.VehSchedgTranspActivity and $projection.VehSchedgProblem = _RestSolution.VehSchedgProblem and $projection.VehSchedgSolutionStep = _RestSolution.VehSchedgSolutionStep |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Vehicle Scheduling Activity Tree | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.query.implementedBy | ABAP:CL_VSS_EXP_Q_ACT_HIER | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| SAPTMVSSEXPLANATION | SAPTMVSSEXPLANATION | V2 | C1 | NOT_RELEASED |
Fields (48)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | VehSchedgExplanationLogUUID | I_VehSchedgActyHierSource | VehSchedgExplanationLogUUID | |
| KEY | VehSchedgProblem | VehSchedgProblem | ||
| KEY | VehSchedgSolutionStep | VehSchedgSolutionStep | ||
| KEY | VehSchedgTranspActivity | VehSchedgTranspActivity | ||
| VehSchedgObjectColorCode | VehSchedgObjectColorCode | |||
| VehSchedgTranspParentActivity | VehSchedgTranspParentActivity | |||
| VehSchedgTranspActyCategory | VehSchedgTranspActyCategory | |||
| VehSchedgTranspActyCatDesc | VehSchedgTranspActyCatDesc | |||
| TranspOrdNetDuration | TranspOrdNetDuration | |||
| FreightOrder | FreightOrder | Freight Order | ||
| TransportationOrderCategory | TransportationOrderCategory | |||
| TransportationOrderCatDesc | TransportationOrderCatDesc | |||
| TranspOrdCapacityTranspOrdUUID | TranspOrdCapacityTranspOrdUUID | |||
| ResourceAdditionalUUID | ResourceAdditionalUUID | |||
| SourceLocation | SourceLocation | |||
| DestinationLocation | DestinationLocation | |||
| AccptblStrtOfActyStrtDteTme | AccptblStrtOfActyStrtDteTme | |||
| AccptblStrtOfActyEndDteTme | AccptblStrtOfActyEndDteTme | |||
| AccptblEndOfActyStrtDteTme | AccptblEndOfActyStrtDteTme | |||
| AccptblEndOfActyEndDteTme | AccptblEndOfActyEndDteTme | |||
| RequestedActyStrtDteTme | RequestedActyStrtDteTme | |||
| RequestedActyEndDteTme | RequestedActyEndDteTme | |||
| EarlyDeliveriesPenaltyCostVal | EarlyDeliveriesPenaltyCostVal | |||
| LateDeliveriesPenaltyCostVal | LateDeliveriesPenaltyCostVal | |||
| VehSchedgInternalReference | VehSchedgInternalReference | |||
| ResourceBreakCalendar | ResourceBreakCalendar | |||
| HandlingResourceBreakCal | HandlingResourceBreakCal | |||
| ResourceCapacityCalendar | ResourceCapacityCalendar | |||
| ResourceConsumptionValue | ResourceConsumptionValue | |||
| MaximumBreakDuration | MaximumBreakDuration | |||
| TransportationUnitUUID | TransportationUnitUUID | |||
| TransportationDriverUUID | TransportationDriverUUID | |||
| TransportationOrderUUID | TransportationOrderUUID | |||
| VehSchedgSolutionStepType | VehSchedgSolutionStepType | |||
| TranspActyPlanStartDateTime | TranspActyPlanStartDateTime | |||
| TranspActyPlanEndDateTime | TranspActyPlanEndDateTime | |||
| VehSchedgActyDurnEndDteTme | VehSchedgActyDurnEndDteTme | |||
| HierarchyNode | HierarchyNode | Node | ||
| HierarchyParentNode | HierarchyParentNode | Hier.node | ||
| HierarchyLevel | HierarchyLevel | Hierarchy Level | ||
| HierarchyDrillState | HierarchyDrillState | Drill State | ||
| HierarchyTreeSize | HierarchyTreeSize | |||
| _ActyHierSource | _ActyHierSource | |||
| _ExplanationLog | _ExplanationLog | |||
| _ActivityLink | _ActivityLink | |||
| _ResourceTransp | _ResourceTransp | |||
| _TranspOrderDowntime | _TranspOrderDowntime | |||
| _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 C_VehSchedgActivityTree.
-- 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_VehSchedgActivityTree AS
SELECT
I_VehSchedgActyHierSource.VehSchedgExplanationLogUUID AS VehSchedgExplanationLogUUID,
VehSchedgProblem,
VehSchedgSolutionStep,
VehSchedgTranspActivity,
VehSchedgObjectColorCode,
VehSchedgTranspParentActivity,
VehSchedgTranspActyCategory,
VehSchedgTranspActyCatDesc,
TranspOrdNetDuration,
FreightOrder,
TransportationOrderCategory,
TransportationOrderCatDesc,
TranspOrdCapacityTranspOrdUUID,
ResourceAdditionalUUID,
SourceLocation,
DestinationLocation,
AccptblStrtOfActyStrtDteTme,
AccptblStrtOfActyEndDteTme,
AccptblEndOfActyStrtDteTme,
AccptblEndOfActyEndDteTme,
RequestedActyStrtDteTme,
RequestedActyEndDteTme,
EarlyDeliveriesPenaltyCostVal,
LateDeliveriesPenaltyCostVal,
VehSchedgInternalReference,
ResourceBreakCalendar,
HandlingResourceBreakCal,
ResourceCapacityCalendar,
ResourceConsumptionValue,
MaximumBreakDuration,
TransportationUnitUUID,
TransportationDriverUUID,
TransportationOrderUUID,
VehSchedgSolutionStepType,
TranspActyPlanStartDateTime,
TranspActyPlanEndDateTime,
VehSchedgActyDurnEndDteTme,
HierarchyNode,
HierarchyParentNode,
HierarchyLevel,
HierarchyDrillState,
HierarchyTreeSize
FROM I_VehSchedgActyHierSource
LEFT OUTER JOIN C_VehSchedgExplanationLog AS _ExplanationLog ON VehSchedgExplanationLogUUID = _ExplanationLog.VehSchedgExplanationLogUUID -- association [1..1]
LEFT OUTER JOIN C_VehSchedgActivityTree AS _ActyHierSource ON VehSchedgExplanationLogUUID = _ActyHierSource.VehSchedgExplanationLogUUID AND VehSchedgProblem = _ActyHierSource.VehSchedgProblem AND VehSchedgSolutionStep = _ActyHierSource.VehSchedgSolutionStep AND VehSchedgTranspParentActivity = _ActyHierSource.VehSchedgTranspActivity -- association [0..1]
LEFT OUTER JOIN C_VehSchedgActivityLink AS _ActivityLink ON VehSchedgExplanationLogUUID = _ActivityLink.VehSchedgExplanationLogUUID AND VehSchedgTranspActivity = _ActivityLink.VehSchedgPredecessorTranspActy -- association [1..*]
LEFT OUTER JOIN C_EquipmentTypeAndResource AS _ResourceTransp ON ResourceAdditionalUUID = _ResourceTransp.ResourceAdditionalUUID -- association [0..1]
LEFT OUTER JOIN C_VehSchedgTranspOrderDowntime AS _TranspOrderDowntime ON VehSchedgExplanationLogUUID = _TranspOrderDowntime.VehSchedgExplanationLogUUID AND TransportationOrderUUID = _TranspOrderDowntime.TransportationOrderUUID -- association [0..*]
LEFT OUTER JOIN I_VehSchedgRestSolution AS _RestSolution ON VehSchedgExplanationLogUUID = _RestSolution.VehSchedgExplanationLogUUID AND VehSchedgTranspActivity = _RestSolution.VehSchedgTranspActivity AND VehSchedgProblem = _RestSolution.VehSchedgProblem AND VehSchedgSolutionStep = _RestSolution.VehSchedgSolutionStep -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA