I_TranspUNLocationCode_2

DDL: I_TRANSPUNLOCATIONCODE_2 Type: view_entity BASIC

Transportation UN Location Codes

I_TranspUNLocationCode_2 (Basic)

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

TranspLocationUNCode · Supply Chain

I_TranspUNLocationCode_2 is a Basic CDS View (Dimension) that provides data about "Transportation UN Location Codes" in SAP S/4HANA. It reads from 1 data source (/scmtms/c_unloc) and exposes 2 fields with key field LocationUNCode. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Customizing
Data CategoryDimension
Purpose
This CDS view helps retrieve records of the UN location codes. This CDS view provides the data to answer the following business questions: Which UN location codes are available in my system? 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 LocationUNCode Transportation UN Location Codes

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

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSupply Chain
Application ComponentTM-CF
CapabilitiesAnalytical Dimension, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source for Data Extraction, Data Source for Search, Data Source in SQL Select, Data Provider for Value Help
PackageSupply Chain for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
/scmtms/c_unloc /scmtms/c_unloc from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_TranspUNLocationCodeText_2 _Text

Annotations (20)

NameValueLevelField
EndUserText.label Transportation UN Location Codes view
AbapCatalog.entityBuffer.definitionAllowed true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
Consumption.ranked true view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey LocationUNCode view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.resultSet.sizeCategory #XS view
ObjectModel.sapObjectNodeType.name TranspLocationUNCode view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY LocationUNCode unlocode United Nations Code for Trade and Transport Locations
_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_TranspUNLocationCode_2.
-- 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_TranspUNLocationCode_2 AS
SELECT
  unlocode AS LocationUNCode
FROM /scmtms/c_unloc
LEFT OUTER JOIN I_TranspUNLocationCodeText_2 AS _Text ON /* condition not available in parsed metadata */  -- association [0..*]
;