C_VehSchedgHandlingResource
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.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_VehSchedgActivity | Activity | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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 |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- 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