I_TransportationZone

DDL: I_TRANSPORTATIONZONE Type: view_entity BASIC

Transportation Zone

I_TransportationZone (Basic)

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

TransportationZone · Cross Applications

I_TransportationZone is a Basic CDS View (Dimension) that provides data about "Transportation Zone" in SAP S/4HANA. It reads from 1 data source (tzone) and exposes 4 fields with key fields TransportZone, CountryCode. It has 2 associations to related views.

SAP Help Documentation

CategoryCDS Views for Business Address Service
Purpose
This CDS view returns transportation zone details to or from which the goods are delivered. This CDS view provides the data to answer the following business questions: What is the transportation zone and country code? 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 TransportZone Transportation zone to or from which the goods are delivered CountryCode Country/Region Key

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentBC-SRV-ADR
CapabilitiesAssociation Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source in SQL Select
PackageCross Applications for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
tzone tzone from

Associations (2)

CardinalityTargetAliasCondition
[1..*] I_TransportationZoneText _Text $projection.TransportZone = _Text.TransportZone and $projection.CountryCode = _Text.CountryCode
[0..1] I_Country _Country $projection.CountryCode = _Country.Country

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
ObjectModel.representativeKey TransportZone view
Analytics.technicalName ITRANSPORTZONE view
ObjectModel.sapObjectNodeType.name TransportationZone view
Search.searchable true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
EndUserText.label Transportation Zone view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY TransportZone tzone zone1 Transportation zone to or from which the goods are delivered
KEY CountryCode tzone land1 Country/Region Key
_Country _Country
_Text _Text

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_TransportationZone.
-- 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_TransportationZone AS
SELECT
  tzone.zone1 AS TransportZone,
  tzone.land1 AS CountryCode
FROM tzone
LEFT OUTER JOIN I_TransportationZoneText AS _Text ON TransportZone = _Text.TransportZone AND CountryCode = _Text.CountryCode  -- association [1..*]
LEFT OUTER JOIN I_Country AS _Country ON CountryCode = _Country.Country  -- association [0..1]
;