I_TranspOrdExecutionAnalytics
Transportation Order Execution Analytics
I_TranspOrdExecutionAnalytics (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
TransportationOrderExecution · Supply Chain
I_TranspOrdExecutionAnalytics is a Composite CDS View (Dimension) that provides data about "Transportation Order Execution Analytics" in SAP S/4HANA. It reads from 1 data source (I_TranspOrdExecution) and exposes 67 fields with key field TransportationOrderEventUUID. It has 6 associations to related views.
SAP Help Documentation
| Category | Business Performance Analytics |
|---|---|
| Data Category | Dimension |
| Status | Released |
This CDS view helps you to analyze execution information for transportation orders. This information can contain events that have been imported from an external source, like Event Management, into Transportation Management (TM), or transportation activities that are entered directly or set automatically through an action or status change in TM transportation orders. The events have references to the transportation order root/header, item and/or stop. For these references the CDS view contains associations. Some analysis possibilities or business questions that can be answered by using this view are: What are the actual dates/times for events? With the dates/times information and the available associations, especially with transportation order stops, several durations can be calculated. Delay of an expected event Delivery efficiency How many events with a specific event code have been posted? At a certain location Within a certain timeframe The CDS view serves as an extractor for BW and can be used as a data source for further analytical objects like cubes and queries. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Authorization is based on the standard Transportation Management authorization objects. You’ll need either the Transp. Management Administrative Settings authorization object ( T_ADMIN ) or both the Transp. Management Order Management & Planning (Purchase) authorization object ( T_TOR_PUR ) and the Transp. Management Order Management & Planning (Execution) authorization object ( T_TOR_EXE ). The following table lists the authorization objects with required fields and values: Authorization Object Field Value Description T_ADMIN Transp. Management: Administrative Settings authorization object ACTVT H1 (Deactivate) Activity T_TOR_PUR Transp. Management: Order Management & Planning (Purchase) authorization object TM_OC TransportationOrderCategory TM_OT TransportationOrderType TM_XPORG PurchasingOrgExternalID TM_XPGRP PurchasingGroupExternalID TM_RP TranspOrdResponsiblePerson TM_MOT TransportationMode ACTVT 03 (Display) Activity T_TOR_EXE Transp. Management: Order Management & Planning (Execution) authorization object TM_OC TransportationOrderCategory TM_OT TransportationOrderType TM_XEORG PlngAndExecOrgExternalID TM_XEGRP PlngAndExecGroupExternalID TM_RP TranspOrdResponsiblePerson TM_MOT TransportationMode ACTVT 03 (Display) Activity
Structure
Important fields in this view include the following: Key TransportationOrderEventUUID UUIDs for references to Transportation Analytics, Transportation Item Analytics and Transportation Stop Analytics CDS views TransportationOrderUUID TransportationOrderStopUUID TransportationOrderItemUUID Execution information with detail information on the Event TranspOrdExecution TranspOrdEventCode TranspOrdEventStatus TransportationActivity TranspOrdEventIsRecalled Date/Time for the Event that can be used to calculate durations and delays TranspOrdEvtActualDateTime Location Location Management Information CreatedByUser CreationDateTime Depending on your configuration, some of the fields included in this CDS view may not expose any data.
Data Extraction
Data Extraction Type Full (physical deletions are possible in source tables) Delta (change data capture)
Constraints
This analytical composite view shall be interpreted and executed by the analytical infrastructure only. It is not intended to be used outside of this context. For example, it shall not be used in ABAP code for selecting data from it.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Supply Chain |
| Application Component | TM-CF-ANA |
| Capabilities | Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Data Extraction |
| Package | Supply Chain for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view helps you to analyze execution information for transportation orders. This information can contain events that have been imported from an external source, like Event Management, into Transportation Management (TM), or transportation activities that are entered directly or set automatically through an action or status change in TM transportation orders.</p> <p>The events have references to the transportation order root/header, item and/or stop. For these references the CDS view contains associations.</p> Some analysis possibilities or business questions that can be answered by using this view are:<ul> <li><p>What are the actual dates/times for events?</p></li> <li>With the dates/times information and the available associations, especially with transportation order stops, several durations can be calculated.<ul> <li><p>Delay of an expected event</p></li> <li><p>Delivery efficiency</p></li> </ul></li> <li>How many events with a specific event code have been posted?<ul> <li><p>At a certain location</p></li> <li><p>Within a certain timeframe</p></li> </ul></li> </ul> <p>The CDS view serves as an extractor for BW and can be used as a data source for further analytical objects like cubes and queries.</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_TranspOrdExecution | I_TranspOrdExecution | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_TransportationOrderAnalytics | _TransportationOrderAnalytics | $projection.TransportationOrderUUID = _TransportationOrderAnalytics.TransportationOrderUUID |
| [0..1] | I_TranspOrdItemAnalytics | _TranspOrdItemAnalytics | $projection.TransportationOrderItemUUID = _TranspOrdItemAnalytics.TransportationOrderItemUUID |
| [0..1] | I_TranspOrdStopAnalytics | _TranspOrdStopAnalytics | $projection.TransportationOrderStopUUID = _TranspOrdStopAnalytics.TransportationOrderStopUUID |
| [0..1] | I_LocationAnalytics | _LocationAnalytics | $projection.Location = _LocationAnalytics.Location |
| [0..1] | I_UnitOfMeasure | _GeoCoordinatesUnit | $projection.GeoCoordinatesUnit = _GeoCoordinatesUnit.UnitOfMeasure |
| [0..1] | I_UnitOfMeasure | _GeoCoordinatesAltitudeUnit | $projection.GeoCoordinatesAltitudeUnit = _GeoCoordinatesAltitudeUnit.UnitOfMeasure |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Transportation Order Execution Analytics | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AbapCatalog.sqlViewName | ITRANSPORDEXEANA | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | TransportationOrderEventUUID | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| VDM.viewType | #COMPOSITE | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.internalName | #LOCAL | view |
Fields (67)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TransportationOrderEventUUID | Transportation Order Event UUID | ||
| TransportationOrderUUID | Transportation Order UUID | |||
| TransportationOrderStopUUID | Transportation Order Stop UUID | |||
| TransportationOrderItemUUID | Transportation Order Item UUID | |||
| CreatedByUser | CreatedByUser | Created By | ||
| CreationDateTime | CreationDateTime | Creation Date Time | ||
| LastChangedByUser | LastChangedByUser | Changed By | ||
| ChangedDateTime | ChangedDateTime | Time Stamp | ||
| TranspOrdExecution | TranspOrdExecution | Transportation Order Execution ID | ||
| TranspOrdEventCode | TranspOrdEventCode | Event Occurring for a Transportation Activity | ||
| TranspOrdEventStatus | TranspOrdEventStatus | Event Status | ||
| TransportationActivity | TransportationActivity | Transportation Activity | ||
| TranspOrdEventIsRecalled | TranspOrdEventIsRecalled | Event Has Been Recalled | ||
| TranspOrdEventReasonCode | Transportation Order Event Reason Code | |||
| TranspOrdEventReasonDesc | Transportation Order Event Reason Description | |||
| TranspOrdExecInfoSource | TranspOrdExecInfoSource | Source of Execution Information | ||
| TranspOrdReferenceEventCode | Transportation Order Execution Reference Event Code | |||
| TranspOrdEvtActualDateTime | Transportation Order Event Actual Date Time | |||
| TranspOrdEvtActualDateTimeZone | TranspOrdEvtActualDateTimeZone | Transp Order Event Actual Time Zone | ||
| TranspOrdEvtExpdEndDateTime | TranspOrdEvtExpdEndDateTime | Transportation Order Event Expected End Date Time | ||
| TranspOrdEvtEstimatedDateTime | TranspOrdEvtEstimatedDateTime | Transportation Order Event Estimated Date Time | ||
| LocationUUID | LocationUUID | Location UUID (CHAR 22) | ||
| LocationAdditionalUUID | LocationAdditionalUUID | Location Additonal UUID (RAW 16) | ||
| Location | _LocationAdditional | Location | Location | |
| GeographicalLocationLatitude | GeographicalLocationLatitude | Geo location latitude | ||
| GeographicalLocationLongitude | GeographicalLocationLongitude | Geo location longitude | ||
| GeographicalLocationAltitude | GeographicalLocationAltitude | Geo location height | ||
| GeoCoordinatesUnit | Geocoordinates Unit | |||
| GeoCoordinatesAltitudeUnit | Geocoordinates Altitude Unit | |||
| TranspOrdHasQtyDiscrepancy | TranspOrdHasQtyDiscrepancy | Occurrence of Quantity Discrepancy | ||
| TranspOrdIsDiscrepant | TranspOrdIsDiscrepant | Discrepancy | ||
| DiscrepancyType | DiscrepancyType | Discrepancy Type | ||
| TranspOrdIsDscrptWthoutBlk | TranspOrdIsDscrptWthoutBlk | Discrepancy Type Leads to Block or Not | ||
| TranspOrdIsDiscrepantWithinTol | TranspOrdIsDiscrepantWithinTol | Quantity Discrepancy Is Within Tolerance | ||
| TranspOrdExecDscrcySubCat | TranspOrdExecDscrcySubCat | Discrepancy Subcategory | ||
| TranspOrdExecGrossWeight | TranspOrdExecGrossWeight | Transportation Order Execution Gross Weight | ||
| TranspOrdExecGrossWeightUnit | TranspOrdExecGrossWeightUnit | Transportation Order Execution Gross Weight Unit | ||
| TranspOrdExecGrossVolume | TranspOrdExecGrossVolume | Transportation Order Execution Gross Volume | ||
| TranspOrdExecGrossVolumeUnit | TranspOrdExecGrossVolumeUnit | Transportation Order Execution Gross Volume Unit | ||
| TranspOrdExecNetWeight | TranspOrdExecNetWeight | Transportation Order Execution Net Weight | ||
| TranspOrdExecNetWeightUnit | TranspOrdExecNetWeightUnit | Transportation Order Execution Net Weight Unit | ||
| TranspOrdExecQuantity | TranspOrdExecQuantity | Transportation Order Execution Quantity | ||
| TranspOrdExecQuantityUnit | TranspOrdExecQuantityUnit | Transportation Order Execution Quantity Unit | ||
| TranspOrdExecNumberOfCtns | TranspOrdExecNumberOfCtns | Transportation Order Execution Number of Containers | ||
| TranspOrdExecNumberOfCtnsUnit | TranspOrdExecNumberOfCtnsUnit | Transportation Order Execution Number of Containers Unit | ||
| _TransportationOrderAnalytics | _TransportationOrderAnalytics | |||
| _TranspOrdStopAnalytics | _TranspOrdStopAnalytics | |||
| _TranspOrdItemAnalytics | _TranspOrdItemAnalytics | |||
| _LocationAnalytics | _LocationAnalytics | |||
| _GeoCoordinatesUnit | _GeoCoordinatesUnit | |||
| _GeoCoordinatesAltitudeUnit | _GeoCoordinatesAltitudeUnit | |||
| _TranspOrdEventCode | _TranspOrdEventCode | |||
| _TranspOrdEventStatus | _TranspOrdEventStatus | |||
| _TransportationActivity | _TransportationActivity | |||
| _TranspOrdEventIsRecalled | _TranspOrdEventIsRecalled | |||
| _TranspOrdHasQtyDiscrepancy | _TranspOrdHasQtyDiscrepancy | |||
| _TranspOrdIsDiscrepant | _TranspOrdIsDiscrepant | |||
| _DiscrepancyType | _DiscrepancyType | |||
| _TranspOrdIsDscrptWthoutBlk | _TranspOrdIsDscrptWthoutBlk | |||
| _TranspOrdExecGrossWeightUnit | _TranspOrdExecGrossWeightUnit | |||
| _TranspOrdExecGrossVolumeUnit | _TranspOrdExecGrossVolumeUnit | |||
| _TranspOrdExecNetWeightUnit | _TranspOrdExecNetWeightUnit | |||
| _TranspOrdExecQuantityUnit | _TranspOrdExecQuantityUnit | |||
| _TranspOrdExecNumberOfCtnsUnit | _TranspOrdExecNumberOfCtnsUnit | |||
| _TranspOrdExecInfoSource | _TranspOrdExecInfoSource | |||
| _TranspOrdReferenceEventCode | _TranspOrdReferenceEventCode | |||
| _TranspExecDscrcySubCat | _TranspExecDscrcySubCat |
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_TranspOrdExecutionAnalytics.
-- 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_TranspOrdExecutionAnalytics AS
SELECT
cast(TransportationOrderEventUUID as /scmtms/vdm_torexe_db_key preserving type ) AS TransportationOrderEventUUID,
cast(TransportationOrderUUID as /scmtms/vdm_tor_db_key preserving type ) AS TransportationOrderUUID,
cast(TransportationOrderStopUUID as /scmtms/vdm_tor_stop_db_key preserving type ) AS TransportationOrderStopUUID,
cast(TransportationOrderItemUUID as /scmtms/vdm_tor_item_db_key preserving type ) AS TransportationOrderItemUUID,
CreatedByUser,
CreationDateTime,
LastChangedByUser,
ChangedDateTime,
TranspOrdExecution,
TranspOrdEventCode,
TranspOrdEventStatus,
TransportationActivity,
TranspOrdEventIsRecalled,
cast( TranspOrdEventReasonCode as /scmtms/vdm_evt_reason_intcode preserving type ) AS TranspOrdEventReasonCode,
cast(TranspOrdEventReasonDesc as /scmtms/vdm_evt_reason_desc preserving type ) AS TranspOrdEventReasonDesc,
TranspOrdExecInfoSource,
cast ( TranspOrdReferenceEventCode as /scmtms/vdm_exec_ref_evtcode preserving type ) AS TranspOrdReferenceEventCode,
cast ( TranspOrdEvtActualDateTime as /scmtms/vdm_event_actl_dtetme preserving type ) AS TranspOrdEvtActualDateTime,
TranspOrdEvtActualDateTimeZone,
TranspOrdEvtExpdEndDateTime,
TranspOrdEvtEstimatedDateTime,
LocationUUID,
LocationAdditionalUUID,
_LocationAdditional.Location AS Location,
GeographicalLocationLatitude,
GeographicalLocationLongitude,
GeographicalLocationAltitude,
cast ( 'DEG' as /scmtms/vdm_geocoord_unit ) AS GeoCoordinatesUnit,
cast ( 'M' as /scmtms/vdm_geoalt_unit ) AS GeoCoordinatesAltitudeUnit,
TranspOrdHasQtyDiscrepancy,
TranspOrdIsDiscrepant,
DiscrepancyType,
TranspOrdIsDscrptWthoutBlk,
TranspOrdIsDiscrepantWithinTol,
TranspOrdExecDscrcySubCat,
TranspOrdExecGrossWeight,
TranspOrdExecGrossWeightUnit,
TranspOrdExecGrossVolume,
TranspOrdExecGrossVolumeUnit,
TranspOrdExecNetWeight,
TranspOrdExecNetWeightUnit,
TranspOrdExecQuantity,
TranspOrdExecQuantityUnit,
TranspOrdExecNumberOfCtns,
TranspOrdExecNumberOfCtnsUnit
FROM I_TranspOrdExecution
LEFT OUTER JOIN I_TransportationOrderAnalytics AS _TransportationOrderAnalytics ON TransportationOrderUUID = _TransportationOrderAnalytics.TransportationOrderUUID -- association [1..1]
LEFT OUTER JOIN I_TranspOrdItemAnalytics AS _TranspOrdItemAnalytics ON TransportationOrderItemUUID = _TranspOrdItemAnalytics.TransportationOrderItemUUID -- association [0..1]
LEFT OUTER JOIN I_TranspOrdStopAnalytics AS _TranspOrdStopAnalytics ON TransportationOrderStopUUID = _TranspOrdStopAnalytics.TransportationOrderStopUUID -- association [0..1]
LEFT OUTER JOIN I_LocationAnalytics AS _LocationAnalytics ON Location = _LocationAnalytics.Location -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _GeoCoordinatesUnit ON GeoCoordinatesUnit = _GeoCoordinatesUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _GeoCoordinatesAltitudeUnit ON GeoCoordinatesAltitudeUnit = _GeoCoordinatesAltitudeUnit.UnitOfMeasure -- association [0..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