I_TransportRouteStage

DDL: I_TRANSPORTROUTESTAGE SQL: ITRANSROUTESTAGE Type: view BASIC

Transportation Route Stage

I_TransportRouteStage is a Basic CDS View that provides data about "Transportation Route Stage" in SAP S/4HANA. It reads from 1 data source (tvrab) and exposes 7 fields with key fields TSWTransportRoute, TSWTransportRouteStage. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
tvrab tvrab from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_TransportRoute _TransportRoute _TransportRoute.TSWTransportRoute = $projection.TSWTransportRoute

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ITRANSROUTESTAGE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Transportation Route Stage view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY TSWTransportRoute route Vehicle route
KEY TSWTransportRouteStage abnum Stage number
TSWTransportRouteStageCategory abcat Route stage category
OriginLocationID knanf Departure point
DestinationLocationID knend Dest.point
ShippingType vsart Shp.type: stage
NumberOfShippingTypes _TransportRoute NumberOfShippingTypes

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_TransportRouteStage.
-- 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: ITRANSROUTESTAGE

CREATE VIEW I_TransportRouteStage AS
SELECT
  route AS TSWTransportRoute,
  abnum AS TSWTransportRouteStage,
  abcat AS TSWTransportRouteStageCategory,
  knanf AS OriginLocationID,
  knend AS DestinationLocationID,
  vsart AS ShippingType,
  _TransportRoute.NumberOfShippingTypes AS NumberOfShippingTypes
FROM tvrab
LEFT OUTER JOIN I_TransportRoute AS _TransportRoute ON _TransportRoute.TSWTransportRoute = TSWTransportRoute  -- association [1..1]
;