I_TranspOrdEventCode

DDL: I_TRANSPORDEVENTCODE Type: view_entity BASIC Package: VDM_TM_BASIC

Transp Order Event Code

I_TranspOrdEventCode (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Supply Chain

I_TranspOrdEventCode is a Basic CDS View (Dimension) that provides data about "Transp Order Event Code" in SAP S/4HANA. It reads from 1 data source (/scmtms/c_ev_ty) and exposes 6 fields with key field TranspOrdEventCode. It has 3 associations to related views. Part of development package VDM_TM_BASIC.

SAP Help Documentation

CategoryCDS Views for Customizing
Data CategoryDimension
Purpose
This CDS view helps retrieve records related to the customizing table /SCMTMS/C_EV_TY and the customizing records of the event of transportation business document. This CDS view provides the data to answer the following business questions: What customizing values are configured in the system? What are the language-dependent descriptions of those customizing values? 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 Users who want to use this CDS view don't need any special authorization.

Structure
Important Fields Important fields in this view include the following: Field Name Description TranspOrdEventCode Event Occurring for a Transportation Activity TransportationActivity Transportation Activity TranspOrdStopCategory Stop Category

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode.

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessSupply Chain
Application ComponentTM-2CL
CapabilitiesData Source for Data Extraction,Data Source for Defining CDS Entities,Analytical Dimension,Association Target for Defining CDS Entities,Data Source in SQL Select,Data Provider for Value Help,Data Source for Search
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageSupply Chain for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>Which shift definitions are maintained for a shift grouping?</p></li> <li><p>What are the start and end dates of the shifts?</p></li> <li><p>What is the work break schedule of a shift definition?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
/scmtms/c_ev_ty /scmtms/c_ev_ty from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_TranspOrdEventCodeText _Text $projection.TranspOrdEventCode = _Text.TranspOrdEventCode
[0..1] I_TransportationActivity _TransportationActivity $projection.TransportationActivity = _TransportationActivity.TransportationActivity
[0..1] I_TranspOrdStopCategory _TranspOrdStopCategory $projection.TranspOrdStopCategory = _TranspOrdStopCategory.TranspOrdStopCategory

Annotations (15)

NameValueLevelField
AbapCatalog.entityBuffer.definitionAllowed true view
EndUserText.label Transp Order Event Code view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
Analytics.technicalName IEVENTCODE view
ObjectModel.representativeKey TranspOrdEventCode view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY TranspOrdEventCode tor_event Event Occurring for a Transportation Activity
TransportationActivity transp_activity Transportation Activity
TranspOrdStopCategory stop_cat Stop Category
_Text _Text
_TransportationActivity _TransportationActivity
_TranspOrdStopCategory _TranspOrdStopCategory

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_TranspOrdEventCode.
-- 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_TranspOrdEventCode AS
SELECT
  tor_event AS TranspOrdEventCode,
  transp_activity AS TransportationActivity,
  stop_cat AS TranspOrdStopCategory
FROM /scmtms/c_ev_ty
LEFT OUTER JOIN I_TranspOrdEventCodeText AS _Text ON TranspOrdEventCode = _Text.TranspOrdEventCode  -- association [0..*]
LEFT OUTER JOIN I_TransportationActivity AS _TransportationActivity ON TransportationActivity = _TransportationActivity.TransportationActivity  -- association [0..1]
LEFT OUTER JOIN I_TranspOrdStopCategory AS _TranspOrdStopCategory ON TranspOrdStopCategory = _TranspOrdStopCategory.TranspOrdStopCategory  -- association [0..1]
;