I_TranspUNLocationCodeText_2

DDL: I_TRANSPUNLOCATIONCODETEXT_2 Type: view_entity BASIC

Transportation UN Location Code - Text

I_TranspUNLocationCodeText_2 (Basic)

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

TranspLocationUNCodeText · Supply Chain

I_TranspUNLocationCodeText_2 is a Basic CDS View that provides data about "Transportation UN Location Code - Text" in SAP S/4HANA. It reads from 1 data source (/scmtms/c_unloct) and exposes 5 fields with key fields LocationUNCode, Language. It has 1 association to related views.

SAP API Hub

StateC1
Line of BusinessSupply Chain
Application ComponentTM-CF
CapabilitiesData Source for Defining CDS Entities, Association Target for Defining CDS Entities, Language-Dependent Text, Data Source for Data Extraction, Data Source for Search, Data Source in SQL Select
PackageSupply Chain for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
/scmtms/c_unloct /scmtms/c_unloct from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (16)

NameValueLevelField
EndUserText.label Transportation UN Location Code - Text view
AbapCatalog.entityBuffer.definitionAllowed true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataExtraction.enabled true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT 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 TranspLocationUNCodeText view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY LocationUNCode unlocode United Nations Code for Trade and Transport Locations
KEY Language spras Off. Language
LocationUNCodeDesc UN Location Code description
_TranspUNLocationCode _TranspUNLocationCode
_Language _Language

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_TranspUNLocationCodeText_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_TranspUNLocationCodeText_2 AS
SELECT
  unlocode AS LocationUNCode,
  spras AS Language,
  cast(text as /scmtms/vdm_unlocode_desc preserving type ) AS LocationUNCodeDesc
FROM /scmtms/c_unloct
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;