Deprecated NONE
This CDS view is deprecated in S/4HANA. Use I_TranspUNLocationCodeText_2 instead. View all deprecated CDS views →

I_TranspUNLocationCodeText

DDL: I_TRANSPUNLOCATIONCODETEXT SQL: ITUNLOCCTEXT Type: view BASIC

Obsolete Transp UN Loc Codes - Text

I_TranspUNLocationCodeText is a Basic CDS View that provides data about "Obsolete Transp UN Loc Codes - 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 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
/scmtms/c_unloct /scmtms/c_unloct from

Associations (2)

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

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ITUNLOCCTEXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey LocationUNCode view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #NONE view
EndUserText.label Obsolete Transp UN Loc Codes - Text view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_TranspUNLocationCodeText_2 view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY LocationUNCode unlocode UN/LOCODE
KEY Language spras Off. Language
LocationUNCodeDesc text User Group
_TranspUNLOCode _TranspUNLOCode
_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.
-- 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: ITUNLOCCTEXT

CREATE VIEW I_TranspUNLocationCodeText AS
SELECT
  unlocode AS LocationUNCode,
  spras AS Language,
  text AS LocationUNCodeDesc
FROM /scmtms/c_unloct
LEFT OUTER JOIN I_TranspUNLocationCode AS _TranspUNLOCode ON LocationUNCode = _TranspUNLOCode.LocationUNCode  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;